diff --git a/docs/docker/Dockerfile b/docs/docker/Dockerfile index 9ca1d1d2..7c4d196d 100644 --- a/docs/docker/Dockerfile +++ b/docs/docker/Dockerfile @@ -1,5 +1,5 @@ FROM node:buster -RUN yarn cache clean gancio +RUN yarn global remove gancio RUN yarn global add --latest --silent https://gancio.org/latest.tgz 2> /dev/null ADD entrypoint.sh / diff --git a/docs/install/debian.md b/docs/install/debian.md index 3621a3c9..c0aed773 100644 --- a/docs/install/debian.md +++ b/docs/install/debian.md @@ -63,8 +63,13 @@ sudo pm2 startup -u gancio ``` ## Upgrade + +> warning "Backup your data" +> Backup your data is generally a good thing to do and this is especially true before upgrading. +> Don't be lazy and [backup]({% link install/backup.md %}) your data! + ```bash -sudo yarn cache clean gancio +sudo yarn global remove gancio sudo yarn global add --silent {{site.url}}/latest.tgz 2> /dev/null sudo service pm2 restart ```