GithubHelp home page GithubHelp logo

nmfs-connect's People

Contributors

christinestawitz-noaa avatar erinsteiner-noaa avatar k-doering-noaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nmfs-connect's Issues

[CAPACITY]

requestor

Lewis Barnett ([email protected])

Which app were you testing?

Gear decision support tool

What were you trying to do?

click around to test functionality/speed

What did you experience?

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

DEPLOYMENT ISSUE: deploying while using rgdal, ecodata

What is the name of the product?

Sarah S. squid dashboard

Link to the product's code, if available (e.g., to the GitHub Source Code)?

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

flexdashboard

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

one click from rstudio IDE

What did you experience?

rgdal gives errors when deploying, as does ecodata (https://github.com/NOAA-EDAB/ecodata)

What do you hope to experience?

notes

Tracking in https://apps-st.fisheries.noaa.gov/jira/projects/OPS/issues/OPS-5579

DEPLOYMENT ISSUE: apps containing C++ code or dependencies on C++ code

What is the name of the product?

Any app containing compiled C++ or dependencies of C++

Link to the product's code, if available (e.g., to the GitHub Source Code)?

n/a

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

Shiny Apps, but other products could be affected.

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

One click or Git-backed

What did you experience?

Cannot deploy app, or can deploy, but app doesn't fully work.

What do you hope to experience?

App deploys and runs as expected

DEPLOYMENT ISSUE: flexdashboard when published with source code

Reported by Sarah S.

What is the name of the product?

flexdashboard (squid), has not been deployed successfully.

Link to the product's code, if available (e.g., to the GitHub Source Code)?

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

flexdashboard

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

One click with source code.

What did you experience?

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.

What do you hope to experience?

Possible to deploy

DEPLOYMENT ISSUE: Fails when using a Github Action with a Github Hosted Runner

What is the name of the product?

NMFS Color Palettes Explorer

Link to the product's code, if available (e.g., to the GitHub Source Code)?

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

  • streamlit python app

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

Via github action workflow - github hosted runner

What did you experience?

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

image

What do you hope to experience?

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.
image

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.

PERFORMANCE ISSUE: Streamlit Prod Server Issue

What is the name of the product?

streamlit

Which instance is the product on (dev, test, prod)?

prod

What did you experience?

Streamlit app deploys to prod server, but once loaded the app is stuck on "Please Wait". No issues with test server deployment.
Error:
image
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

What would you like to see instead?

app that operatives normally

Permissions changing bug

A user noted that an error message pops up when trying to change permissions on a product. Currently contacted posit support for help.

Add r4ss shiny selectivity app to connect

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.

DEPLOYMENT ISSUE: streamlit

What is the name of the product?

n/a

Link to the product's code, if available (e.g., to the GitHub Source Code)?

One of the streamlit examples

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

streamlit (a Python library)

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

command line

What did you experience?

Alicia B experienced a certificate error. we are not sure if this is specifically related to streamlit or not at this point.

What do you hope to experience?

successful deployment

DEPLOYMENT ISSUE: terra r pkg

What is the name of the product?

STSSN Summary Data (by Robert H)

Link to the product's code, if available (e.g., to the GitHub Source Code)?

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

shiny app

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

not sure

What did you experience?

error on terra pkg (opened jira issue https://apps-st.fisheries.noaa.gov/jira/browse/OPS-5744)

What do you hope to experience?

successful deployment

[CAPACITY]

requestor

Lewis Barnett ([email protected])

Which app were you testing?

RSC load test app

What were you trying to do?

load the app

What did you experience?

Not able to load

DEPLOYMENT ISSUE: missing dependencies for illex_weekly_viewer

What is the name of the product?

illex_weekly_viewer

Link to the product's code, if available (e.g., to the GitHub Source Code)?

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

dashboard

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

dev instance

What did you experience?

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)

What do you hope to experience?

DEPLOYMENT ISSUE: Natural Mortality Tool

What is the name of the product?

Natural mortality tool

Link to the product's code, if available (e.g., to the GitHub Source Code)?

https://github.com/shcaba/Natural-Mortality-Tool

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

Shiny app

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

One click

What did you experience?

Jason Cope experienced an error message when trying to redeploy (could deploy in the past, likely before an update)

What do you hope to experience?

Seamless deployment

Create User SOP

We need info for users specific for the NMFS connect instance. Should include info such as:

  • How to use the dev, test, and prod servers
  • Contacts for running into problems
  • Links to examples not covered in the Generic connect user guide.

DEPENDENCY REQUEST: R version not updated on https://dev-connect.fisheries.noaa.gov/

scallop

used for management

R 4.3.6 upgraded to R 4.4 (latest)

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.

DEPLOYMENT ISSUE: request to add library

What is the name of the product?

CruzPlot

Link to the product's code, if available (e.g., to the GitHub Source Code)?

https://github.com/SWFSC/cruzplot

Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?

Shiny app

How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?

One click from the RStudio IDE

What did you experience?

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)

What do you hope to experience?

Successful deployment

Update admin SOP

Edit SOP so that it is as accurate as possible and make sure admins are able to access it.

pulling from databases

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.

DEPENDENCY REQUEST: Add Python 3.11.5

Which app(s) are affected?

Some Python apps, as some python packages are no longer supporting our current version of python, 3.8.xx

Are these apps used for informing management?

Which dependencies would you like to request?

Python 3.11.5

example page

It would be helpful to provide a public page with some examples of products hosted on Connect.

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.