danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
258 stars 70 forks source link

Update to Nextcloud v19 #120

Closed Snuggle closed 4 years ago

Snuggle commented 4 years ago

Nextcloud version 19.0.0 (Stable) was released, this plugin should also receive an update!

https://github.com/nextcloud/server/releases/tag/v19.0.0

danb35 commented 4 years ago

I've tested this a little bit. On line 291 of the script, you can change latest-18.tar.bz2 to latest-19.tar.bz2, and it should install version 19 and everything else it needs. Can you try it and make sure it works OK?

RafalLukawiecki commented 4 years ago

I see you have closed this issue. Does it mean this change has been ported to your setup script, ie. if I were to re-run it, would I get v19? Thank you for this very useful script, excellent work.

danb35 commented 4 years ago

Yes, if you run the current version of the script, it will install Nextcloud 19. If you already have the script downloaded, you can run git pull to update it.

RafalLukawiecki commented 4 years ago

Many thanks, @danb35.

I have followed your instructions and I have the separate dataset with 4 children datasets for config, db, files and themes. Should I just install into a new jail with 19, using your script? Is that the best way to upgrade from 18.0.16? Apologies for hijacking this issue with a support query, but this was the first time I have installed Nextcloud and very much thanks to your helpful script. Thank you again.

danb35 commented 4 years ago

If you already have a running installation, I'd wait until the built-in updater gives you 19 and update that way. Expect it to be a few weeks, possibly not until after the 19.0.1 release. But if you can't wait, I'd expect what you describe to work.

RafalLukawiecki commented 4 years ago

Happy to wait. I was unsure if major updates required something more, perhaps related to the way your script has set things up. Glad to hear this can be done using the in-app updater. Thank you for your work once again, @danb35.

xames81 commented 4 years ago

how i can check witch version i have installed? Thanks

xames81 commented 4 years ago

Where is in-app updater? Thanks

danb35 commented 4 years ago

The answer to both of your questions is "in the Nextcloud admin pages". For further information, read the Nextcloud admin manual.

xames81 commented 4 years ago

Ok thanks.