Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first install - 500 Internal Server Error #986

Open
JamesDAdams opened this issue Nov 24, 2023 · 1 comment
Open

first install - 500 Internal Server Error #986

JamesDAdams opened this issue Nov 24, 2023 · 1 comment

Comments

@JamesDAdams
Copy link

Hi,

i'm trying to install the soft with docker but i have thise message on web page :

image

Logs :

`[2023-11-24T09:17:20.437320+00:00] deprecation.INFO: User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:78 called by App_KernelProdContainer.php:1005, doctrine/orm#10455, package doctrine/orm) {"exception":"[object] (ErrorException(code: 0): User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:78 called by App_KernelProdContainer.php:1005, doctrine/orm#10455, package doctrine/orm) at /var/www/koillection/vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php:209)"} []
[2023-11-24T09:17:20.525016+00:00] deprecation.INFO: User Deprecated: Doctrine\DBAL\Connection::getEventManager is deprecated. (Connection.php:296 called by DependencyFactory.php:203, doctrine/dbal#5784, package doctrine/dbal) {"exception":"[object] (ErrorException(code: 0): User Deprecated: Doctrine\DBAL\Connection::getEventManager is deprecated. (Connection.php:296 called by DependencyFactory.php:203, doctrine/dbal#5784, package doctrine/dbal) at /var/www/koillection/vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php:209)"} []
[2023-11-24T09:17:20.529891+00:00] deprecation.INFO: User Deprecated: PostgreSQLPlatform::getName() is deprecated. Identify platforms by their class. (PostgreSQLPlatform.php:1146 called by Version20200429093452.php:19, doctrine/dbal#4749, package doctrine/dbal) {"exception":"[object] (ErrorException(code: 0): User Deprecated: PostgreSQLPlatform::getName() is deprecated. Identify platforms by their class. (PostgreSQLPlatform.php:1146 called by Version20200429093452.php:19, doctrine/dbal#4749, package doctrine/dbal) at /var/www/koillection/vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php:209)"} []
[2023-11-24T09:17:21.569179+00:00] deprecation.INFO: User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:78 called by App_KernelProdContainer.php:1005, doctrine/orm#10455, package doctrine/orm) {"exception":"[object] (ErrorException(code: 0): User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:78 called by App_KernelProdContainer.php:1005, doctrine/orm#10455, package doctrine/orm) at /var/www/koillection/vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php:209)"} []
[24-Nov-2023 10:17:22] NOTICE: PHP message: PHP Warning: Can't preload unlinked class Zenstruck\Foundry\Factory@anonymous: Unknown parent Zenstruck\Foundry\Factory in /var/www/koillection/vendor/zenstruck/foundry/src/functions.php on line 45
**** 1/11 - Make sure /uploads folders exist ****
**** 2/11 - Create the symbolic link for the /uploads folder ****
**** 3/11 - Setting env variables ****
**** 4/11 - Migrate the database ****
[notice] Migrating up to App\Migrations\Postgresql\Version20230803152739
[notice] Migration App\Migrations\Mysql\Version20200429093452 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20200727114843 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20200812160901 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20200923193955 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20201010121132 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20201215214207 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20210127105342 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20210514100228 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20211207185256 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220206133834 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220206175335 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220208094335 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220630100634 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220701175209 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220713152238 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220716201458 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220717140437 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220722163001 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220722192217 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220725204054 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220829085551 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220909124604 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220916162932 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220917151134 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220918183100 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220920150306 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20220922183351 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230317131927 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230425131232 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230519201736 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230525100104 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230613175623 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230726074848 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230801111844 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230801130420 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] Migration App\Migrations\Mysql\Version20230803153034 skipped during Execution. Reason: "Migration can only be executed safely on 'mysql'."
[notice] finished in 929.4ms, used 18M memory, 87 migrations executed, 916 sql queries

[OK] Successfully migrated to version :
App\Migrations\Postgresql\Version20230803152739

**** 5/11 - Refresh cached values ****
Refreshing cached values for collections...
Refreshing cached values for wishlists...
Refreshing cached values for albums...
Done!
**** 6/11 - Create API keys ****

[OK] Done!

**** 7/11 - Create user and use PUID/PGID ****
-e User UID : 1000
-e User GID : 1000
**** 8/11 - Set Permissions ****
**** 9/11 - Create nginx log files ****
**** 10/11 - Create symfony log files ****
**** 11/11 - Setup complete, starting the server. ****`

@punfil
Copy link
Contributor

punfil commented Nov 28, 2023

Hi!

Please provide command used to setup the environment. Was that docker compose -f docker-compose.dist.yml up or sth different?

Please share logs from koillection container -> docker logs koillection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants