Nextcloud plugin - update to 22

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
So i am still on 21.0.0 as i held back due to the many issues with updating the plugin to 22 last year. Today i made an attempt to update to 23.0.1. After dealing with some errors and redirect issues due to the new https setup, i managed to get access to the GUI again only to get a notification after clicking the update button that i cannot update from 21 to 23 directly. So here is the simple question: is it still possible to update the plugin to 22 from within TrueNAS?
 

da_da

Explorer
Joined
Apr 7, 2021
Messages
67
So based on My experience on NextCloud, Bittorent, graylog, etc, etc... I do not recommend using any from plugins. I believe they are inherently flawed with upgrades. As there are very many forum posts here, every single one of them demonstrate how to "MANUALLY" install them using jails.

I have had awful time with Nextcloud upgrades so I feel your pain.

Even the Plex was problematic but somehow someone was able to create a script to save the plugin, somehow.
 

joshscott

Cadet
Joined
Nov 2, 2021
Messages
2
I've been running the TrueNAS plugin for a long time now, updating with the update button on the plugin in the TrueNAS UI with no issues. But I just tried to update it and I'm going from 25.0.4 to 27 and it won't skip major versions. So now I'm running into big headaches I don't have time for. Shoot.. I love Nextcloud on TrueNAS but I'm a busy guy and there does not appear to be a convenient way to steup up from 25.0.4 to 27 at this point. Updater in the Nextcloud GUI doesn't work either. It says "Check for expected Files: The following extra files have been found: htaccess.dist" and fails. I don't want to switch to Synology but I just don't have time to do surgical updates in the jail that take an afternoon of messing around to complete.
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
I have done it, from 24 to 26 - it turned out fine but it is tricky. What i basically did is change the version number in config.php to the latest release of the previous version and after that performed the update via the TN GUI.
 

victort

Guru
Joined
Dec 31, 2021
Messages
973
Soooooo, plug-ins are deprecated and not maintained anymore. You would be ill-advised to continue using them.

Check my signature for the Nextcloud installation script.
It is a hands down better approach to running Nextcloud. Takes some effort to get up and running, but once it’s running, it’s running.

All it needs is some dataset setup, and preparing a small config file with your IP and such.

Updates are then done from the Nextcloud GUI.
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
Soooooo, plug-ins are deprecated and not maintained anymore. You would be ill-advised to continue using them.

Check my signature for the Nextcloud installation script.
It is a hands down better approach to running Nextcloud. Takes some effort to get up and running, but once it’s running, it’s running.

All it needs is some dataset setup, and preparing a small config file with your IP and such.

Updates are then done from the Nextcloud GUI.
I just updated from 26.0.1 to 27.0.0 via the TN GUI and that worked perfectly fine without any issue. The issue i see with updating via the NC GUI is that you still need to manually update SQL, PHP and so on whilst the plugin update takes care of that.
 

victort

Guru
Joined
Dec 31, 2021
Messages
973
I just updated from 26.0.1 to 27.0.0 via the TN GUI and that worked perfectly fine without any issue. The issue i see with updating via the NC GUI is that you still need to manually update SQL, PHP and so on whilst the plugin update takes care of that.
The pkgs need to be updated from the jail, yes. The GUI just updates Nextcloud.

The problem is that the plug-in is not maintained anymore beyond just keeping it up until 2025 (it has been announced that it will be removed at that time)
 

b_d91

Cadet
Joined
Dec 8, 2023
Messages
4
I have done it, from 24 to 26 - it turned out fine but it is tricky. What i basically did is change the version number in config.php to the latest release of the previous version and after that performed the update via the TN GUI.
Do you have a guide or can you provide insight of how to do this?
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
Do you have a guide or can you provide insight of how to do this?
No, not really. It requires some FreeBSD knowledge but if that is no issue, this is simple going into the TN shell, locate config.php. Edit the version number in config.php with you regular editor (i use nano) save and restart the jail.
 

b_d91

Cadet
Joined
Dec 8, 2023
Messages
4
No, not really. It requires some FreeBSD knowledge but if that is no issue, this is simple going into the TN shell, locate config.php. Edit the version number in config.php with you regular editor (i use nano) save and restart the jail.
That sounds like a good approach but I have been doing research and now I realize the ecosystem can be upgraded...moving into using Truenas with a VM rather straightforward from the server build.
 
Top