docker
docker copied to clipboard
Still can't get this to work! :(
Hi all, I waited for the 2.4.0 release for quite a long time as I hoped things would be better in terms of setting up. Unfortunately, it's issue after issue. I'm hoping someone can help pls?
On a clean setup, after the docker compose is running and Wallabags provisioner is finished, I run sudo docker exec -t 24af76b0bca7 /var/www/wallabag/bin/console wallabag:install --env=prod --no-interaction
to install (not documented anywhere but I believe this step is to be done otherwise other errors occur).
The errors I get are:
wallabag installer
==================
Step 1 of 4: Checking system requirements.
------------------------------------------
------------------------- -------- ----------------
Checked Status Recommendation
------------------------- -------- ----------------
PDO Driver (pdo_sqlite) OK!
Database connection OK!
Database version OK!
curl_exec OK!
curl_multi_init OK!
------------------------- -------- ----------------
[OK] Success! Your system can run wallabag properly.
Step 2 of 4: Setting up database.
---------------------------------
Creating schema...
Clearing the cache...
In InstallCommand.php line 337:
The command "cache:clear" generates some errors:
// Clearing the cache for the prod environment with debug false
In AbstractMySQLDriver.php line 97:
An exception occurred in driver: SQLSTATE[HY000] [2002] Operation timed out
In PDOConnection.php line 31:
SQLSTATE[HY000] [2002] Operation timed out
In PDOConnection.php line 27:
SQLSTATE[HY000] [2002] Operation timed out
cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
But, if I ignore it, I go to my Wallabag instance and I see JS/CSS trying to be loaded from your-wallabag-url-instance.com
. Not sure how that's possible considering the below compose file adds my URL in?
Note that the https gets terminated at my reverse proxy and from there its all http to the docker.
Oh and I see these JS errors in console:
12:59:40.433
Uncaught ReferenceError: fos is not defined
<anonymous> https://wallabag.redacted.space/js/routing?callback=fos.Router.setData:1
routing:1:5
12:59:40.873 Blocked loading mixed active content "http://your-wallabag-url-instance.com/wallassets/material.js"
login
12:59:40.877
Uncaught ReferenceError: Materialize is not defined
<anonymous> https://wallabag.redacted.space/login:68
This is my docker-compose file:
version: '3'
services:
wallabag:
image: wallabag/wallabag:2.4.0
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=wallabag-db
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=${WALLABAG_DB_NAME}
- SYMFONY__ENV__DATABASE_USER=${WALLABAG_DB_USER}
- SYMFONY__ENV__DATABASE_PASSWORD=${WALLABAG_DB_PASSWORD}
- SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
# - SYMFONY__ENV__DATABASE_DRIVER_CLASS=Wallabag\CoreBundle\Doctrine\DBAL\Driver\CustomPostgreSQLDriver
- SYMFONY__ENV__MAILER_HOST=${WALLABAG_MAILER_HOST}
- SYMFONY__ENV__MAILER_USER=${WALLABAG_MAILER_USER}
- SYMFONY__ENV__MAILER_PASSWORD=${WALLABAG_MAILER_PASSWORD}
- SYMFONY__ENV__FROM_EMAIL=${WALLABAG_MAILER_FROM_EMAIL}
- SYMFONY__ENV__DOMAIN_NAME=${WALLABAG_DOMAIN_NAME}
- SYMFONY__ENV__REDIS_HOST=wallabag-redis
ports:
- "${WALLABAG_PORT}:80"
volumes:
- ${WALLABAG_IMAGES_FOLDER}:/var/www/wallabag/web/assets/images
# - ${WALLABAG_DATA_FOLDER}:/var/www/wallabag/data
depends_on:
- wallabag-db
- wallabag-redis
restart: unless-stopped
networks:
- wallabag-net
wallabag-db:
image: mariadb
environment:
- MYSQL_USER=${WALLABAG_DB_USER}
- MYSQL_PASSWORD=${WALLABAG_DB_PASSWORD}
- MYSQL_ROOT_PASSWORD=wallaroot
- MYSQL_DATABASE=${WALLABAG_DB_NAME}
- PUID=1000
- PGID=1000
volumes:
- ${WALLABAG_DB_DATA_FOLDER}:/var/lib/mysql
restart: unless-stopped
networks:
- wallabag-net
wallabag-redis:
image: redis:alpine
restart: unless-stopped
networks:
- wallabag-net
networks:
wallabag-net:
This is my .env file:
WALLABAG_IMAGES_FOLDER=/volume1/Cloud/wallabag/images
WALLABAG_DATA_FOLDER=/volume1/Cloud/wallabag/data
WALLABAG_DB_NAME=wallabag
WALLABAG_DB_USER=wallbag
WALLABAG_DB_PASSWORD=wallabag
WALLABAG_MAILER_HOST=mail.redacted.space
[email protected]
WALLABAG_MAILER_PASSWORD=50v3r319n1089801*
[email protected]
WALLABAG_DOMAIN_NAME=https://wallabag.redacted.space
WALLABAG_PORT=8385
WALLABAG_DB_DATA_FOLDER=/volume1/Cloud/wallabag/db
Thanks
try this
https://github.com/wallabag/docker#upgrading
I ran the upgrade commands (afte rthe install command docker exec -t 86e94643299b /var/www/wallabag/bin/console wallabag:install --env=prod --no-interaction
) and this is the error output, not really sure what is going wrong as the docker-compose file is already given and it should run with a simple command (after minor config adjustments) @maltokyo .
Edit: I also tried SQLite mode and that won't work either.
PS E:\Projects\Private Cloud\my-cloud-infrastructure-2> docker exec -t 86e94643299b /var/www/wallabag/bin/console wallabag:install --env=prod --no-interaction
wallabag installer
==================
Step 1 of 4: Checking system requirements.
------------------------------------------
------------------------ -------- ----------------
Checked Status Recommendation
------------------------ -------- ----------------
PDO Driver (pdo_mysql) OK!
Database connection OK!
Database version OK!
curl_exec OK!
curl_multi_init OK!
------------------------ -------- ----------------
[OK] Success! Your system can run wallabag properly.
Step 2 of 4: Setting up database.
---------------------------------
Clearing the cache...
Database successfully setup.
Step 3 of 4: Administration setup.
----------------------------------
Administration successfully setup.
Step 4 of 4: Config setup.
--------------------------
In AbstractMySQLDriver.php line 46:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag.wallabag_internal_setting' doesn't exist
In PDOConnection.php line 46:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag.wallabag_internal_setting' doesn't exist
In PDOConnection.php line 41:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wallabag.wallabag_internal_setting' doesn't exist
PS E:\Projects\Private Cloud\my-cloud-infrastructure-2> docker exec -t 86e94643299b /var/www/wallabag/bin/console doctrine:migrations:migrate --env=prod --no-interaction
Application Migrations
Migrating up to 20200428072628 from 20190806130304
++ migrating 20190808124957
-> ALTER TABLE `wallabag_craue_config_setting` RENAME `wallabag_internal_setting`
Migration 20190808124957 failed during Execution. Error An exception occurred while executing 'ALTER TABLE `wallabag_craue_config_setting` RENAME `wallabag_internal_setting`':
SQLSTATE[HY000]: General error: 1025 Error on rename of './wallabag/wallabag_craue_config_setting' to './wallabag/wallabag_internal_setting' (errno: 194 "Tablespace is missing for a table")
20:28:55 ERROR [console] Error thrown while running command "doctrine:migrations:migrate --env=prod --no-interaction". Message: "An exception occurred while executing 'ALTER TABLE `wallabag_craue_config_setting` RENAME `wallabag_internal_setting`':
SQLSTATE[HY000]: General error: 1025 Error on rename of './wallabag/wallabag_craue_config_setting' to './wallabag/wallabag_internal_setting' (errno: 194 "Tablespace is missing for a table")" ["exception" => Doctrine\DBAL\Exception\DriverException { …},"command" => "doctrine:migrations:migrate --env=prod --no-interaction","message" => """ An exception occurred while executing 'ALTER TABLE `wallabag_craue_config_setting` RENAME `wallabag_internal_setting`':\n \n SQLSTATE[HY000]: General error: 1025 Error on rename of './wallabag/wallabag_craue_config_setting' to './wallabag/wallabag_internal_setting' (errno: 194 "Tablespace is missing for a table") """]
In AbstractMySQLDriver.php line 110:
An exception occurred while executing 'ALTER TABLE `wallabag_craue_config_setting` RENAME `wallabag_internal_setting`':
SQLSTATE[HY000]: General error: 1025 Error on rename of './wallabag/wallabag_craue_config_setting' to './wallabag/wallabag_internal_setting' (errno: 194 "Tablespace is missing for a table")
In PDOConnection.php line 91:
SQLSTATE[HY000]: General error: 1025 Error on rename of './wallabag/wallabag_craue_config_setting' to './wallabag/wallabag_internal_setting' (errno: 194 "Tablespace is missing for a table")
In PDOConnection.php line 86:
SQLSTATE[HY000]: General error: 1025 Error on rename of './wallabag/wallabag_craue_config_setting' to './wallabag/wallabag_internal_setting' (errno: 194 "Tablespace is missing for a table")
doctrine:migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--configuration [CONFIGURATION]] [--db-configuration [DB-CONFIGURATION]] [--db DB] [--em EM] [--shard SHARD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<version>]
SQLite Mode Errors
PS E:\Projects\Private Cloud\my-cloud-infrastructure-2> docker exec -t 4e5723fcd5ae /var/www/wallabag/bin/console wallabag:install --env=prod --no-interaction
wallabag installer
==================
Step 1 of 4: Checking system requirements.
------------------------------------------
------------------------- -------- ----------------
Checked Status Recommendation
------------------------- -------- ----------------
PDO Driver (pdo_sqlite) OK!
Database connection OK!
Database version OK!
curl_exec OK!
curl_multi_init OK!
------------------------- -------- ----------------
[OK] Success! Your system can run wallabag properly.
Step 2 of 4: Setting up database.
---------------------------------
Clearing the cache...
Database successfully setup.
Step 3 of 4: Administration setup.
----------------------------------
In AbstractSQLiteDriver.php line 35:
An exception occurred while executing 'INSERT INTO "wallabag_user" (username, username_canonical, email, email_canonical, enabled, salt, password, last_login, confirmation_token, password_requested_at, roles, name, created_at, updat
ed_at, authCode, googleAuthenticatorSecret, backupCodes, emailTwoFactor) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["wallabag", "wallabag", "[email protected]", "[email protected]", 1, "qNn5nYb
c96zaJsv49NJlHiQvt21MS8.sSF44cNgJilc", "nhbGUo\/+zVxpWPDmdhnhm8QgUKY1ZBpCyIXa+H7jN0c4mPd9lYZKgBzs4ZCL9b\/D8isfoICliaCaA0L0kDfa3w==", null, null, null, "a:2:{i:0;s:9:\"ROLE_USER\";i:1;s:16:\"ROLE_SUPER_ADMIN\";}", null, "2020-12-26 2
0:37:34", "2020-12-26 20:37:34", null, null, null, 0]:
SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: wallabag_user.username_canonical
In PDOStatement.php line 131:
SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: wallabag_user.username_canonical
In PDOStatement.php line 129:
SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: wallabag_user.username_canonical
I believe I'm experiencing a similar issue although this is on a fresh docker install of Wallabag.
I did a docker pull of the dockerhub image and ran docker run -v /opt/wallabag/data:/var/www/wallabag/data -v /opt/wallabag/images:/var/www/wallabag/web/assets/images -p 60888:80 -e "SYMFONY__ENV__DOMAIN_NAME=http://cshe.xyz" wallabag/wallabag
which hangs on Provisioner finished
. Ctrl-C to get back to the command line terminates the container so I went to a separate instance in tmux and tried running docker exec -t youthful_bohr /var/www/wallabag/bin/console wallabag:install --env=prod --no-interaction
. Which returns a very similar error:
------------------------------------------
------------------------- -------- ----------------
Checked Status Recommendation
------------------------- -------- ----------------
PDO Driver (pdo_sqlite) OK!
Database connection OK!
Database version OK!
curl_exec OK!
curl_multi_init OK!
------------------------- -------- ----------------
[OK] Success! Your system can run wallabag properly.
Step 2 of 4: Setting up database.
---------------------------------
Clearing the cache...
Database successfully setup.
Step 3 of 4: Administration setup.
----------------------------------
In AbstractSQLiteDriver.php line 35:
An exception occurred while executing 'INSERT INTO "wallabag_user" (username, username_canonical, email, email_canonical, enabled, salt, password, last_login, confirmation_token, passw
ord_requested_at, roles, name, created_at, updated_at, authCode, googleAuthenticatorSecret, backupCodes, emailTwoFactor) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'
with params ["wallabag", "wallabag", "[email protected]", "[email protected]", 1, "8cSL6.OleF1Snnc8RWV8Yd2Lkek3ogF9LVTeQs8eExQ", "KUTJG67BDd7NpNHANcjQpBAqW7jF\/2etW8m05Av8EkiZGNx
Agcquz8qZ8T4YdOAKfTzEb3uoKejXCrqYZPdJ4g==", null, null, null, "a:2:{i:0;s:9:\"ROLE_USER\";i:1;s:16:\"ROLE_SUPER_ADMIN\";}", null, "2021-02-05 17:05:40", "2021-02-05 17:05:40", null, nu
ll, null, 0]:
SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: wallabag_user.username_canonical
In PDOStatement.php line 131:
SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: wallabag_user.username_canonical
In PDOStatement.php line 129:
SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: wallabag_user.username_canonical
Running docker run
again after running the docker exec -t
command now fills my screen with a mess of text:
cated in ./vendor/sensio/framework-extra-bundle/Tests/Request/ArgumentNameConverterTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201\nDeprecation Notice: Class Nelmio\\ApiDocBundle\\Tests\\Extractor\\FosRestHandlerTest located in ./vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Extractor/Handler/FosRestHandlerTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201\nDeprecation Notice: Class Nelmio\\ApiDocBundle\\Tests\\Extractor\\SensioFrameworkExtraHandlerTest located in ./vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Extractor/Handler/SensioFrameworkExtraHandlerTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201\nDeprecation Notice: Class Nelmio\\ApiDocBundle\\Tests\\Functional\\AppKernel located in ./vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Fixtures/app/AppKernel.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201\nDeprecation Notice: Class Liip\\ThemeBundle\\Tests\\EventListener\\UseCaseTest located in ./vendor/liip/theme-bundle/Tests/UseCaseTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201\nDeprecation Notice: Class Liip\\ThemeBundle\\Tests\\DependencyInjection\\ThemeCompilerPassTest located in ./vendor/liip/theme-bundle/Tests/DependencyInjection/Compiler/ThemeCompilerPassTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201\nDeprecation Notice: Class Liip\\ThemeBundle\\Tests\\DependencyInjection\\AsseticTwigFormulaPassTest located in ./vendor/liip/theme-bundle/Tests/DependencyInjection/Compiler/AsseticTwigFormulaPassTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201\nDeprecation Notice: Class Doctrine\\Bundle\\MigrationsBundle\\Tests\\DependencyInjection\\DoctrineCommandTest located in ./vendor/doctrine/doctrine-migrations-bundle/Tests/Command/DoctrineCommandTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201\n48 packages you are using are looking for funding.\nUse the `composer fund` command to find out more!\n> Incenteev\\ParameterHandler\\ScriptHandler::buildParameters\nScript Incenteev\\ParameterHandler\\ScriptHandler::buildParameters handling the post-cmd event terminated with an exception\n\n \n [Symfony\\Component\\Yaml\\Exception\\ParseException] \n Unable to parse at line 15 (near \"she.xyz\"). \n \n\ninstall [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...", "stderr_lines": ["Loading composer repositories with package information", "Installing dependencies from lock file", "Nothing to install or update", "Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.", "Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.", "Package guzzlehttp/ringphp is abandoned, you should avoid using it. No replacement was suggested.", "Package guzzlehttp/streams is abandoned, you should avoid using it. No replacement was suggested.", "Package liip/theme-bundle is abandoned, you should avoid using it. Use sylius/theme-bundle instead.", "Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.", "Package twig/extensions is abandoned, you should avoid using it. No replacement was suggested.", "Generating optimized autoload files", "Deprecation Notice: Class SimpleHtmlDom\\simple_html_dom_node located in ./vendor/mgargano/simplehtmldom/src/simple_html_dom.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class SimpleHtmlDom\\simple_html_dom located in ./vendor/mgargano/simplehtmldom/src/simple_html_dom.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Sensio\\Bundle\\FrameworkExtraBundle\\Tests\\DependencyInjection\\AddExpressionLanguageProvidersPassTest located in ./vendor/sensio/framework-extra-bundle/Tests/DependencyInjection/Compiler/AddExpressionLanguageProvidersPassTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Sensio\\Bundle\\FrameworkExtraBundle\\Tests\\DependencyInjection\\AddParamConverterPassTest located in ./vendor/sensio/framework-extra-bundle/Tests/DependencyInjection/Compiler/AddParamConverterPassTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Sensio\\Bundle\\FrameworkExtraBundle\\Tests\\Request\\ParamConverter\\ArgumentNameConverterTest located in ./vendor/sensio/framework-extra-bundle/Tests/Request/ArgumentNameConverterTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Nelmio\\ApiDocBundle\\Tests\\Extractor\\FosRestHandlerTest located in ./vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Extractor/Handler/FosRestHandlerTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Nelmio\\ApiDocBundle\\Tests\\Extractor\\SensioFrameworkExtraHandlerTest located in ./vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Extractor/Handler/SensioFrameworkExtraHandlerTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Nelmio\\ApiDocBundle\\Tests\\Functional\\AppKernel located in ./vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Fixtures/app/AppKernel.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Liip\\ThemeBundle\\Tests\\EventListener\\UseCaseTest located in ./vendor/liip/theme-bundle/Tests/UseCaseTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Liip\\ThemeBundle\\Tests\\DependencyInjection\\ThemeCompilerPassTest located in ./vendor/liip/theme-bundle/Tests/DependencyInjection/Compiler/ThemeCompilerPassTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Liip\\ThemeBundle\\Tests\\DependencyInjection\\AsseticTwigFormulaPassTest located in ./vendor/liip/theme-bundle/Tests/DependencyInjection/Compiler/AsseticTwigFormulaPassTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "Deprecation Notice: Class Doctrine\\Bundle\\MigrationsBundle\\Tests\\DependencyInjection\\DoctrineCommandTest located in ./vendor/doctrine/doctrine-migrations-bundle/Tests/Command/DoctrineCommandTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201", "48 packages you are using are looking for funding.", "Use the `composer fund` command to find out more!", "> Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", "Script Incenteev\\ParameterHandler\\ScriptHandler::buildParameters handling the post-cmd event terminated with an exception", "", " ", " [Symfony\\Component\\Yaml\\Exception\\ParseException] ", " Unable to parse at line 15 (near \"she.xyz\"). ", " ", "", "install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]..."], "stdout": "composer/package-versions-deprecated: Generating version class...\ncomposer/package-versions-deprecated: ...done generating version class\nUpdating the \"app/config/parameters.yml\" file", "stdout_lines": ["composer/package-versions-deprecated: Generating version class...", "composer/package-versions-deprecated: ...done generating version class", "Updating the \"app/config/parameters.yml\" file"]} PLAY RECAP bin dev entrypoint.sh etc home lib media mnt opt proc root run sbin srv sys tmp usr var localhost : ok=5 changed=2 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
Provisioner finished.
But the outcome seems to be the same with the command hanging on Provisioner finished
.
I'm not sure if the error is related to Composer or if that's just because I tried running the installation command before the container was fully initialised.
I'm trying to serve Wallabag through Nginx in case that's relevant.
See https://github.com/wallabag/docker/issues/174#issuecomment-905923784
I am still receiving this exact error. I am using Docker wallabag version 2.5.4 with PostgreSQL database.
Undefined table: 7 ERROR: relation "wallabag_internal_setting" does not exist
I tried installing wallabag and got this:
Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested. Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead. Package guzzlehttp/ringphp is abandoned, you should avoid using it. No replacement was suggested. Package guzzlehttp/streams is abandoned, you should avoid using it. No replacement was suggested. Package hoa/compiler is abandoned, you should avoid using it. No replacement was suggested. Package hoa/consistency is abandoned, you should avoid using it. No replacement was suggested. Package hoa/event is abandoned, you should avoid using it. No replacement was suggested.
And the website is ugly
All these messages are just warning. It shouldn't affect the website itself.
@CattopyTheWeb these warnings don't prevent wallabag from working.
What do you mean by ugly? You should probably consider opening a new issue
What do you mean by ugly? The website doesn’t look like it should. It's just text and images. No nice background or anything. It's hard to navigate. I am using Nginx Proxy Manager to get a SSL cert
All these messages are just warning. It shouldn't affect the website itself.
It does. It made it only text no styling :(
@CattopyTheWeb could you provide more information on how you run, tried to start wallabag?
I fixed it now. I used the compose file from your docker hub and only changed the URL. But thanks anyway