• Joined on 2022-11-18
nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 13:30:47 +00:00
Problem with Phoenix

It does look like the db has permissions issues too

2022-11-18T13:29:01.713147361Z stdout fixing permissions on existing directory /var/lib/postgresql/data ... 2022-11-18T13:29:01.682355179Z s…

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 13:27:49 +00:00
Problem with Phoenix

Ok I forced a GUID & UID in build.sh and it was able to build :) Now reaching the steps for the db it gives this :

Creating akkoma_db_run ... done akkoma_db_run_615f5c9efd58 [NASAADRESS]:/vol…

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 13:11:06 +00:00
Problem with Phoenix

Synology refuses usermod, I had to do the following steps:https://davejansen.com/manage-docker-without-needing-sudo-on-your-synology-nas

But now it gives the same error with

addgroup: gid…

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 13:03:49 +00:00
Problem with Phoenix

Ok I was indeed using sudo, as when I try to not use it it gives me a Permission Denied when trying to run docker-compose, but it might be due to something blocking it in Synology

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 12:59:24 +00:00
Problem with Phoenix

Ok, first problem I encounter is this one:

addgroup: gid '0' in use The command '/bin/sh -c addgroup -g $GID $UNAME' returned a non-zero code: 1

Do I edit the build.sh to force use of…

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 12:54:46 +00:00
Problem with Phoenix

Just one question when should I run the db import? After or before the ecto.migrate?

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 12:49:27 +00:00
Problem with Phoenix

I'll try to restart from the start

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 12:47:35 +00:00
Problem with Phoenix

Could proceed as at this line : "docker-compose run --rm akkoma psql -h db -U akkoma -f config/setup_db.psql"

It returned an error: psql: error: could not translate host name "db" to…

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 12:41:10 +00:00
Problem with Phoenix

Yes as I was coming from an older version of Postgres, I remimported the database through sudo docker-compose exec -T db psql -U pleroma < dumpfile, did I forgot something?

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 12:37:58 +00:00
Problem with Phoenix

Tried it, but then the container got stuck with errors like this and never started :/

10:13:37.384 [error] QUERY OK db=0.4ms server_1

nithou commented on issue AkkomaGang/akkoma#289 2022-11-18 12:33:03 +00:00
Problem with Phoenix

Was coming from this installation : https://github.com/angristan/docker-pleroma

Changed this in the Dockerfile :

FROM elixir:1.13-alpine RUN git clone -b stable https://akkoma.dev/AkkomaGan

nithou opened issue AkkomaGang/akkoma#289 2022-11-18 12:28:42 +00:00
Problem with Phoenix