Bug 231391 - www/nextcloud: config.sample.php's broken apps_rpaths url breaks calendar, contacts
Summary: www/nextcloud: config.sample.php's broken apps_rpaths url breaks calendar, co...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-16 06:47 UTC by Damjan Jovanovic
Modified: 2018-09-26 12:10 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (brnrd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damjan Jovanovic 2018-09-16 06:47:21 UTC
The package for nextcloud contains this in its config.sample.php:

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

which breaks at least the calendar and contacts in nextcloud (calendar link missing, contacts link hangs on a blank page).

When I change the second entry's url from '/var/www/apps-pkg' to just '/apps-pkg', it works.

Could this be a regression from bug 215641?
Comment 1 Matthias Fechner freebsd_committer 2018-09-20 10:36:57 UTC
(In reply to Damjan Jovanovic from comment #0)
Patch tested, compiles fine now.
Comment 2 Bernard Spil freebsd_committer 2018-09-26 10:40:47 UTC
Will be in 14.0.1 update
Comment 3 commit-hook freebsd_committer 2018-09-26 12:07:47 UTC
A commit references this bug:

Author: brnrd
Date: Wed Sep 26 12:06:45 UTC 2018
New revision: 480730
URL: https://svnweb.freebsd.org/changeset/ports/480730

Log:
  www/nextcloud: Update to 14.0.1

   - Fix broken apps-pkg path [1]
   - Fix plist issues [2]
   - Add caching, pcntl, imagick options [3]
   - Remove redundant USES (mysql, pgsql)

  PR:	231391 [1], 231419 [2], 231704 [3]
  Submitted by:	Nathan <ndowens yahoo com> [2]
  Submitted by:	Matt <fsbruva yahoo com> [3]
  Reported by:	Damjan Jovanovic <damjan jov gmail.com> [1]
  Reported by:	mfechner [2]

Changes:
  head/www/nextcloud/Makefile
  head/www/nextcloud/distinfo
  head/www/nextcloud/files/patch-config_config.sample.php
  head/www/nextcloud/files/pkg-message.in
  head/www/nextcloud/pkg-plist
Comment 4 Bernard Spil freebsd_committer 2018-09-26 12:10:13 UTC
Thanks for reporting!