once upon a time i needed to upgrade to bookworm, because i needed PHP8. But back in time i read: LMS wont run in bookworm. So - i left everything unchanged.
However, the urge to use PHP8 has rather increased than decreased (unfortunately). So i needed to come up with a solution. My first idea: set up another server, simply to run LMS on it and leave it on bullseye.
Well - i didnt like the idea and i still dont. However, today i read somewhere in the LMS forums that bookworm and LMS work just fine on X86_64 based plattforms.
So - i downloaded a dietpi OVA to my ESXi, did the basic setup, installed LMS manually and … well… everything worked as expected… so … what exactly is not working again? Or why do we not want to use LMS on bookworm?
Sorry if the question sounds a little dumb… i am not really a newbie, but i simply lack the time to spend more time on such matters. Nevertheless - i just stumbled into this and thought it might be of interest to others as well… I really, really need PHP8. And i am just wondering why i shouldnt try to run the upgrade script to bookworm and install LMS manually. Am i missing something?
dietpi@OldMan:~$ sudo lscpu | grep Model
Model name: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Id like to help more, but i dont know which kind of info you really need?
And by the way, i really wanna say thank you for the upgrade script. It really went pretty smooth and all of my software kept working without any issues now after a good 5 days of testing.
switched to “beta” as advised (master seems to be not available for me). However this broke my apache installation (it stopped working right after that). Switching right back to dev didnt fix it:
│ × apache2.service - The Apache HTTP Server
││ Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: enabled)
││ Drop-In: /etc/systemd/system/apache2.service.d
││ └─dietpi.conf
││ Active: failed (Result: exit-code) since Wed 2024-01-17 14:30:15 CET; 2s ago
││ Duration: 18h 8min 24.128s
││ Docs: https://httpd.apache.org/docs/2.4/
││ Process: 2109964 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
││ CPU: 15ms
││
││ Jan 17 14:30:15 OldMan systemd[1]: Starting apache2.service - The Apache HTTP Server...
││ Jan 17 14:30:15 OldMan apachectl[2109967]: AH00526: Syntax error on line 6 of
││ /etc/apache2/sites-enabled/dietpi-nextcloud.conf:
││ Jan 17 14:30:15 OldMan apachectl[2109967]: Invalid command 'url.redirect', perhaps misspelled or
defined by a module
││ not included in the server configuration
││ Jan 17 14:30:15 OldMan apachectl[2109964]: Action 'start' failed.
││ Jan 17 14:30:15 OldMan apachectl[2109964]: The Apache error log may have more information.
││ Jan 17 14:30:15 OldMan systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
││ Jan 17 14:30:15 OldMan systemd[1]: apache2.service: Failed with result 'exit-code'.
││ Jan 17 14:30:15 OldMan systemd[1]: Failed to start apache2.service - The Apache HTTP Server.
My Apache2 config is pretty default (never changed anything):
Needed my Nextcloud urgently and restored a backup from last week. That also rolled back my bookworm upgrade. But never mind. I will simply leave it like that for another while.
did you use master or beta branch this time? At least you would require beta as we will add support for LMS back on v9.
For Apache it would be needed to further investigate because your dietpi-nextcloud.conf file seems to be the one for Lighttpd and not Apache. This naturally leads to the failure of Apache. Would be interesting to see your install log
My current thoughts:
1.) You said it shouldnt be necessary to switch to the dev branch… so i tried to upgrade to bookworm yesterday night while staying on master (i simply wanted bookworm back so badly). Worked again nice and smoothly. Which matches with your research.
2.) Unfortunately, i cannot test restoring the backup of said config file, because i restored a system backup yesterday (twice actually) in order to roll back to bullseye.
However, i would like to express my thanks and my sincere gratitude for your continous help.
THANK YOU
I also setup a small testvm, installed my usual software titles, switched to the DEV branch and upgraded again to bookworm and i can confirm that the issue has been successful mitigated.