Wallabag docker image installation

quiet

Cadet
Joined
Mar 25, 2023
Messages
6
I'm having trouble installing wallabag via image docker. When I do not have defined storage, the application works, unfortunately, after restarting, it loses data. After entering the host path I got the following errors
Code:
Application Name:wallabagPod Name:wallabag-ix-chart-595655d984-s4m45Container Name:ix-chart
2023-04-08 23:40:46.721094+00:00Starting Wallabag ...
2023-04-08 23:40:47.576938+00:00Configuring the SQLite database ...
2023-04-08 23:40:48.689839+00:002023-04-08T23:40:48.689839863Z
2023-04-08 23:40:48.689903+00:00wallabag installer
2023-04-08 23:40:48.689926+00:00==================
2023-04-08 23:40:48.689944+00:002023-04-08T23:40:48.689944201Z
2023-04-08 23:40:48.689974+00:00Step 1 of 4: Checking system requirements.
2023-04-08 23:40:48.689981+00:00------------------------------------------
2023-04-08 23:40:48.689986+00:002023-04-08T23:40:48.689986809Z
2023-04-08 23:40:48.692059+00:00------------------------- -------- -------------------------------------------------------------------------------------------------------------------
2023-04-08 23:40:48.692108+00:00Checked                   Status   Recommendation                                                                                                     
2023-04-08 23:40:48.692117+00:00------------------------- -------- -------------------------------------------------------------------------------------------------------------------
2023-04-08 23:40:48.692140+00:00PDO Driver (pdo_sqlite)   OK!                                                                                                                         
2023-04-08 23:40:48.692152+00:00Database connection       ERROR!   Can't connect to the database: An exception occurred in driver: SQLSTATE[HY000] [14] unable to open database file 
2023-04-08 23:40:48.692185+00:00Database version          OK!                                                                                                                         
2023-04-08 23:40:48.692220+00:00curl_exec                 OK!                                                                                                                         
2023-04-08 23:40:48.692277+00:00curl_multi_init           OK!                                                                                                                         
2023-04-08 23:40:48.692291+00:00------------------------- -------- -------------------------------------------------------------------------------------------------------------------
2023-04-08 23:40:48.692297+00:002023-04-08T23:40:48.692297465Z
2023-04-08 23:40:48.700149+00:0023:40:48 ERROR     [console] Error thrown while running command "wallabag:install --env=prod -n". Message: "Some system requirements are not fulfilled. Please check output messages and fix them." ["exception" => RuntimeException { …},"command" => "wallabag:install --env=prod -n","message" => "Some system requirements are not fulfilled. Please check output messages and fix them."]
2023-04-08 23:40:48.700326+00:002023-04-08T23:40:48.700326393Z
2023-04-08 23:40:48.700529+00:00In InstallCommand.php line 163:
2023-04-08 23:40:48.700546+00:002023-04-08T23:40:48.700546733Z
2023-04-08 23:40:48.700560+00:00Some system requirements are not fulfilled. Please check output messages an 
2023-04-08 23:40:48.700565+00:00d fix them.                                                                 
2023-04-08 23:40:48.700570+00:002023-04-08T23:40:48.700570813Z
2023-04-08 23:40:48.700579+00:002023-04-08T23:40:48.700579527Z
2023-04-08 23:40:48.700613+00:00wallabag:install [--reset] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
2023-04-08 23:40:48.700623+00:002023-04-08T23:40:48.700623689Z

What am I doing wrong? Using https://hub.docker.com/r/wallabag/wallabag
for SQLite
 

quiet

Cadet
Joined
Mar 25, 2023
Messages
6
Solved it by first creating in the data folder db subfolder and doing sudo chown nobody data --recursive.
 
Top