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

Worker throws a "This is not a valid version" fatal error #3675

Closed
bmalynovytch opened this issue Dec 15, 2020 · 1 comment
Closed

Worker throws a "This is not a valid version" fatal error #3675

bmalynovytch opened this issue Dec 15, 2020 · 1 comment

Comments

@bmalynovytch
Copy link

bmalynovytch commented Dec 15, 2020

Version: 4.1.2 with Docker

Worker used to be working.
Something changed in the configuration, trying to get #3674 working.
Now, worker keeps crashing with the following error:

worker_1         | PHP Fatal error:  Uncaught vierbergenlars\SemVer\SemVerException: This is not a valid version [[]] in /var/alchemy/Phraseanet/vendor/vierbergenlars/php-semver/src/vierbergenlars/SemVer/version.php:24
worker_1         | Stack trace:
worker_1         | #0 /var/alchemy/Phraseanet/vendor/vierbergenlars/php-semver/src/vierbergenlars/SemVer/version.php(167): vierbergenlars\SemVer\version->__construct('0.0.0.0')
worker_1         | #1 /var/alchemy/Phraseanet/vendor/vierbergenlars/php-semver/src/vierbergenlars/SemVer/version.php(248): vierbergenlars\SemVer\version::gt(Object(vierbergenlars\SemVer\version), '0.0.0.0')
worker_1         | #2 /var/alchemy/Phraseanet/lib/Alchemy/Phrasea/Setup/ConfigurationTester.php(113): vierbergenlars\SemVer\version::lt('0.0.0.0', '4.1.2')
worker_1         | #3 /var/alchemy/Phraseanet/lib/Alchemy/Phrasea/Setup/ConfigurationTester.php(88): Alchemy\Phrasea\Setup\ConfigurationTester->isUpgradable()
worker_1         | #4 /var/alchemy/Phraseanet/bin/console(90): Alchemy\Phrasea\Setup\ConfigurationTester->isUpToDate()
worker_1         | #5 {main}
worker_1         |   thrown in /var/alchemy/Phraseanet/vendor/vierbergenlars/php-semver/src/vierbergenlars/SemVer/version.php on line 24

Removing containers & volumes didn't solve the issue.

@bmalynovytch
Copy link
Author

Deleting the content of the cache directory seems to fix the issue.

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