wenn ich das Script als root ausfĂŒhre erscheint das selbe Problem bei loading modules - today.
Das verzeichnis /usr/local/include/ebtb habe ich gelöscht.
Das Script habe ich ebenfalls gelöscht und erneut heruntergeladen und ausgefĂŒhrt.
Ich verwende Ubuntu 24.04.
Und was ist hiermit:
Es tut mir furchtbar leid, aber das Ganze ist mir ansonsten unerklÀrlich.
ernolf
AppArmor ist im Einsatz.
Hallo,
Auf meinem System ist AppArmor installiert.
Hast du eventuell einen Tipp fĂŒr mich?
Danke
Am einfachsten ist es, AppArmor fĂŒr die Dauer des Skriptes ganze einfach kurz aus zu schalten:
sudo systemctl stop apparmor
dann das Skript ausfĂŒhren, sehen ob es dann geht.
Falls es dann immer noch nicht geht, weisst du zumindest dass es eine Andere Ursache hat.
Nachdem du dein Update fertig hast, kannst du AppArmor ja wieder starten:
sudo systemctl start apparmor
h.t.h.
ernolf
Hi, how can i Donate for the Script!?
Hi @Worker73
You will find all informations how you can contribute with this call:
php-updater --contribute
Here the adresses:
- PayPal:
PayPal.Me @ernolf - Github Sponsors:
Github Sponsors @ernolf
or in cryptocurrency
- Bitcoin to
bc1qwlcqc7zsak45vwqk0dt7hnxlrta7syzstgf7t8 - Ethereum, BNB Smart Chain, Polygon to
0x72b7901b3daa45a7266A77Aa3B3552aB686d0D0D - Solana to
E7e13hBB7rmhY2N1MqAY88TKobBktJA7rSpTZWAPec6Y
I sincerely want to express my thanks to those who will and have shown their appreciation with donations! Apart from motivating me to continue developing my scripts, this also helps me in a very concrete way, as I can no longer work in my job due to some stupid diseases.
![]()
Much and good luck,
ernolf
Donated via PayPal⊠Frohes Fest und DankeâŠ
Thank you so much for your effort - this is a live saver !
Many thanks ernolf, for me php8.4 had pushed itself to forefront due to an update. With your php-updater it was really easy to change the version bach to 8.3 for Nextcloud 30.0.4. Now the cron job works again ![]()
![]()
Thank you for your support ![]()
ernolf
Moin ernolf,
so ein wunderschönes Skript habe ich noch nicht gesehen. Vielen Dank fĂŒr Deine MĂŒhen, Donation ist bereits auf dem Weg!
GrĂŒĂe
Hallo @solidus,
Vielen Dank fĂŒr die schmeichelnden Worte und deine UnterstĂŒtzung!
so kann das nur jemand sehen, der sich selber gerne mit Scripting beschÀftigt!
Du kannst mir gerne per PM schreiben, was dir am besten gefiel und vielleicht auch, wo du noch Entwicklungspotenzial siehst.
Ich bin immer offen fĂŒr ErweiterungsvorschlĂ€ge oder neue Ideen.
Viel GlĂŒck,
ernolf
Hi! I had no issue to be fixed per say but while searching for ways to improve Nextcloudâs performance, I stumbled across your script and gave it a go. It went through my config, made some suggestions, I decided to upgrade PHP using it as it seemed so easy and it worked like a charm. Went a bit too far with php8.4 but going back to 8.3 was a breeze as well.
Stellar performance from this script! Hats off.
Iâd like to know if there is a reason not to provide an easy way to remove old php versions (other than time required to develop the functionality of course).
For now, I manually removed older, unused version (dpkg --list | grep phpX.y | awk â{print $2}â | xargs apt purge -y) but I really think a simple âphp-updater --remove 7.3â would be a nice addition.
Anyway, thanks for the script; Iâm definitely sending a few bucks your way.
Cheers!
Hi @kbftech,
thank you for your feedback!
Thatâs an important point. Iâve always been very cautious about it because I thought that an admin would remove old packages that were no longer needed, but over time Iâve noticed that a lot of users still have PHP7.2 remnants installed and thatâs actually causing significant problems.
Iâm currently working on an algorithm to recognize which PHP versions are candidates for uninstallation and then offer them for uninstallation interactively, which is exactly what you mean, if Iâve understood correctly.
Your feedback gives me just the needed motivation to terminate that and bring that to a good solution.
So your suggestion will be available soon!
⊠oh, and thank you for your support!
![]()
ernolf
btw,
this can be done much easier with
sudo apt-get purge '*phpX.y*'
f.y.i.
the single quotes matter, to protect against globbing!
ernolf
Thanks! I did not know apt-get accepted wildcards!
Iâm just trying to run this script for the first time on our NC25 install. Hit an immediate problem though, as it fails on the first dependent module âtodayâ.
- Failed to load required module 'today'
this can happen if the module server is down e.g. for maintenance
try again later or run
sudo wget -O /usr/local/bin/php-updater https://global-social.net/script/php-updater
and start the script again.
What is the module server, and why is it reporting as potentially down?
Thanks
Hi @tonyb,
Does the box itâs running on have free access to the Internet?
The script requires a large number of modules (around 100). These must be downloaded from the module server. So if thereâs no access to the Internet, it wonât work.
h.t.h.
ernolf