-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
Upgrade from 2.0.8 --> 2.1.1 Fails at RabbitMqBundle #2421
Comments
Hello @thefu!
😍 About your problem, can you remove the |
Thanks! That got a little farther (cleaning up vendor/), but more dependency issues ... I'm sure it is trivial to correct for someone familiar with composer. I'm a perl/RoR guy and way out of my depth here. $ SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist Problem 1 |
|
Ah. Thanks! I had tried using compose install/require and that failed. Don't yet understand what is a php package and what is an OS package from the errors. I'll get there. Didn't see this OS package listed as a dependency in the installation instructions, BTW. I was probably just looking in the wrong place? Closed, for me. Thanks for the help! |
can't do sudo on shared host |
Hello @flow7! You can contact your web hoster for this problem. |
Issue details
Installed 2.0.8 about 3 weeks ago.
Saw that an upgrade to 2.1.1 was available yesterday.
Followed upgrade instructions:
$ sudo service apache2 stop # seemed like a good idea (not in instructions)
$ rm -rf var/cache/*
$ git fetch origin
$ git fetch --tags
$ git checkout 2.1.1 --force
$ SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist
all seemed fine to this point.
$ php bin/console doctrine:migrations:migrate --env=prod
PHP Fatal error: Uncaught Error: Class 'OldSound\RabbitMqBundle\OldSoundRabbitMqBundle' not found in /var/www/wallabag/app/AppKernel.php:41
Stack trace:
#0 /var/www/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(396): AppKernel->registerBundles()
#1 /var/www/wallabag/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(114): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#2 /var/www/wallabag/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(68): Symfony\Component\HttpKernel\Kernel->boot()
#3 /var/www/wallabag/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(117): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /var/www/wallabag/bin/console(29): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#5 {main}
thrown in /var/www/wallabag/app/AppKernel.php on line 41
Please provide issue details here.
Fails to upgrade per the instructions.
Environment
PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.8-0ubuntu0.16.04.3, Copyright (c) 1999-2016, by Zend Technologies
Steps to reproduce/test case
See above. Following upgrade instructions.
I suspect the dependency on rabbitMQ should have been included in the upgrade instructions, but don't know enough about php webapps to understand the issue.
The text was updated successfully, but these errors were encountered: