freenas update (11.2 u6 to u7) broke nextcloud

tweiner

Dabbler
Joined
Dec 20, 2013
Messages
15
I updated, according to freenas GUI nextcloud is running. But I can not get to the Nexcloud gui. rebooted to u6, still not accessable. What did I do wrong? How can I fix it?

Thanks

tw
 

tweiner

Dabbler
Joined
Dec 20, 2013
Messages
15
I just checked:

nginx is not running
php_fpm is running as pid 6086
mysqld does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable

How do I start them?

Thanks
 

tweiner

Dabbler
Joined
Dec 20, 2013
Messages
15
Interesting: when I try to start nginx I get
Shared object "libpcre.so.1" not found, required by "nginx"

and, as you predicted when starting mysql I get the message
mysql already running? (pid=6223).

Also I executed these commands from inside the jail.

Thanks
 

tweiner

Dabbler
Joined
Dec 20, 2013
Messages
15
I did as you suggested. When I "pkg install pcre " from inside the jail,I got the messate that:

Updating iocage-plugins repository catalogue...
iocage-plugins repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed

When I tried to start "nginx"
I got the same message as before.
Shared object "libpcre.so.1" not found, required by "nginx"

This is getting very interesting.

Thank you for taking the time to help me. I really appreciate it.
 

WDRedLover

Cadet
Joined
Dec 14, 2018
Messages
8
Well, yeah, this is weird. Try to check /var/log/nginx/error.log inside the jail, maybe there are more informative errors.
 

tweiner

Dabbler
Joined
Dec 20, 2013
Messages
15
The last entry in the error log was November 15, 2019. And I was accessing the nextcloud yesterday morning.

This all started when I did the upgrade. I have seen some messages on line that nextcloud does not like freenas updates. But I have not been able to find any solutions. I may not be looking in the right place.
 

WDRedLover

Cadet
Joined
Dec 14, 2018
Messages
8
I'm myself noticed some problems like permissions for some files and folders were changed after Nextcloud jail was updated, but it wasn't completely broken like it your case.

For you maybe it will be easier to just create a new Nextcloud jail and move your current config there. You would need to basically do a backup of your current config and then restore it to the new jail. I haven't tried those instructions myself yet but I don't see why they wouldn't work.
 
Joined
Jul 2, 2019
Messages
648
From the release notes (https://www.ixsystems.com/blog/library/freenas-11-2-u7/) would this suggestion be of any use?
As an edge case, if you install another instance of an already installed plugin and that plugin installation fails, the cleanup from the failure will also delete the dataset for the first installation of that plugin. As a workaround until this is fixed in 11.3, it is recommended that users wanting to install another version of an installed plugin perform the installation from the CLI, using the -k switch:

iocage fetch -P -n PLUGIN_NAME -k RESTOFPARAMS
 
Top