Closed oscarliz closed 3 years ago
sqlite3.OperationalError: unable to open database file
Is the file and the directory containing it writeable for the user?
The steps that I followed were with the native packages these have the problem that they do not create the directory called dbconfig-common that contains the sqlite3 subdirectory and then inside it contains the intelmq-api which houses the api database to solve it I went to the path /var/lib and create the directory with its respective subdirectories
Which exact operating system and version do you use? Which user did you use to run hug?
2.3.3
ubuntu 20.4 intelmq 2.3.3
The steps that I followed were with the native packages these have the problem that they do not create the directory called dbconfig-common that contains the sqlite3 subdirectory and then inside it contains the intelmq-api which houses the api database to solve it I went to the path /var/lib and create the directory with its respective subdirectories
We are unable to reproduce the missing dbconfig-common directory. The database and directoey should be created automatically by the package, so there's not manual intervention needed. Which session database file path do you now have in /etc/intelmq/api-config.json
?
Closing because of inactivity. Please reopen if needed.