Comments (7)
I corrected a bug in the first-time setup that affected superadmins that was present in the base image sooner after the release of the latest version (v2). You may have pulled it just before the fix was implemented.
Please run ./control.sh update
to pull the latest image from DockerHub.
I will update the documentation based on this issue, but so you have a better understanding of the site structure...
The .yml
files should be named according to {PORT}_{SITEID}.yml
.
- The "Apps & Reports" pane reads content from
.../sites/{SITEID}/_apps
. - The "Documents" pane reads from
.../sites/{SITEID}/_apps
. - The "Personal" pane reads from
.../users/{USERNAME}
.
So, using the default config file 8080_Site1.yml
, apps/docs are read from:
.../sites/Site1/_apps
.../sites/Site1/_docs
You can use VS Code / RStudio to move the sample content around to the proper locations.
I'll leave this issue open, awaiting your reply, just in case you have issues pulling the latest image or have a follow-up question.
Thanks,
Donald
from shinystudio.
Argh, just identified another issue when running as superadmin
. Stay tuned for a new image. Until then, running as admin
should work fine.
from shinystudio.
Thanks. Logged into admin, and still see no default docs or apps.
I believe that when I created the file 80_8080_Site1.yml and ran setup, it's somehow not picking out Site1.
When I access myip:8080 I can see Site 1 content but when I access myip alone, I can't see Site1 content from Apps or Docs. I can see it from the VS Code explorer though.
Really appreciate you helping out. If you need me to update any documentation in support, I'd be glad to help. I'm deploying this on a GCP server.
from shinystudio.
I appreciate the feedback. You identified another bug, which is that the SITEID in PORT_SITEID.yml
cannot contain underscores. I corrected and a few other issues related to the first-time launch. I will push later this evening after further evaluation.
For the time being, if you'd like, start from scratch, with the default config, and log in as admin
. Open either IDE first, before accessing apps or docs.
I'll follow up when I push the updates.
from shinystudio.
Okay, I pushed updates to both the base image (on DockerHub) and the master branch (for enhanced setup). Now, any time "Apps & Reports" or "Documents" is empty, the example content will first be copied to it. However, that is only done when either IDE is opened. For example, if you login for the first time and click "Documents", nothing will show. If you then open either IDE, then refresh "Documents", you will see the example content. You can also have underscores in the SITEID if desired.
Please setup from scratch and let me know how it goes.
Thanks,
Donald
from shinystudio.
Awesome. Just did it. It's working great. I can access apps, documents and the port 80 redirect is working just fine.
I guess in a few days I might trouble you for how to setup a Letsencrpt cert. I had done it previously for a regular Shinyproxy install. I imagine it's much the same? But I'm good for now.
Thanks a whole bunch. Really appreciate the time you've put into this.
Cheers :)
from shinystudio.
Glad to hear it!
I've made some good progress in integrating NGINX into the ShinyStudio stack for a SSL-secured site, but not specifically for LetsEncrypt.
The repo below (and its references) provides a good example of using ShinyProxy and NGINX with LetsEncrypt and auto-renewing certs.
https://github.com/TelethonKids/deploy_shiny_app
Hope it helps.
from shinystudio.
Related Issues (20)
- License for commercial use HOT 4
- State of play for Windows 10 HOT 7
- Template customizations HOT 2
- Default 8080 is not accessible HOT 7
- Occupies entire 75gb drive on ubuntu HOT 3
- certify.sh: Links for downloading options-ssl-nginx.conf and ssl-dhparams.pem don't work
- Permission error HOT 1
- Stack minimal setup not working as expected HOT 1
- Feature Request: Add the Possibility to Include in the Landing Page Custom Web App Containers (Streamlit, flexdashboard, ...)
- certify.sh Bug Windows Subsystem Linux (WSL 2) Ubuntu 18.04: shinystudio_nginx_1 does not start HOT 1
- application.yml Update Error: Error Status code: 500 Message: Failed to start container HOT 1
- Is possible update all to latest version?
- docker run error
- docker compose up error
- ./certify.sh error
- Shiny not able to load libraries HOT 3
- Failed to start container HOT 6
- Error accessing RStudio and VS Code HOT 3
- RStudio crashes when an external FS is mounted to the user content directory HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shinystudio.