Giter Club home page Giter Club logo

Comments (6)

enoch85 avatar enoch85 commented on August 25, 2024

@nasi87 Thanks for your report!

What happens if you change this line to "<" instead if ">"?

Also please always use the update.sh and not the nextcloud_update.sh.

from vm.

nasi87 avatar nasi87 commented on August 25, 2024

You're welcome.

Sorry I did not mention that I used update.sh at first what didn't work - then I tried nextcloud_update.sh itself.

So I changed to if [[ "$NCVERSION" < "$CURRENTVERSION" ]] and now it seems to work:

Checking latest released version on the Nextcloud download server and if it's possible to download...
SUCCESS!
Latest version is: 10.0.1. Current version is: 9.0.53.
New version available! Upgrade continues...
Backing up files and upgrading to Nextcloud 10.0.1 in 10 seconds...
Press CTRL+C to abort.

It's failing with "Exception: files can't be disabled.
Update failed" but that's a completely different problem I'll investigate later this week...

Thanks for your quick help anyway!

from vm.

enoch85 avatar enoch85 commented on August 25, 2024

@nasi87 Thanks! I'll try to see if there is a better way to compare versions. Please try ti run the script again after it is upgraded to see if it tries to upgrade even if the version numbers are the same.

Regarding the other bug, I've heard about it, but that's really a server issue: https://github.com/nextcloud/server/

from vm.

nasi87 avatar nasi87 commented on August 25, 2024

@enoch85 I performed upgrade manually. Modified nextcloud_update.sh now seems to behave as it should:

Checking latest released version on the Nextcloud download server and if it's possible to download...
SUCCESS!
Latest version is: 10.0.1. Current version is: 10.0.1.
No need to upgrade, this script will exit...

from vm.

enoch85 avatar enoch85 commented on August 25, 2024

So what did you change? Did you change it the way I told you, or did you do something else? @nasi87

from vm.

enoch85 avatar enoch85 commented on August 25, 2024

This is fixed in 20932d3

from vm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.