Per infra request, this bug is to track the progress of the upgrade from phpBB-2 to phpBB-3, which has been in progress since at least 2017. We have several people around who technically can go through the migration, but as I understand it, there are some specifics related to our infra set-up that infra needs to handle. Thank you.
Dumping some state here: The forums is running very old software; for a while now the forum-mods team has requested an upgrade. I did some work in 2020-2021 to test the upgrade; I'm trying to document what I did on this bug. On forumstest.gentoo.org: - Installed phpbb-3.3.1.tar.bz2 into /var/www/forumstest.gentoo.org/htdocs-3.3.1 - Symlinked htdocs => htdocs-3.3.1 in that directory. - Clone https://anongit.gentoo.org/git/proj/forums.git into htdocs/styles/.gentoo-themes - Symlink htdocs/styles/gentoo => ./.gentoo-themes - edit htdocs/config.php to set the correct database username / password / databasename. For testing, I used 'forumstest_rw' as the user, the proper password, and 'gentoo_forummigration' as the tablename. - Then you can login to the 3.X forums and do a "conversion" in the installer. The conversion will need the phpbb-2.x tablenames, and the user you are connecting to the DB will need RO access to the phpbb-2.x databases. The conversion itself: - Will take probably 1-2 days. - Its automated, but buggy. - Make sure you adjust the haproxy / nginx timeouts to be longer, we do not want the migration connection to drop; as it will disrupt the migration. - The migration is not resumable. - Connectivity is you => nginx => php-pool, you generally want 900s timeout for each hop? - Maybe longer. Run: /etc/nginx/vhosts.d/puppet/forumstest.gentoo.org # diff -u ../forums.gentoo.org/vhost.conf vhost.conf To see what nginx changes I did for the test migration. The migration itself hit a few snags (I'll add more stuff later, this is an incomplete list of snags.) - We are basically making a copy of the forums database, its non-trivial size and we also have binlogs; so at one point we ran out of space on the DB servers. Ensure sufficient space is available (afaik we added more space to address this issue.) - There is some shared-key-prefix thing that was not properly set in the migration and the key is used to generate some assets; and the fact that this key was not properly copied meant some of the imports did not work right. I need to follow up in my IRC logs on this. - Some posts were not properly converted (probably an encoding issue) but it seemed like a small number so we had not considered it a blocker.
Notes for myself: 2021-06-10 - 2021-07-02 was the last test; harvest it for the prefix key thing; I gotta run will update later.
(In reply to Alec Warner from comment #1) > Dumping some state here: Thanks! > - Installed phpbb-3.3.1.tar.bz2 into For any future runs, I would recommend using 3.0.x first, since the migration tool is a lot less tested on later releases (this should let us avoid some bugs, although I can't say for sure those will be anything we would see). After migrating to 3.0.x, upgrade as one normally would (not sure how safe it is to go from 3.0.x straight to current).
Friendly ping in case we're still doing this. :]
I was wondering if this was still a thing. Started getting into Gentoo and i would like to browse on my phone instead of pinching and zooming
I'm a long time gentoo user and new mod in the forums. I've been following the update wish since the first announcement. I'm willing to help and have experience in web applications. I will do the recruiter/develop quiz to provide more information. Happy to hear from anyone of you. - Banana
Hello, Ping to see if this is still a thing. Thanks Joe