Giter VIP home page Giter VIP logo

Comments (4)

izderadicka avatar izderadicka commented on May 29, 2024

Updating audioserve to latest version:

  1. Docker
    stop and remove current container - docker rm -f audioserve (or whatever name you gave to container during run)
    docker pull izderadicka/audioserve - to pull latest version of image
    or start with docker run --pull always .. (but then with each start you automatically updating to last image and it is not available on older versions of docker)

  2. Static build
    Just download latest static build releases and replace

  3. Build from source
    I guess people will know what to do (git pull or git clone)

I'll keep it open for a while for people if folks will need some additional support with updating.

from audioserve.

TheNomad11 avatar TheNomad11 commented on May 29, 2024

Thanks a lot, that was easy. When I after docker pull izderadicka/audioserve then use docker start audioserve it automatically uses the latest one? How can I double check? Thanks again!

Edit 1: It seems updating involves more steps according to https://phoenixnap.com/kb/update-docker-image-container Is this guide correct?

Edit 2: I followed this guide and removed the old container and started audioserve the same way as the first time (see first post). Then I also had to restart apache. Without restarting I was not able to get the last remote position

from audioserve.

izderadicka avatar izderadicka commented on May 29, 2024

You can always check version of audioserve in image by running docker run --rm izderadicka/audioserve --version

Re: Edit1 - yes other steps are useful but not essential, I think - you should need to delete old version of container - but you'll get error if you try to run container with same name. You can use --rm to delete container automatically after it is done.

Re: Edit 2: last remote position - it's bit tricky and probably not exactly bulletproof yet - last position is shared via websocket connection to client. After restart of server this connection is lost and client tries to reestablish (but it might take time, or maybe client is already had gave up on retrying) - so I think easiest is restart client - but maybe reverse proxy plays some role, I do not know about apache, but I would expect to handle new websocket connection from client if backend is up again.

from audioserve.

TheNomad11 avatar TheNomad11 commented on May 29, 2024

Thanks! It worked fine the way I described it, remote position (from both web version and Android app) included. Generally, position sync has worked very reliably. I have used Audioserve a lot, listening audiobooks and I am very happy with it. Also great that it uses so little resorces. Am running it on the cheapest and slowest VPS that I have and works fine. Thanks so much

from audioserve.

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.