Debian 11 Bullseye

Post Reply
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Debian 11 Bullseye

Post by admin »

Image

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: Debian 11 Bullseye update Wordpress & phpBB

Post by admin »

Bringing the web-server to this version and especially updating php was a pain in the ass.
After the OS to Debian 11 (3 steps...) and afterwards php8.1 working looks fine.

Wordpress did not work anymore, had to change some php settings about hardcodes version number in wp-config.php?
That was the main site. Then came my photo site, just another apache2 html folder.
Adjusted the same as for the main page, but it uses other theme files, so not working ... had to rename the plugin folder-name and re-install it again.

Still on the same server phpBB, this forum ... 'thing'.
On my 1st post discovered that all posts with pictures do not show?
Weird behavior. Searched a bit around, found to 'Purge the cache' on ACP page.
After that, only ACP still worked, normal forum completely down.

Next I made an error, rebooted the whole server.
Now nothing of phpBB did worked. Again searching logs and internet and found xml.
Ofcourse that's also needed, so installed php-xml:

Code: Select all

root@DGDEB01:~# sudo apt-get install php-xml
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  php8.1-xml
The following NEW packages will be installed:
  php-xml php8.1-xml
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 114 kB of archives.
After this operation, 490 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://packages.sury.org/php bullseye/main amd64 php8.1-xml amd64 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce [107 kB]
Get:2 https://packages.sury.org/php bullseye/main amd64 php-xml all 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e [7,444 B]
Fetched 114 kB in 0s (670 kB/s)
Selecting previously unselected package php8.1-xml.
(Reading database ... 272361 files and directories currently installed.)
Preparing to unpack .../php8.1-xml_8.1.11-1+0~20220929.27+debian11~1.gbpe414ce_amd64.deb ...
Unpacking php8.1-xml (8.1.11-1+0~20220929.27+debian11~1.gbpe414ce) ...
Selecting previously unselected package php-xml.
Preparing to unpack .../php-xml_2%3a8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb ...
Unpacking php-xml (2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e) ...
Setting up php8.1-xml (8.1.11-1+0~20220929.27+debian11~1.gbpe414ce) ...

Creating config file /etc/php/8.1/mods-available/dom.ini with new version

Creating config file /etc/php/8.1/mods-available/simplexml.ini with new version

Creating config file /etc/php/8.1/mods-available/xml.ini with new version

Creating config file /etc/php/8.1/mods-available/xmlreader.ini with new version

Creating config file /etc/php/8.1/mods-available/xmlwriter.ini with new version

Creating config file /etc/php/8.1/mods-available/xsl.ini with new version
Setting up php-xml (2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e) ...
Processing triggers for libapache2-mod-php8.1 (8.1.11-1+0~20220929.27+debian11~1.gbpe414ce) ...
Processing triggers for php8.1-fpm (8.1.11-1+0~20220929.27+debian11~1.gbpe414ce) ...
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for php8.1-cli (8.1.11-1+0~20220929.27+debian11~1.gbpe414ce) ...
Everything looks ok, even preview posts.

But then 'Submit' the 1st post, nothing seems to happen, I stayed in edit mode.
Checked writings, a preview. Now I have 2 same posts previews and a edit below?? Weird !
Again a 'Submit' and again in edit mode back.
Just went to a folder up and went back to my written Reply, which now appears 3 times :)
Thrown 2 away.

Maybe needs another reboot (restart of apache2, php and what more ).
When I write this message... Have to check when I 'Submit'.

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: Debian 11 Bullseye update Wordpress & phpBB

Post by admin »

Ahaa,\

Got error:

Code: Select all

This page isn’t working
dolfgeerdink.nl is currently unable to handle this request.
HTTP ERROR 500
Wtf? Then back button, my edit gone? Again back, the main topic on which I replyed.
Only the 1st message is shown. Then I press F5, refresh and voilà, my reply is shown.
pfff, was a lot of text to type again.... submit once ...

Weird, something is still not perfect regarding apache2, php, xml or whatever it is.
submit once ...

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: Debian 11 Bullseye & phpBB

Post by admin »

And another test... (changed /var/www/ to /var/www/html/ in a apache2 setting, not main!)

Still errors on submit, grrrr...
(Not on edit a post, weird stuff.)

Maybe an update of phpBB will help? We'll see. (Solved!)

DG.
Post Reply