Answer the question
In order to leave comments, you need to log in
Why can't a dotnet application running as a service on Ubuntu 16.04 open a SQLite database?
There is an application written in dotnet that runs as a service in Ubuntu 16.04, the settings are as follows:
The folder with the TestBot.dll file contains the SQlite database that the application accesses. For some reason, when the application starts, it does not see this database (it cannot open it), and this is only relevant when it starts as a service, during normal startup: dotnet TestBot.dll
the application works fine and sees the database.
What could be the reason for such a problem?
Answer the question
In order to leave comments, you need to log in
user www-data has rights to read the database?
ls -la /var/myapp
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question