Please post the full stack trace.Grzegorz.Janoszka wrote: ↑Tue Jul 18, 2017 7:45 am [...]
PHP message: PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\OutOfBoundsException: The index "7" is not in the range [0, 6]. in /var/www/forum/vendor/symfony/dependency-injection/Definition.php:348
Stack trace:
#0 /var/www/forum/phpbb/di/extension/core.php(76): Symfony\Component\DependencyInjection\Definition->getArgument(7)
#1 /var/www/forum/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(59): phpbb\di\extension\core->load(Array, Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#2 /var/www/forum/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#3 /var/www/forum/vendor/symfony/dependency-injection/Compiler/Compiler.php(104): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\Depend
The full upgrade method doesn't work either.
Well, the whole update package provides me three directories: docs, install and vendor. The procedure to upgrade phpBB is to replace the vendor directory with the new one and add the install directory.
It is my server and I have full shell access to that. I never use FTP, just normal Linux commands (cp, mv...).Mick wrote: ↑Tue Jul 18, 2017 10:42 am I think FTP clients and server set up has something to do with it. I personally have NEVER had an issue with vendor folders or things not getting overwritten when they should. I use a quality host, a quality FTP client and always do a file replacement. That way I have plenty of time to relax and drink beer.
[phpBB Debug] "file_get_contents(../install/update/new/adm/style/acp_ext_details.html): failed to open stream: No such file or directory" in file /home/grain/domains/mysite.com/public_html/GBN31_test/phpbb/install/module/update_filesystem/task/diff_files.php on line 175
2 boards on the same server updated with no problems, number tree same error as TS?Mick wrote: ↑Tue Jul 18, 2017 10:42 am I think FTP clients and server set up has something to do with it. I personally have NEVER had an issue with vendor folders or things not getting overwritten when they should. I use a quality host, a quality FTP client and always do a file replacement. That way I have plenty of time to relax and drink beer.
You're pretty close already but seem to be using the files from the automatic update package as well. Remove the complete install folder and upload the one from the full package. Afterwards, make sure to delete the file store/install_config.php. Once you start the update via the installer, you should only be able to do a database update. Run that and the update should work fine.maxwellqc13 wrote: ↑Tue Jul 18, 2017 6:19 pm I want to give up on this install. Tried every outlined step in this thread for the upgrade and always get the same error as OP. Tried the full install uploaded everything except Ext, Fies, Images, Store and Config.
Did install and received this error "The file differ failed to open Array."
[phpBB Debug] "file_get_contents(../install/update/new/adm/style/acp_ext_details.html): failed to open stream: No such file or directory" in file /home/grain/domains/mysite.com/public_html/GBN31_test/phpbb/install/module/update_filesystem/task/diff_files.php on line 175
I already had uploaded the install folder from the full package but did not delete the config. I did this and it and updated the DB successfully but then when I go to the site I get thisMarc wrote: ↑Tue Jul 18, 2017 9:16 pm You're pretty close already but seem to be using the files from the automatic update package as well. Remove the complete install folder and upload the one from the full package. Afterwards, make sure to delete the file store/install_config.php. Once you start the update via the installer, you should only be able to do a database update. Run that and the update should work fine.
It seems like right now you're still mixing a file update (which you already did according to your post) with the update using the full package.
I tried to delete the cache/production folder but received the messageCatchable fatal error: Argument 7 passed to phpbb\template\twig\environment::__construct() must implement interface phpbb\event\dispatcher_interface, array given, called in /home/grain/domains/mysite.com/public_html/GBN31_test/cache/production/container_4335734bbdd20f586549a504dff5f80c.php on line 1413 and defined in /home/grain/domains/mysite.com/public_html/GBN31_test/phpbb/template/twig/environment.php on line 62
Unable to delete directory /domains/mysite.com/public_html/GBN31_test/cache/production: cannot unlinkat /domains/mysite.com/public_html/GBN31_test/cache/production/twig/a7/a7c65c041de68221bfbbe6c4ad9cfd241f0b49a0279c3f6c1919635f572eddc9.php: Permission denied
cannot unlinkat directory /domains/mysite.com/public_html/GBN31_test/cache/production/twig/a7: Directory not empty
cannot unlinkat directory /domains/mysite.com/public_html/GBN31_test/cache/production/twig: Director
Catchable fatal error: Argument 7 passed to phpbb\template\twig\environment::__construct() must implement interface phpbb\event\dispatcher_interface, array given in /home/grain/domains/mysite.com/public_html/GBN31_test/phpbb/template/twig/environment.php on line 62
FWIW, my forum is on a PHP 5.4.45 server and I had the same problem. The installer said it had completed successfully but the Twig error persisted. In my case, I think using Update via FTP (Manual) instead of (Automatic), which had worked in the past, fixed the problem. A bunch of files were then uploaded to the site. Elsewhere in this forum I've listed two of those many files, that were missing until I used the (Manual) method. But this doesn't work for everyone. Doing a full install should place all needed files in place and fix the problem, though it's tedious. Had I not already done the update, I'd be waiting for 3.2.2, as the Twig issue seems prolific.Grzegorz.Janoszka wrote: ↑Tue Jul 18, 2017 7:13 am Well, a pity nobody really tested the upgrade procedure 3.2.0 --> 3.2.1 with PHP 7.x