cber_quaternion

joined 2 years ago
[–] cber_quaternion@lemmy.ml 1 points 2 years ago

Alright, sorry for bothering you.

[–] cber_quaternion@lemmy.ml 1 points 2 years ago (2 children)

I have followed them. Whenever I run the sudo sh postgres_12_to_15_upgrade.sh I get

Do not stop in the middle of this upgrade, wait until you see the message: Upgrade complete.
Stopping lemmy and all services...
Stopping donkysocial_postgres_1 ... done
Stopping donkysocial-lemmy-ui-1 ... done
Stopping donkysocial-lemmy-1    ... done
Stopping donkysocial-pictrs-1   ... done
Stopping donkysocial-postfix-1  ... done
Make sure postgres is started...
Starting donkysocial_postgres_1 ... done
Exporting the Database to 12_15.dump.sql ...
Error response from daemon: Container a1e2ddeced29b9060049e920b49bcea87189b0122a68f015ada202a6181bd2a0 is restarting, wait until the container is running
[–] cber_quaternion@lemmy.ml 1 points 2 years ago (4 children)

donkysocial-lemmy-1  | thread 'main' panicked at 'Error connecting to postgres://lemmy:pass@postgres:5432/lemmy', crates/db_schema/src/utils.rs:157:56
donkysocial-lemmy-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
donkysocial-lemmy-1  | thread 'main' panicked at 'Error connecting to postgres://lemmy:pass@postgres:5432/lemmy', crates/db_schema/src/utils.rs:157:56
donkysocial-lemmy-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
donkysocial-lemmy-1  | thread 'main' panicked at 'Error connecting to postgres://lemmy:pass@postgres:5432/lemmy', crates/db_schema/src/utils.rs:157:56
donkysocial-lemmy-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
donkysocial-lemmy-1  | thread 'main' panicked at 'Error connecting to postgres://lemmy:pass@postgres:5432/lemmy', crates/db_schema/src/utils.rs:157:56
donkysocial-lemmy-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
donkysocial-lemmy-1  | thread 'main' panicked at 'Error connecting to postgres://lemmy:pass@postgres:5432/lemmy', crates/db_schema/src/utils.rs:157:56
donkysocial-lemmy-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
donkysocial-lemmy-1  | thread 'main' panicked at 'Error connecting to postgres://lemmy:pass@postgres:5432/lemmy', crates/db_schema/src/utils.rs:157:56
donkysocial-lemmy-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
donkysocial-lemmy-1  | thread 'main' panicked at 'Error connecting to postgres://lemmy:pass@postgres:5432/lemmy', crates/db_schema/src/utils.rs:157:56
donkysocial-lemmy-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
donkysocial-lemmy-1  | thread 'main' panicked at 'Error connecting to postgres://lemmy:pass@postgres:5432/lemmy', crates/db_schema/src/utils.rs:157:56
donkysocial-lemmy-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

 

Hello,

I tried to update my instance but I forgot to read the release notes and used ansible to update. Of course it failed. After the update I decided to check what is new and I realized my mistake. I tried to run the postgress update script but it fails with the message

Error response from daemon: Container {container hash} is restarting, wait until the container is running

The logs say that the db hasn't been updated.

I don't know what else to upload here to help troubleshooting. Thanks in advance!

[–] cber_quaternion@lemmy.ml 2 points 2 years ago

Your comments on this thread are literally violating your rule 4. The irony...

 

Hello, I want to host my own lemmy instance but instead of using Nginx as a reverse proxy I want to use Caddy as a reverse proxy since it is easier. Sadly I am still learning how to use it and lemmy is putting me in hard position. Does anybody know how can I do it?

Thanks in advance!

spoilerEdit: I have around $1,30 in Monero (at least it was that much a week or two before) if any helps me I am going to give it to him.