I had the version 28.0.4 and wanted to update first to 28.0.6 or now to 29.0.4. After the upgrade i got an âInternal Server Errorâ. I analyzed it and found the reason:
There is in the .htaccess file a line âRewriteBase Arrayâ.
If I remove this line nextcloud works.
This line appear again after âphp occ maintenance:update:htaccessâ
I found in the config.php:
âhtaccess.RewriteBaseâ =>
array (
âphp8.3-cliâ =>
array (
â./nextcloud/occâ =>
array (
âmaintenance:update_htaccessâ => â/â,
),
),
),
Is this a bug or a misconfiguration at an other place?
Thatâs a misconfiguration. Maybe a cut-n-paste gone wrong at some point?
Makes sense it would break your .htaccess file. That parameter (htaccess.RewriteBase) is applied to the file every time the .htaccess gets generated/updated.
Thanks, this works for me.
I donât know, why I configured this in the config.php.
But still, I am not sure if this is a bug in the update:htaccess.
Because I think my entry is a correct syntax (may be an useless).