dont understand how to migrate from the cmd line:
Code: Select all
php ./bin/phpbbcli.php db:migrate --safe-mode
can I ask for a bit more guidance?
how do I specify the DB to upgrade, folder etc? That is what confuses me :-/
Code: Select all
php ./bin/phpbbcli.php db:migrate --safe-mode
./bin/phpbbcli.php
relative path so that it is to that file in the board you wish to update.Code: Select all
Installed Data: \phpbb\db\migration\data\v310\notification_options_reconvert; Time: 0.24 seconds
Installed Data: \phpbb\db\migration\data\v310\notification_options_reconvert; Time: 0.22 seconds
Installed Schema: \phpbb\db\migration\data\v310\plupload; Time: 0.00 seconds
Installed Data: \phpbb\db\migration\data\v310\plupload; Time: 0.00 seconds
Code: Select all
General Error
SQL ERROR [ mysqli ]
Data too long for column 'user_password' at row 1 [1406]
SQL
UPDATE phpbb33_users SET user_password = '$2y$10$RmefgEJmR0fl48e/LLs/ROR32Inz84/khVHOnAWqksbG2jYaydR22' WHERE user_id = 118964
BACKTRACE
Yes, it should give the output "Database updater has completed!"Neuropass wrote:Thanks I managed to run the upgrade. Should it give you a success message when finished?
Code: Select all
TRUNCATE TABLE phpbb_migrations
phpbb_
if that is not your table prefix.Yes that is what resynchronising does. Posts waiting for approval are not supposed to be included in the count, so if all you posts are in the queue then none are counted.Neuropass wrote:Isn't there a query or cmd line option to re-calculate posts and topics with the users IDs ?
Code: Select all
In total there are 426784 posts waiting for approval.
Oyabun1 wrote:Have a look at the posts table in the database and see if there is a post_approved column and/or a post_visibility column.
Code: Select all
UPDATE phpbb_posts SET post_visibility = 1;