towfiqi / serpbear

Search Engine Position Rank Tracking App
https://docs.serpbear.com/
MIT License
1.45k stars 145 forks source link

npm run db:migrat on portainer #191

Closed Plobli closed 8 months ago

Plobli commented 8 months ago

Hi,

i am running serpbear on my portainer as a docker. Today i update the container but than i lost all my data (domains, keywords etc.) But i noticed, that there is a message after login: You need to Update your database. Stop Serpbear and run this command to update your database:npm run db:migrate But i don't use npm, so what can i do to get my data back?

towfiqi commented 8 months ago

Usually, to update the docker instance to the latest version, you have to run docker compose pull and then docker compose up. maybe try running these commands with portainer?

Plobli commented 8 months ago

Ah, inside portainer i have to deploy the stack again, not only the container. That works. Thank you for your help and this nice piece of software.