Self-host & build › Self-hosting › Update Looona
Update Looona
Back up, replace Looona's file with the new version, and start it again. On a server, a Mac or Windows.
An update replaces Looona's file with the new version. Your data stays in its folder.
If you signed up on looona.com, Looona is updated for you.
Back up first
In Settings, under Backups, click Back up now. See Backups.
An older version doesn't open a database a newer one has updated. Going back deletes what the update added. Back up before every update.
On a server
For a server set up with the install guide. On an ARM server, write linux-arm64 in place of linux-x64.
- Go to Looona's folderTerminal
cd /opt/looona - Stop Looona
The file can't be replaced while it runs.
Terminalsudo systemctl stop looona - Download the new versionTerminal
sudo curl -L https://cdn.looona.fr/latest/looona-linux-x64.zip -o looona.zip - Unzip it
-oreplaces what's there without asking.Terminalsudo unzip -o looona.zip - Put it in place of the old one
The new file takes the name
looona.Terminalsudo mv looona-linux-x64 looona - Delete the zipTerminal
sudo rm looona.zip - Give it back to Looona
The new file belongs to Looona's user again, and can run.
Terminalsudo chown looona:looona looona && sudo chmod +x looona - Start Looona
At start, it updates the database for the new version on its own.
Terminalsudo systemctl start looona
On a Mac or Windows
- Stop Looona
Press Ctrl+C in its window, or close it.
- Download the new version
From the same address as the first time. See On a Mac or Windows.
- Replace the old file
Unzip the new one, and move it into Looona's folder, in place of the old one. Leave the rest of the folder as it is: your data is there.
- Start Looona
As the first time, with
serve. At start, it updates the database for the new version on its own.