Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Publishing shiny app creates error trying to read database #128

Closed
aakbarie opened this issue Apr 5, 2017 · 2 comments
Closed

Publishing shiny app creates error trying to read database #128

aakbarie opened this issue Apr 5, 2017 · 2 comments

Comments

@aakbarie
Copy link

aakbarie commented Apr 5, 2017

I have created a shiny app that loads data from a MonetDB database. The shiny app works just fine inside RStudio, but when I publish it to my shiny server, I get the following error:

cannot create dir '/...', reason 'Permission denied'

Warning: Error in monetdb_embedded_startup: Cannot create /.../DB

I know that DB does exists and ... is same location. And my Shiny server does have access to that DB because I can run R and access it on the server.
Any suggestions would be welcomed. What I am really struggling with is to understand the 'cannot create dir' error, since I am not asking for new directory and I am just creating a connecting to the DB

dbdir <- ".../DB"
 
 con <- dbConnect(MonetDBLite::MonetDBLite(), dbdir)
@hannes
Copy link
Owner

hannes commented Apr 6, 2017

See #71, also, could you provide a fully reproducible example perhaps?

@hannes
Copy link
Owner

hannes commented Jun 14, 2017

closing as duplicate

@hannes hannes closed this as completed Jun 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants