Giter VIP home page Giter VIP logo

Comments (3)

minorsecond avatar minorsecond commented on June 3, 2024 1

Thanks for the help! What you've created here is greatly appreciated.

So, the only error message I get (running in interactive mode in the docker container) is -su: line 0: cd: /srv/shiny-server/bios_5300_shiny: Permission denied in the app log, and Error getting worker: Error: The application exited during initialization in the shiny-server log.

I then ran chmod -R 775, and it worked. So it was a permissions issue, I just overlooked it.

Thanks again!

from shinystudio.

minorsecond avatar minorsecond commented on June 3, 2024

Looks like it's a permissions issue, as I'm getting permission denied in the app log file. What permissions should the app have?

from shinystudio.

fresh2dev avatar fresh2dev commented on June 3, 2024

You are correct that Shiny should see libraries installed through RStudio. Inspect the permissions on the ShinyStudio site directory, ls -la /srv/shiny-server/8080 by default. All the files should be owned by the user who invokes the Docker images, $USER. Also, anything you do in an interactive shell is done as root, and any persistent files (e.g. R libraries) will be owned by root that may or may not be accessible by standard users. So, Shiny is getting denied access to the site content or the R libraries, the only persistent components. The R libs are stored in a Docker volume, r_libraries. If you continue to have issues, can you post your Shiny log file?

from shinystudio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.