Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation failed #270

Open
chri2 opened this issue May 17, 2024 · 2 comments
Open

installation failed #270

chri2 opened this issue May 17, 2024 · 2 comments

Comments

@chri2
Copy link

chri2 commented May 17, 2024

When trying to install Pleroma it failed with DEBUG - !!! Config path is not declared! Please ensure it exists and that PLEROMA_CONFIG_PATH is unset or points to an existing file.

Update: The below doesn't seem to be the reason, because it didn't work with the directory removed

root@link-goe:~# ls -ld /home/yunohost.app/pleroma
drwxr-x--- 4 988 988 4096  8. Sep 2022  /home/yunohost.app/pleroma

I didn't remember I already had the app installed sometimes. My old 20220915-112001-app_remove-pleroma.log is empty for some reason.

Maybe this is already fixed when removing a more recent version.

@chri2 chri2 changed the title installation failed - /home/yunohost.app/pleroma already existed installation failed May 17, 2024
@chri2
Copy link
Author

chri2 commented May 17, 2024

98166 INFO DEBUG - + sudo -u pleroma -i /var/www/pleroma/live/bin/pleroma_ctl instance gen --force --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql --domain dorfbrunnen.ween.de --instance-name 'Dorfbrunnen Weende' --admin-email [email protected] --notify-email [email protected] --dbhost localhost --dbname pleroma --dbuser pleroma --dbpass ********** --rum N --indexable Y --db-configurable Y --uploads-dir /home/yunohost.app/pleroma/uploads --static-dir /home/yunohost.app/pleroma/static --listen-ip 127.0.0.1 --listen-port 8097 --strip-uploads-location Y --read-uploads-description Y --anonymize-uploads Y --dedupe-uploads Y
98168 INFO DEBUG - !!! Config path is not declared! Please ensure it exists and that PLEROMA_CONFIG_PATH is unset or points to an existing file
98169 INFO DEBUG - ** (MatchError) no match of right hand side value: {[force: true, output: "/etc/pleroma/config.exs", output_psql: "/tmp/setup_db.psql", domain: "dorfbrunnen.ween.de", instance_name: "Dorfbrunnen", admin_email: "[email protected]", notify_email: "[email protected]", dbhost: "localhost", dbname: "pleroma", dbuser: "pleroma", dbpass: "**********", rum: "N", indexable: "Y", db_configurable: "Y", uploads_dir: "/home/yunohost.app/pleroma/uploads", static_dir: "/home/yunohost.app/pleroma/static", listen_ip: "127.0.0.1", listen_port: "8097", strip_uploads_location: "Y", read_uploads_description: "Y", anonymize_uploads: "Y", dedupe_uploads: "Y"], ["Weende"], []}
98171 INFO DEBUG -     (pleroma 2.6.2) lib/mix/tasks/pleroma/instance.ex:15: Mix.Tasks.Pleroma.Instance.run/1
98173 INFO DEBUG -     (stdlib 3.14.2.3) erl_eval.erl:680: :erl_eval.do_apply/6
98176 INFO DEBUG -     (elixir 1.11.4) lib/code.ex:341: Code.eval_string_with_error_handling/3

@chri2
Copy link
Author

chri2 commented May 17, 2024

Either my --label "two words" or --args "…name= two words… broke the installation.

Replacing the string "two words" with "two_words" made the install work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant