Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2024 16:42:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281642] www/nextcloud Unable to complete a working setup after installation
Message-ID:  <bug-281642-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281642

            Bug ID: 281642
           Summary: www/nextcloud Unable to complete a working setup after
                    installation
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: bv@honeyguide.eu
             Flags: maintainer-feedback?(brnrd@freebsd.org)
          Assignee: brnrd@freebsd.org

I'm having a problem completing setup of nextcloud-php82-29.0.6 on FreeBSD
14.0.

The pkg installation is successful, and install page loads, but I can't see=
m to
get nextcloud installed.=20

Testing has been done in multiple environments, from pot jails, to native
install on a fresh VM, and getting nextcloud configured after install is
impossible.

I've tried installing with pkg:

1. setup via webui does all the necessary DB steps, then gives 502 error.
opening in fresh tab says "It looks like you are trying to reinstall your
Nextcloud. However the file CAN_INSTALL is missing from your config directo=
ry.
Please create the file CAN_INSTALL in your config folder to continue."

2. setup via 'occ maintenance:install' completes successfully with output
"Nextcloud was successfully installed"=20
but then running "occ status" says "Nextcloud is not installed - only a lim=
ited
number of commands are available"
and opening the webui shows "It looks like you are trying to reinstall your
Nextcloud. However the file CAN_INSTALL is missing from your config directo=
ry.
Please create the file CAN_INSTALL in your config folder to continue."=20

I've tried installing from github sources for nextcloud-server (29.0.6.1):

1. setup via webui does all the necessary DB steps, then gives 502 error, t=
hen
loops back to setup pages on opening in new tab.

2. setup via 'occ maintenance:install' completes successfully with output
"Nextcloud was successfully installed"=20
but then running "occ status" says "Nextcloud is not installed - only a lim=
ited
number of commands are available"
and opening the webui shows "It looks like you are trying to reinstall your
Nextcloud. However the file CAN_INSTALL is missing from your config directo=
ry.
Please create the file CAN_INSTALL in your config folder to continue."

I've reduced the config.php to absolute minimum, and have the correct paths=
 for
apps and apps-pkg.=20

Some of the errors that cropped up with different variations in testing
include:

"The requested alias \"IntegrityCodeChecker\" is deprecated. Please request
\"OC\\IntegrityCheck\\Checker\" directly. This alias will be removed in a
future Nextcloud version."

and this one goes away when no email is configured for first user in 'occ
maintenance:install'

An unhandled exception has been thrown:
OC\AppFramework\Utility\QueryNotFoundException: Could not resolve
OCA\Settings\Mailer\NewUserMailHelper! Class
"OCA\Settings\Mailer\NewUserMailHelper" does not exist in
/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.p=
hp:135

Has anyone tested installation *and* initial configuration, and able to con=
frm
a working instance with 29.0.6.1 or newer?

I always end up with this status

# su -m www -c 'cd /usr/local/www/nextcloud/; php occ status'
Nextcloud is not installed - only a limited number of commands are available
  - installed: false
  - version: 29.0.6.1
  - versionstring: 29.0.6
  - edition:=20
  - maintenance: false
  - needsDbUpgrade: false
  - productname: Nextcloud
  - extendedSupport: false

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281642-7788>