@andresrcs thanks for your reply.
i had checked my shiny-server logs, there was nothing.
could you tell me how can i check permissions for any particular folder?
You have proper permissions, It seems like the symlink is not working, but if you place an app within a folder in /srv/shiny-server/ it should be no problem, have you tried doing so?.
I place my own app.R within a folder in /srv/shiny-server/account , and I try to get http://server-ip:3838/account but it also get not found error like http://server-ip:3838/sample-apps/hello
If you have defaul settings in your shiny-server.conf file and you are logged as root (or you can change root for your user) you can reset ownership and permissions for shiny-server with this.
When I input the last 3 lines, I get the error chown: missing operand after ‘root:shiny-apps’, chmod: missing operand after ‘g+w’ and chmod: missing operand after ‘g+s’
I'm very appreciate your reply. and here is my shiny-server.conf
run_as shiny;
# Define a server that listens on port 3838
server {
listen 3838;
# Define a location at the base URL
location / {
# Host the directory of Shiny Apps stored in this directory
site_dir /srv/shiny-server;
# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;
# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index on;
}
}
yes, I'm in the /srv/shiny-server and I input the last 3 commends including dots again, it works. but I also get not found error on http://server-ip:3838/account
I put my own app.R on /srv/shiny-server/app.R, and then I will command sudo /opt/shiny-server/bin/deploy-example default. to deploy my own shiny app.
Next, I visit my shiny app http://server-ip:3838/. It is working.
However, I do the same step to particular folder/srv/shiny-server/new_folder, and I'm getting 'Not Found'.
Is there any relations to the command(sudo /opt/shiny-server/bin/deploy-example default)?
This whole thread is getting rather difficult to follow, and I suspect it would be better split into two threads (this forum software can maintain links between topics, so they wouldn't entirely lose context). It sounds like @Sanjmeh's problems are somewhat different from what @zxc40402 is having trouble with, despite some similar symptoms. @Sanjmeh, if you can please propose a more specific title for a topic dedicated to your problem, I will split the thread.