knadh / listmonk

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
https://listmonk.app
GNU Affero General Public License v3.0
15.1k stars 1.38k forks source link

Can't upgrade from v3.0.0 to v4.0.1 #2132

Open jlar0che opened 2 hours ago

jlar0che commented 2 hours ago

I am running Listmonk v3.0.0 in Docker basically using the instructions from mariushosting. Before I perform any upgrades on my containers I shut them down, then copy the directory of the container placing it in a backup location (and labeling it with the version it was).

I tried following the instructions about upgrading from the github page for 4.0.1 but I think I'm missing something.

  1. After SSHing into the appropriate hardware I cd into the directory there listmonk's docker-compose.yml is located
  2. docker-compose down (or in my case, I fire up Portainer and shut down the Listmonk containers)
  3. docker-compose pull && docker-compose run --rm app ./listmonk --upgrade Here are my results: Untitled-1

And, here is my (redacted) docker-compose.yml. Any detailed instructions on how to actually accomplish the upgrade would be very appreciated.

version: "3.9" services: db: image: postgres container_name: Listmonk-DB hostname: listmonk-db mem_limit: 512m cpu_shares: 768 security_opt:

MaximilianKohler commented 1 hour ago

I can't read that dark blue text. You should copy-paste the code here anyway.