Warning

This documentation only applies for the development version of Funkwhale! Visit the docs for the latest release.

Upgrade your Debian Funkwhale installation

If you installed Funkwhale following the Debian guide, follow these steps to upgrade.

Cleanup old funkwhale files

  1. Stop the Funkwhale services.

    sudo systemctl stop funkwhale.target
    
  2. Navigate to your Funkwhale directory.

    cd /srv/funkwhale
    
  3. Remove the old files.

    sudo rm -Rf api/* front/* venv
    

Download Funkwhale

  1. Export the Funkwhale version you want to update to. You’ll use this in the rest of the commands in this guide.

    export FUNKWHALE_VERSION=1.3.0-rc1
  2. Follow the Download Funkwhale instructions in the installation guide.

  3. Follow the Install the Funkwhale API instructions in the installation guide.

Update your Funkwhale instance

Once you have downloaded the new files, you can update your Funkwhale instance. To do this:

  1. Install or upgrade all OS dependencies using the dependencies script.

    sudo api/install_os_dependencies.sh install
    
  2. Collect the new static files to serve.

    sudo venv/bin/funkwhale-manage collectstatic --no-input
    
  3. Apply new database migrations.

    sudo -u funkwhale venv/bin/funkwhale-manage migrate
    
  4. Restart the Funkwhale services.

    sudo systemctl start funkwhale.target
    

That’s it! You’ve updated your Funkwhale pod. You should now see the new version running in your web browser.