This started a couple of days ago. Running my shiny project locally from within Rtudio, i.e. by opening the index.html with preview, gets me "Input/output error" when I click on a link to an app but if I run any of the apps directly they run. The same index.html and shiny apps run fine on my server (https://shiny.psyctc.org) runs fine.
The server and the local machine are both running R 4.5.0 (2025-04-11) and shiny version is 1.10.0 on both. I use git to package the server project and that gets transferred to the server from the local machine and commit is showing no local changes and the last change is showing as on 5.v.25. The project can be seen at GitHub - cpsyctc/shiny-server: My git/github repository for my shiny server. The server is running
Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux
but the local machine runs
Linux tuxedo-os 6.11.0-114025-tuxedo #25~24.04.1tux1 SMP PREEMPT_DYNAMIC
Rstudio locally is:
RStudio 2025.05.0+496 "Mariposa Orchid" Release (f0b76cc00df96fe7f0ee687d4bed0423bc3de1f8, 2025-05-04) for Ubuntu Jammy
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) rstudio/2025.05.0+496 Chrome/132.0.6834.210 Electron/34.5.1 Safari/537.36, Quarto 1.6.42
This seems to be about permissions on /var/run/1000/doc/. When I ran shiny apps on the local machine the server opened at http://127.0.0.1:5071 and when I have the index.html page opened via Rstudio that is at file:///run/user/1000/doc/9065bcbf/index.html and if I click on the link to the app it goes to file:///run/user/1000/doc/9065bcbf/apps/COREpapers1 and says "Your file couldn’t be accessed"
And I get this at the console:
chris@tuxedo-os:~$ ls -lsart /run/user/1000/doc/9065bcbf/apps/
ls: cannot access '/run/user/1000/doc/9065bcbf/apps/': No such file or directory
I get the same problem if I run the same shiny project in Rstudio under Windows 11 in a VM on the same machine where Rstudio is:
RStudio 2025.05.0+496 "Mariposa Orchid" Release (f0b76cc00df96fe7f0ee687d4bed0423bc3de1f8, 2025-05-04) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2025.05.0+496 Chrome/132.0.6834.210 Electron/34.5.1 Safari/537.36, Quarto 1.6.42
That, and the fact that the same shiny project runs fine from the server, suggests to me that this is an issue with Rstudio but I have no idea how to go further with debugging it and currently have only the one laptop with me so I can't try things on Rstudio in another machine. Suggestions please!