|
| 1 | +# Troubleshooting |
| 2 | + |
| 3 | +## Job Won't Start |
| 4 | + |
| 5 | +- Check queue status: `squeue -u $USER` |
| 6 | +- Check available resources: `sinfo` |
| 7 | +- Verify your account has hours: `curc-quota` |
| 8 | + |
| 9 | +## Can't Connect via SSH |
| 10 | + |
| 11 | +- Ensure SSH config was added to your **local** `~/.ssh/config` (not on the cluster) |
| 12 | +- Verify the job is running: `squeue -u $USER` |
| 13 | +- Check the log file for the correct hostname and job ID |
| 14 | +- Verify your local SSH public key is on the cluster (re-run setup) |
| 15 | + |
| 16 | +## Connection Drops |
| 17 | + |
| 18 | +SSH connections may timeout if idle. The job itself continues running — just reconnect using the same SSH host entry. |
| 19 | + |
| 20 | +The SSH config generated by the script includes `ServerAliveInterval` and `ServerAliveCountMax` to reduce idle timeouts. |
| 21 | + |
| 22 | +## Connection Fails After Updating Positron |
| 23 | + |
| 24 | +The Positron client and server must be **exactly the same version**. If you update Positron on your local machine, the remote `~/.positron-server` may have an old version. |
| 25 | + |
| 26 | +Delete the remote server and reconnect: |
| 27 | + |
| 28 | +=== "Alpine" |
| 29 | + |
| 30 | + ```bash |
| 31 | + rm -rf /scratch/alpine/${USER}/.positron-server |
| 32 | + ``` |
| 33 | + |
| 34 | +=== "amc-bodhi" |
| 35 | + |
| 36 | + ```bash |
| 37 | + rm -rf ~/.positron-server |
| 38 | + ``` |
| 39 | + |
| 40 | +Positron will automatically reinstall the correct server version on reconnect. |
| 41 | + |
| 42 | +## Extensions Missing in Remote Session |
| 43 | + |
| 44 | +Extensions installed on your local machine are not automatically available on the remote host. After connecting, install any needed extensions from the Extensions panel — they will be installed on the remote server. |
| 45 | + |
| 46 | +## R Interpreter Not Discovered |
| 47 | + |
| 48 | +R interpreter discovery can be unreliable on remote systems. If you don't see R under "Start Session" (even though Python interpreters appear): |
| 49 | + |
| 50 | +!!! info |
| 51 | + If you find you are able to use R versions available in the modules system, please let me know. |
| 52 | + |
| 53 | +1. **Install R through mamba/conda** on the remote system: |
| 54 | + |
| 55 | + ```bash |
| 56 | + mamba install -c conda-forge r-base |
| 57 | + ``` |
| 58 | + |
| 59 | +2. **Enable conda discovery** in Positron settings (on your local machine): |
| 60 | + |
| 61 | + Search for "Positron R Interpreters Conda Discovery" and enable it, or add to `settings.json`: |
| 62 | + |
| 63 | + ```json |
| 64 | + { |
| 65 | + "positron.r.interpreters.condaDiscovery": true |
| 66 | + } |
| 67 | + ``` |
| 68 | + |
| 69 | +3. **Manually trigger interpreter discovery**: |
| 70 | + |
| 71 | + Press ++cmd+shift+p++ (Mac) or ++ctrl+shift+p++ (Windows/Linux) and select **Interpreter: Discover all interpreters**. |
| 72 | + |
| 73 | +!!! note |
| 74 | + There are multiple discussions in the [Positron repository](https://github.com/posit-dev/positron/discussions) about interpreter discovery issues. Solutions may vary by system configuration. |
0 commit comments