Uberspace / lab

The Uberlab provides various tutorials - written by you! - on how to run software and tools on Uberspace 7.
https://lab.uberspace.de
Other
315 stars 414 forks source link

[moodle] guide is broken due to lack of correct PHP support #1779

Closed mickeyhub closed 1 week ago

mickeyhub commented 2 months ago

The guide for Moodle does not work anymore. This is due to not being able to use PHP 8.0, as suggested in the guide. We added a banner to the guide to signal the broken state.

If you have any insights, please comment on this issue. Pull requests fixing the guide are also highly appreciated. If the guide does not get fixed within two months, we will remove it from the lab, as documented in the broken guides policy.

Not able to tag the author @direnc

Details:

I just tried to take all the Moodle Lab steps. In those steps, there isn't a "use PHP 8.0", step. Trying this myself uberspace tools version use php 8.0 did not work, as I received the reply PHP version 8.0 does not exist.

Not changing the PHP version, gives several errors in the first initialize step, opening the domain:

I tried running it, after setting my PHP version to 8.1, but I still received the following errors: