Nextclount 29.0.2 update - /etc/webapps/nextcloud/.htaccess.pacnew missing Arch webapp config?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Devs,

Nextcloud 29.0.2 update was released today and the /etc/webapps/.htaccess.pacnew config file is missing the entire config for the Archlinux webapp install. Applying the .htaccess.pacnew results in not being able to access the server with a forbidden error:

[Thu Jun 06 20:58:10.130910 2024] [autoindex:error] [pid 17794] [client 192.168.6.104:52498] AH01276: Cannot serve directory /usr/share/webapps/nextcloud/apps/dashboard/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive

  The upper part is the same, but the lines from the bottom are removed:

--- .htaccess.20240523  2024-06-06 20:55:04.132401657 -0500
+++ .htaccess.20240606  2024-06-06 08:57:25.000000000 -0500
@@ -108,29 +108,3 @@

 AddDefaultCharset utf-8
 Options -Indexes
-#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####
-
-ErrorDocument 403 /nextcloud/index.php/error/403
-ErrorDocument 404 /nextcloud/index.php/error/404
-<IfModule mod_rewrite.c>
-  Options -MultiViews
-  RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1]
-  RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1]
- RewriteCond %{REQUEST_FILENAME} !\.(css|js|mjs|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map|webm|mp4|mp3|ogg|wav|flac|wasm|tflite)$
-  RewriteCond %{REQUEST_FILENAME} !/core/ajax/update\.php
-  RewriteCond %{REQUEST_FILENAME} !/core/img/(favicon\.ico|manifest\.json)$
-  RewriteCond %{REQUEST_FILENAME} !/(cron|public|remote|status)\.php
-  RewriteCond %{REQUEST_FILENAME} !/ocs/v(1|2)\.php
-  RewriteCond %{REQUEST_FILENAME} !/robots\.txt
-  RewriteCond %{REQUEST_FILENAME} !/(ocs-provider|updater)/
-  RewriteCond %{REQUEST_URI} !^/\.well-known/(acme-challenge|pki-validation)/.*
-  RewriteCond %{REQUEST_FILENAME} !/richdocumentscode(_arm64)?/proxy.php$
-  RewriteRule . index.php [PT,E=PATH_INFO:$1]
-  RewriteBase /nextcloud
-  <IfModule mod_env.c>
-    SetEnv front_controller_active true
-    <IfModule mod_dir.c>
-      DirectorySlash off
-    </IfModule>
-  </IfModule>
-</IfModule>

Restoring the .htaccess from the 5/23 update to 29.0.1 fixes the issue. Is this intended and are we supposed to reconfigure for this point release in some other way? https://wiki.archlinux.org/title/Nextcloud is silent and there was no install notice during the pacman update?

If I'm supposed to reconfigure something and put the webapp config for Arch somewhere else, just let me know where. The nextcould forum isn't useful for the webapp install approach.

--
David C. Rankin, J.D.,P.E.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux