"./docker-resources/manage.sh mix pleroma.instance gen" will not generate generated_config.exs #534

Open
opened 2023-05-05 16:35:03 +00:00 by fr0st_beard · 3 comments

Your setup

Docker

Extra details

Ubuntu 20.04

Version

Not even there yet

PostgreSQL version

No response

What were you trying to do?

Install Akkoma using Docker as detailed on this page: https://docs.akkoma.dev/stable/installation/docker_en/

What did you expect to happen?

Expected ./docker-resources/manage.sh mix pleroma.instance gen to prompt me for inputs and then generate generated_config.exs so I could proceed to the next step and cp config/generated_config.exs config/prod.secret.exs

What actually happened?

Nothing - no prompts come up and no file is generated.

Logs

I got the following output:

[+] Running 1/0
 ⠿ Container akkoma-db-1  Running                                                       0.0s
warning: `config/prod.secret.exs` not found. You may want to create one by running `mix pleroma.instance gen`

==> poison
Compiling 4 files (.ex)
warning: use Bitwise is deprecated. import Bitwise instead
  lib/poison/encoder.ex:112: Poison.Encoder.BitString

warning: use Bitwise is deprecated. import Bitwise instead
  lib/poison/parser.ex:65: Poison.Parser

Severity

I cannot use the software

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup Docker ### Extra details Ubuntu 20.04 ### Version Not even there yet ### PostgreSQL version _No response_ ### What were you trying to do? Install Akkoma using Docker as detailed on this page: https://docs.akkoma.dev/stable/installation/docker_en/ ### What did you expect to happen? Expected ./docker-resources/manage.sh mix pleroma.instance gen to prompt me for inputs and then generate generated_config.exs so I could proceed to the next step and cp config/generated_config.exs config/prod.secret.exs ### What actually happened? Nothing - no prompts come up and no file is generated. ### Logs ```shell I got the following output: [+] Running 1/0 ⠿ Container akkoma-db-1 Running 0.0s warning: `config/prod.secret.exs` not found. You may want to create one by running `mix pleroma.instance gen` ==> poison Compiling 4 files (.ex) warning: use Bitwise is deprecated. import Bitwise instead lib/poison/encoder.ex:112: Poison.Encoder.BitString warning: use Bitwise is deprecated. import Bitwise instead lib/poison/parser.ex:65: Poison.Parser ``` ### Severity I cannot use the software ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
fr0st_beard added the
bug
label 2023-05-05 16:35:03 +00:00

by any chance are you running on a raspberry pi or other similar very low-end device?

by any chance are you running on a raspberry pi or other similar very low-end device?
Author

Thanks for responding! I'm running on a DigitalOcean VPS. It is fairly low-powered, with a 2CPU and 2GB of RAM. I'm able to run other docker containers and such no problem on there, though. What are the minimum requirements for Akkoma?

Thanks for responding! I'm running on a DigitalOcean VPS. It is fairly low-powered, with a 2CPU and 2GB of RAM. I'm able to run other docker containers and such no problem on there, though. What are the minimum requirements for Akkoma?

you are almost certainly running out of memory and getting OOM killed

on that sort of system you might be better served running the OTP release

you are almost certainly running out of memory and getting OOM killed on that sort of system you might be better served running the OTP release
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#534
No description provided.