nmfs-opensci / nmfs-connect Goto Github PK
View Code? Open in Web Editor NEWResources and issue tracker for the NMFS posit connect instance.
Resources and issue tracker for the NMFS posit connect instance.
At our meeting today, we discussed the issue with leaving the "auto-add" for new users turned on. I'm wondering if we can change the default settings for new apps so that we can disable the "All users - login required" option: https://community.rstudio.com/t/disable-functionality-of-choosing-anyone-no-login-required-in-rstudio-connect/68361/2
Lewis Barnett ([email protected])
Gear decision support tool
click around to test functionality/speed
Very slow to visualize polygons when lots of people on it....hard to tell whether there are fewer polygons than expected or if they aren't being displayed yet due to lag
Sarah S. squid dashboard
flexdashboard
one click from rstudio IDE
rgdal gives errors when deploying, as does ecodata (https://github.com/NOAA-EDAB/ecodata)
Tracking in https://apps-st.fisheries.noaa.gov/jira/projects/OPS/issues/OPS-5579
Any app containing compiled C++ or dependencies of C++
n/a
Shiny Apps, but other products could be affected.
One click or Git-backed
Cannot deploy app, or can deploy, but app doesn't fully work.
App deploys and runs as expected
Reported by Sarah S.
flexdashboard (squid), has not been deployed successfully.
flexdashboard
One click with source code.
abbreviated Error msg
Error: package or namespace load failed for 'ggplot2' in dyn.load(file, DLLpath = DLLpath, …):
unable to load shared object '/var/opt/rstudio-connect/mnt/packrat/4.2.2/v2/library/cli/***.so':
2023/06/08 16:46:11.517060599 /lib64/libc.so.6: version `GLIBC_2.32' not found
This also is an issue with a really basic flexdashboard without reactivity.
Possible to deploy
Originally reported by @shcaba
Shiny App
One Click from R studio
Although app has been deployed previously, it did not work this time.
NMFS Color Palettes Explorer
Via github action workflow - github hosted runner
When deploying via a GitHub action workflow(GitHub hosted runner), the process will fail. Unable to reach server. Error below:
Error: Exception trying to connect to https://test-connect.fisheries.noaa.gov/ - [Errno 110] Connection timed out
Error: Process completed with exit code 1.
and via another method this error:
Error: Error: connect ETIMEDOUT 137.75.93.30:443
I would hope to see it successfully deploy via a GitHub runner to streamline publishing, devops and eliminate the need for a self hosted runner.
To help with troubleshooting, I've been successful at deploying the app with the same github action and code via a self hosted runner.
So I imagine there could be some posit server config that doesn't allow specific domain traffic? But any and all help is greatly appreciated.
Edit 20240703:
Some additional information: I also tried using the rsudio connect-publish action but got the same error. Even after generating a manifest.json file.
streamlit
prod
Streamlit app deploys to prod server, but once loaded the app is stuck on "Please Wait". No issues with test server deployment.
Error:
Log:
023/10/18 21:24:43.609227671 2023-10-18 21:24:43.609 Starting server...
2023/10/18 21:24:43.609463813 2023-10-18 21:24:43.609 Serving static content from /var/opt/rstudio-connect/mnt/app/python/env/lib/python3.8/site-packages/streamlit/static
2023/10/18 21:24:43.612535336 2023-10-18 21:24:43.612 Server started on port 43005
2023/10/18 21:24:43.612658503 2023-10-18 21:24:43.612 Runtime state: RuntimeState.INITIAL -> RuntimeState.NO_SESSIONS_CONNECTED
2023/10/18 21:24:43.766705704
2023/10/18 21:24:43.766724671 You can now view your Streamlit app in your browser.
2023/10/18 21:24:43.766769429
2023/10/18 21:24:43.766780573 Network URL: http://redacted
2023/10/18 21:24:43.766807004 External URL: http://redacted
2023/10/18 21:24:43.766809349
2023/10/18 21:24:43.766999372 2023-10-18 21:24:43.766 Skipping PyPI version check
2023/10/18 21:24:43.767169666 2023-10-18 21:24:43.767 Setting up signal handler
2023/10/18 21:24:50.174047056 [rsc-session] Received signal: interrupt
2023/10/18 21:24:50.174146937 [rsc-session] Terminating subprocess with interrupt ...
2023/10/18 21:24:50.174418642 Stopping...
2023/10/18 21:24:50.174676771 2023-10-18 21:24:50.174 Runtime stopping...
2023/10/18 21:24:50.174753049 2023-10-18 21:24:50.174 Runtime state: RuntimeState.NO_SESSIONS_CONNECTED -> RuntimeState.STOPPING
2023/10/18 21:24:50.175294799 2023-10-18 21:24:50.175 Runtime state: RuntimeState.STOPPING -> RuntimeState.STOPPED
2023/10/18 21:24:50.309901681 [rsc-session] Terminated subprocess with signal: interrupt
app that operatives normally
Any python apps
In the future, they will be, for now, cannot deploy
Python needs to be activated. https://docs.posit.co/connect/admin/python/
Tracking progress on this issue in https://apps-st.fisheries.noaa.gov/jira/browse/OPS-5544
To provide more ways to organize content, we can use the connectwidgets package.
A user noted that an error message pops up when trying to change permissions on a product. Currently contacted posit support for help.
For when Kathryn is out. Currently contact listed is Kathryn.
Is your feature request related to a problem? Please describe.
Need to host this app on the web
Describe the solution you'd like
A git-backed RStudio Connect repo
Describe alternatives you've considered
Right now the app is available with local package install
Additional context
Add any other context or screenshots about the feature request here.
Approved by ST6
n/a
One of the streamlit examples
streamlit (a Python library)
command line
Alicia B experienced a certificate error. we are not sure if this is specifically related to streamlit or not at this point.
successful deployment
Josh London [email protected]
decision support tool
change the initial setting for the 'display closed area'
as soon as I changed to menu, the screen went to grey
Is there a way to give partners access to products hosted on Connect without making the product generally public?
Users could benefit from guidance on how (if at all) confidential data should be used on Posit connect.
STSSN Summary Data (by Robert H)
shiny app
not sure
error on terra pkg (opened jira issue https://apps-st.fisheries.noaa.gov/jira/browse/OPS-5744)
successful deployment
Lewis Barnett ([email protected])
RSC load test app
load the app
Not able to load
Josh London [email protected]
RSC Load Test
Running the load test
sat with a blank screen for a minute or two and then went to Something Fishy is Going On screen
blastula, link for deploying from private gh repo
illex_weekly_viewer
dashboard
dev instance
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.3.2/units/libs/units.so':
libudunits2.so.0: cannot open shared object file: No such file or directory
Calls: loadNamespace -> library.dynam -> dyn.load
Execution halted
Unable to fully restore the R packages associated with this deployment.
Please review the preceding messages to determine which package
encountered installation difficulty and the cause of the failure.
An error occurred while building your content.
This link offers advice for this kind of error:
https://docs.posit.co/connect/user/troubleshooting/#r-missing-system-library
Build error: An error occurred while building your content. (Error code: r-missing-system-library)
── Deployment complete ─────────────────────────────────────────────────────────
GET /api/applications/271/config 30ms
[2024-06-03 18:45:18.635283] Deployment log finished
✖ Deployment failed with error: An error occurred while building your content. (Error code: r-missing-system-library)
Natural mortality tool
https://github.com/shcaba/Natural-Mortality-Tool
Shiny app
One click
Jason Cope experienced an error message when trying to redeploy (could deploy in the past, likely before an update)
Seamless deployment
We need info for users specific for the NMFS connect instance. Should include info such as:
requestor
Jason Cope [email protected]
number of apps affected
One unpublished app
are apps in use?
unknown
yum install script
yum install -y libcurl-devel
yum install -y openssl-devel
yum install -y ImageMagick
yum install -y ImageMagick-c++-devel
The command failed with output:
ERROR: this R is version 4.3.2, package 'MASS' requires R >= 4.4.0
It was my understanding that we all needed to upgrade R to the latest version due to a vulnerability in previous versions. I've done so but now the app won't deploy on the dev instance.
CruzPlot
https://github.com/SWFSC/cruzplot
Shiny app
One click from the RStudio IDE
the following error message in RStudio:
Installing igraph (2.0.3) ...
curl: HTTP 200 https://rspm-sync.rstudio.com/bin/4.4-jammy/6b0677f8578093008c334e742a2a000eb4e643caebb441a3f5363bd365cfdbb6.tar.gz
FAILED
Error: error testing if 'igraph' can be loaded [error code 1]
/opt/R/4.4.0/lib/R/bin/R --vanilla -s -f '/opt/rstudio-connect/mnt/tmp/RtmpPzeFjD/renv-install-7c87b4e7480ae.R'
================================================================================
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.4.0/igraph/libs/igraph.so':
libglpk.so.40: cannot open shared object file: No such file or directory
Calls: loadNamespace -> library.dynam -> dyn.load
Execution halted
Unable to fully restore the R packages associated with this deployment.
Please review the preceding messages to determine which package
encountered installation difficulty and the cause of the failure.
An error occurred while building your content.
This link offers advice for this kind of error:
https://docs.posit.co/connect/user/troubleshooting/#r-missing-system-library
Build error: An error occurred while building your content. (Error code: r-missing-system-library)
── Deployment complete ─────────────────────────────────────────────────────────
✖ Deployment failed with error: An error occurred while building your content. (Error code: r-missing-system-library)
Successful deployment
Edit SOP so that it is as accurate as possible and make sure admins are able to access it.
What is and is not possible on Posit connect?
Posit pro drivers can help with pulling from databases, but it is not clear what is possible or allowed with nmfs databases.
This will provide a place to learn from each other
Some Python apps, as some python packages are no longer supporting our current version of python, 3.8.xx
Python 3.11.5
It would be helpful to provide a public page with some examples of products hosted on Connect.
Currently, options are to use the push button, but we haven't figured out what else is possible - it would be nice to have a workflow that allows updates from github to be automatically updated on connect.
Tracked in https://apps-st.fisheries.noaa.gov/jira/browse/OPS-5545
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.