I have shiny-server running on an ubuntu 22.04 (jammy jellyfish) server with the 'hello' and 'rmd' sample-apps working correctly as expected. I've created a 'gislayerfinder' directory containing an 'app.R' file but when I try to run the app with:
http://my-ip-address:3838/sample-apps/gislayerfinder/
I get the following 'rpostgis' error in the log file
I'm not sure whether the app must be in the form of a 'ui.R' and a 'server.R' files or I can use an 'app.R' file. I am also sure that maybe 'RStudio-server' should be running on port 3838 instead of port 8787?.
Hope someone can spot what is going wrong.
Many thanks,.