Nextcloud 13 update on FreeBSD breaks (with redirection errors)

In Firefox: “The page isn’t redirecting properly”

FIX BELOW:

                    /!\ NEXTCLOUD 13.0.1 UPDATE /!\

The nextcloud 13.0.1 package changes the location of the bundled apps.
After updating to 13.0.1 you MUST adapt your configuration. You MUST
add an additional entry to the "apps-paths" array in config/config.php

    1 =>
    array (
      'path' => '/usr/local/www/nextcloud/apps-pkg',
      'url' => '/apps-pkg',
      'writable' => false,
    ),

For the default installation, the fix can be applied with:

  cd /usr/local/www/nextcloud
  su -m www -c "php ./occ config:import < /usr/local/share/nextcloud/fix-apps_paths.json"

So running this after an ‘failed’ upgrade, run this:

 su -m www -c "php /usr/local/www/nextcloud/occ config:import < /usr/local/share/nextcloud/fix-apps_paths.json"

Happy updating!

Tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.