angristan / docker-pleroma

Docker image for the Pleroma federated social network
https://git.pleroma.social/pleroma/pleroma/
MIT License
348 stars 75 forks source link

Newest pleroma security update breaks fresh installation #85

Closed Jlucu4ka228 closed 1 year ago

Jlucu4ka228 commented 1 year ago

According to new pleroma security update https://pleroma.social/announcements/2023/08/04/pleroma-security-release-2.5.3/

Pleroma is refusing to launch: ERROR! Config provider Pleroma.Config.ReleaseRuntimeProvider failed with: ** (RuntimeError) Configuration at /etc/pleroma/config.exs has world-permissions, execute the following: chmod o= /etc/pleroma/config.exs lib/pleroma/config/release_runtime_provider.ex:27: Pleroma.Config.ReleaseRuntimeProvider.load/2 (elixir 1.11.4) lib/config/provider.ex:347: anonymous fn/2 in Config.Provider.run_providers/2 (elixir 1.11.4) lib/enum.ex:2193: Enum."-reduce/3-lists^foldl/2-0-"/3 (elixir 1.11.4) lib/config/provider.ex:204: Config.Provider.boot_providers/4 :init.eval_script/2 :init.do_boot/3 when I execute suggested command, pleroma once again crashes: ERROR! Config provider Pleroma.Config.ReleaseRuntimeProvider failed with: ** (File.Error) could not read file "/etc/pleroma/config.exs": permission denied (elixir 1.11.4) lib/file.ex:355: File.read!/1 (elixir 1.11.4) lib/config/reader.ex:86: Config.Reader.read!/2 lib/pleroma/config/release_runtime_provider.ex:37: Pleroma.Config.ReleaseRuntimeProvider.load/2 (elixir 1.11.4) lib/config/provider.ex:347: anonymous fn/2 in Config.Provider.run_providers/2 (elixir 1.11.4) lib/enum.ex:2193: Enum."-reduce/3-lists^foldl/2-0-"/3 (elixir 1.11.4) lib/config/provider.ex:204: Config.Provider.boot_providers/4 :init.eval_script/2 :init.do_boot/3

I have made chown -R pleroma:pleroma . but it didn't help.

Jlucu4ka228 commented 1 year ago

Nevermind I did something wrong during installing. Fully rebuilding docker image helped.