Nextcloud is currently in maintenance mode

Status
Not open for further replies.

bodriye

Explorer
Joined
Mar 27, 2016
Messages
82
install sudo then and you need to be in nextcloud config directory i think (not sure if it is apache24 on the version of nextcloud that is in plugins)
cd /usr/local/www/apache24/data/nextcloud

pkg install sudo
 
Last edited:

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
I do not have nextcloud there is there any where else nextcloud would be
 

bodriye

Explorer
Joined
Mar 27, 2016
Messages
82
cd /usr/pbi/nextcloud-amd64/www/nextcloud

sudo -u www /usr/pbi/nextcloud-amd64/bin/php occ maintenance:mode --off
 

tjiani111

Cadet
Joined
Jan 16, 2018
Messages
3
When I type pkg install sudo I get /var/db/pkg permissions (o777) too lax spit back at me.
 

tjiani111

Cadet
Joined
Jan 16, 2018
Messages
3
my directory is in cd /usr/local/www/nextcloud so I modified your command to su - www /usr/local/www/nextcloud/bin/php occ maintenance:mode --off and I got the error su: pam_start: system error
Thanks for the help btw
 

varcal

Explorer
Joined
Jan 4, 2018
Messages
60
I have my nextcloud to where it gives me a black page how do I fix that it dose it on Mac and pc
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
su: pam_start: system error
You've got some serious system problems going on with, at least, that jail. Have you been messing with permissions on the pool or the jails dataset?
 

tjiani111

Cadet
Joined
Jan 16, 2018
Messages
3

total 29574
-rwxrwxrwx 1 root wheel 246 May 12 2017 FreeBSD.meta
-rwxrwxrwx 1 root wheel 2871296 May 12 2017 local.sqlite
-rwxrwxrwx 1 root wheel 43151360 May 11 2017 repo-FreeBSD.sqlite

I have been messing with the permissions, I have checked all boxes in permissions.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I have been messing with the permissions, I have checked all boxes in permissions.
...and in so doing, you've broken your jails. Doing that to your shares is one thing, but if you do it to your jails dataset, you will irreparably break your jails. The only real answer is to destroy and recreate the jail(s).
 
Status
Not open for further replies.
Top