Copyright © https://mongoose-os.com

Mongoose OS Forum

frame
ATTENTION! This forum has moved to:

https://community.mongoose-os.com

Do not post any new messages.

Cannot update to previous version on macOS

I would like to try the web UI which was available in version 2.6.0 (removed in 2.7.0).
The problem is that I cannot downgrade using mos update 2.6.0 I keep getting the latest version.

$ mos update 2.6.0
Update channel: release
Running brew update
Running brew tap cesanta/mos
Running brew install mos
Warning: cesanta/mos/mos 2.12.1 is already installed and up-to-date
To reinstall 2.12.1, run `brew reinstall mos`

Comments

  • nliviunliviu Romania

    Remove mos with brew remove mos (and maybe brew untap cesanta/mos),reinstall with curl -fsSL https://mongoose-os.com/downloads/mos/install.sh | NO_BREW=1 /bin/bash and you will be able to mos update 2.6.0
    Ref

    Thanked by 1fjp
  • Thanks, your instructions helped.

    $ brew remove mos
    Uninstalling /usr/local/Cellar/mos/2.12.1... (7 files, 32.9MB)
    $ brew untap cesanta/mos
    Untapping cesanta/mos...
    Untapped 2 formulae (34 files, 32.3KB).
    $ curl -fsSL https://mongoose-os.com/downloads/mos/install.sh | NO_BREW=1 /bin/bash
    Downloading https://mongoose-os.com/downloads/mos-release/mac/mos ...
    ######################################################################## 100,0%
    Installing into /Users/fjp/.mos/bin/mos ...
    Adding /Users/fjp/.mos/bin to your PATH in /Users/fjp/.bashrc
    The Mongoose OS command line tool
    Version: 2.12.1
    Build ID: 20190222-142855/2.12.1-g980a486
    Update channel: release
    SUCCESS: /Users/fjp/.mos/bin/mos is installed.
    Run '/Users/fjp/.mos/bin/mos --help' to see all available commands.
    Run '/Users/fjp/.mos/bin/mos' without arguments to start a simplified Web UI installer.
    ➜  mos mos update 2.6.0
    zsh: command not found: mos
    

    Because I am using zsh instead of bash shell, I had to add the bin/mos folder to my .zshrc file:

     export PATH="$PATH:/Users/fjp/.mos/bin"
    

    After that I was able to downgrade using mos update 2.6.0 and the web gui is working :) Thank you!

  • nliviunliviu Romania

    Cool :smiley:

Sign In or Register to comment.