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

phraseanet-phraseanet Container keeps restarting on fresh install #3977

Open
MechaKaradi opened this issue Feb 26, 2022 · 5 comments
Open

phraseanet-phraseanet Container keeps restarting on fresh install #3977

MechaKaradi opened this issue Feb 26, 2022 · 5 comments

Comments

@MechaKaradi
Copy link

Using a fresh docker-compose file and following the instructons given in the wiki. Getting the following error on running the docker-compose up -d command from the phrasenet container.

PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: Cannot use a scalar value as an array in /var/alchemy/Phraseanet/lib/Alchemy/Phrasea/Cache/Manager.php:104

Stack trace:

#0 /var/alchemy/Phraseanet/lib/Alchemy/Phrasea/Cache/Manager.php(104): Symfony\Component\Debug\ErrorHandler->handleError(2, 'Cannot use a sc...', '/var/alchemy/Ph...', 104, Array)

#1 /var/alchemy/Phraseanet/lib/Alchemy/Phrasea/Cache/Manager.php(91): Alchemy\Phrasea\Cache\Manager->register('redis', 'cache')

#2 /var/alchemy/Phraseanet/lib/Alchemy/Phrasea/Core/Provider/CacheServiceProvider.php(48): Alchemy\Phrasea\Cache\Manager->factory('cache', 'redis', Array)

#3 /var/alchemy/Phraseanet/vendor/pimple/pimple/lib/Pimple.php(126): Alchemy\Phrasea\Core\Provider\CacheServiceProvider->Alchemy\Phrasea\Core\Provider\{closure}(Object(Alchemy\Phrasea\CLI))

#4 /var/alchemy/Phraseanet/vendor/pimple/pimple/lib/Pimple.php(83): Pimple::{closure}(Object(Alchemy\Phrasea\CLI))

#5 /var/alchemy/Phraseanet/lib/Alchemy/Phrasea/Core/Provider/ in /var/alchemy/Phraseanet/lib/Alchemy/Phrasea/Cache/Manager.php on line 104
@moctardiouf
Copy link
Contributor

Hello, can you please explain us which container is generating this error. Can you show us the content of you local configuration.yml file.

Best regards

@MechaKaradi
Copy link
Author

MechaKaradi commented Mar 16, 2022 via email

@moctardiouf
Copy link
Contributor

Hello,

Think you for the informations. Can you please give us your configuration file. no attachment seen.

Seems like the matter is due to redis configuration.

@MechaKaradi
Copy link
Author

Hey, seems GitHub isn't accepting a yml attachment.

Please find the contents of the file in the pastebin below

https://pastebin.com/5tevqBbV

@MechaKaradi
Copy link
Author

Hi, any feedback?

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