Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant write files to shiny server #61

Open
anders-kolstad opened this issue Nov 4, 2024 · 1 comment
Open

Cant write files to shiny server #61

anders-kolstad opened this issue Nov 4, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@anders-kolstad
Copy link
Collaborator

I tried moving the app to the internal shiny server, but I get 'permission denied' when trying to app_data.RDS

 Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.1.4     ✔ readr     2.1.5
✔ forcats   1.0.0     ✔ stringr   1.5.1
✔ ggplot2   3.5.1     ✔ tibble    3.2.1
✔ lubridate 1.9.3     ✔ tidyr     1.3.1
✔ purrr     1.0.2     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
Warning: There was 1 warning in `dplyr::mutate()`.
ℹ In argument: `HTML_File = combined_metadata$HTML_File`.
Caused by warning:
! Unknown or uninitialised column: `HTML_File`.
Warning in saveRDS(x, con, version = version, refhook = refhook, ascii = text) :
  cannot open file '/data/shiny/shiny-sites/ecRxiv/data/App_data.RDS': Permission denied
Error in saveRDS(x, con, version = version, refhook = refhook, ascii = text) : 
  cannot open the connection
Calls: runApp ... ..stacktraceon.. -> create_data -> write_rds -> saveRDS
Execution halted
@anders-kolstad anders-kolstad added the bug Something isn't working label Nov 4, 2024
@anders-kolstad
Copy link
Collaborator Author

Instead of writing to file with saveRDS, maybe we can use assign() and just save it to the environment? @DrMattG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants