✅ Checklist
💻 System information
- Operating System: Ubuntu 24.04.4 LTS
- Data Safe Haven version: 5.7.1
- Browser details: Firefox 152.0.4 (64-bit)
🚫 Describe the problem
After deploying a new VM with a new configuration, switching from the old VM in Guacamole to the new VM resulted in a desktop with broken browser.
Steps to reproduce:
- Deploy an SRE with a single
Standard_D8ds_v5 VM.
- Log in to the desktop of the
Standard_D8ds_v5 VM using Guacamole.
- Use the browser for a bit (e.g. to access Gitea).
- Log out of the desktop.
- Redeploy the SRE with an additional
Standard_F32s_v2 VM.
- Log in to the desktop of the
Standard_F32s_v2 VM using Guacamole.
- Attempt to open and use the browser (e.g. to access Gitea).
Expected outcome:
The browser works well and without any issues.
Actual outcome:
The browser takes an extended period of time to load. Browser usage is unstable with rendering failures and crashes that take out the entire browser.
The browser also fails to quit properly, which can prevent the browser being restarted.
Restarting from the command line shows permission and directory access errors, as shown in the screenshot.
🚂 Workarounds or solutions
The issue seems to be due to the snap package storing profile information that's specific to the platform in use. Wiping the snap configuration and restarting Firefox seems to address the issue:
$ killall firefox
$ mv ~/snap/firefox ~/snap_firefox_backup_01
✅ Checklist
💻 System information
🚫 Describe the problem
After deploying a new VM with a new configuration, switching from the old VM in Guacamole to the new VM resulted in a desktop with broken browser.
Steps to reproduce:
Standard_D8ds_v5VM.Standard_D8ds_v5VM using Guacamole.Standard_F32s_v2VM.Standard_F32s_v2VM using Guacamole.Expected outcome:
The browser works well and without any issues.
Actual outcome:
The browser takes an extended period of time to load. Browser usage is unstable with rendering failures and crashes that take out the entire browser.
The browser also fails to quit properly, which can prevent the browser being restarted.
Restarting from the command line shows permission and directory access errors, as shown in the screenshot.
🚂 Workarounds or solutions
The issue seems to be due to the snap package storing profile information that's specific to the platform in use. Wiping the snap configuration and restarting Firefox seems to address the issue: