This is new as of two days ago. My server at https://shiny.psyctc.org/index.html stopped executing apps or serving an html file (https://shiny.psyctc.org/boilerplate.html) from the root directory. The server works fine on my laptop which is where I create it in Rstudio. I then push it to github, then pull it to the server. The laptop runs Kubuntu 26.04 and R 4.6.2 but the server runs Debian 12 (bookworm) and R 4.2.2 but I don't think there were major changes on the server to Debian, R or R packages that explain this. I think that my doing something stupid within the git workstream that transfers things from the laptop to the server via github may have reset permissions as that seems the most likely fit to the problem. However, I am damned if I can see what is wrong so perhaps it's not that. I can supply more details including shiny-server.conf etc. but I thought I would start with just this.
TIA,
Chris
since index.html still works, id test your permissions hunch as the shiny user - if sudo -u shiny cat boilerplate.html fails there, its that rather than R
Many thanks Rachel. That was my hope too, that it would be an permissions problem and that the index vs. boilerplate difference would help me see what was wrong but sadly not as the permissions were exactly the same and both were owned by shiny, as is the root directory. I think the reason that it doesn't help us is that shiny allows through the index html according to the "directory_index on;" direction in /etc/shiny/shiny-server.conf so I think this confirms that my problem is with my shiny server (it may still be down to the owner setting (the conf file has "run_as shiny;" so I don't think having all the files and directories below the root owned by shiny is wrong) or to permissions. I would love to hear any other suggestions as I am currently completely beaten! TIA!