Mealie stuck at Deploying 1/2

sgt_jamez

Explorer
Joined
Jul 30, 2021
Messages
88
I'm running Scale 22.12 RC1. I updated Mealie and now it is stuck at Deploying 1/2.

Is anyone else running into this? Mealie v1.0.0beta_14.0.4.

Logs:
2022-11-22 04:12:44.711598+00:00[38;5;6mpostgresql [38;5;5m04:12:44.71 [0m 2022-11-22 04:12:44.712690+00:00[38;5;6mpostgresql [38;5;5m04:12:44.71 [0m[1mWelcome to the Bitnami postgresql container[0m 2022-11-22 04:12:44.713842+00:00[38;5;6mpostgresql [38;5;5m04:12:44.71 [0mSubscribe to project updates by watching [1mhttps://github.com/bitnami/containers[0m 2022-11-22 04:12:44.714941+00:00[38;5;6mpostgresql [38;5;5m04:12:44.71 [0mSubmit issues and feature requests at [1mhttps://github.com/bitnami/containers/issues[0m 2022-11-22 04:12:44.716068+00:00[38;5;6mpostgresql [38;5;5m04:12:44.71 [0m 2022-11-22 04:12:44.727668+00:00[38;5;6mpostgresql [38;5;5m04:12:44.72 [0m[38;5;2mINFO [0m ==> ** Starting PostgreSQL setup ** 2022-11-22 04:12:44.745925+00:00[38;5;6mpostgresql [38;5;5m04:12:44.74 [0m[38;5;2mINFO [0m ==> Validating settings in POSTGRESQL_* env vars.. 2022-11-22 04:12:44.751351+00:00[38;5;6mpostgresql [38;5;5m04:12:44.75 [0m[38;5;2mINFO [0m ==> Loading custom pre-init scripts... 2022-11-22 04:12:44.754981+00:00[38;5;6mpostgresql [38;5;5m04:12:44.75 [0m[38;5;2mINFO [0m ==> Initializing PostgreSQL database... 2022-11-22 04:12:44.768199+00:00[38;5;6mpostgresql [38;5;5m04:12:44.76 [0m[38;5;2mINFO [0m ==> pg_hba.conf file not detected. Generating it... 2022-11-22 04:12:44.769498+00:00[38;5;6mpostgresql [38;5;5m04:12:44.76 [0m[38;5;2mINFO [0m ==> Generating local authentication configuration 2022-11-22 04:12:46.274760+00:00[38;5;6mpostgresql [38;5;5m04:12:46.27 [0m[38;5;2mINFO [0m ==> Starting PostgreSQL in background... 2022-11-22 04:12:49.386212+00:00[38;5;6mpostgresql [38;5;5m04:12:49.38 [0m[38;5;2mINFO [0m ==> Changing password of postgres 2022-11-22 04:12:49.416092+00:00[38;5;6mpostgresql [38;5;5m04:12:49.41 [0m[38;5;2mINFO [0m ==> Creating user mealie 2022-11-22 04:12:49.456732+00:00[38;5;6mpostgresql [38;5;5m04:12:49.45 [0m[38;5;2mINFO [0m ==> Granting access to "mealie" to the database "mealie" 2022-11-22 04:12:49.492957+00:00[38;5;6mpostgresql [38;5;5m04:12:49.49 [0m[38;5;2mINFO [0m ==> Setting ownership for the 'public' schema database "mealie" to "mealie" 2022-11-22 04:12:49.532967+00:00[38;5;6mpostgresql [38;5;5m04:12:49.53 [0m[38;5;2mINFO [0m ==> Configuring replication parameters 2022-11-22 04:12:49.563940+00:00[38;5;6mpostgresql [38;5;5m04:12:49.56 [0m[38;5;2mINFO [0m ==> Configuring synchronous_replication 2022-11-22 04:12:49.565779+00:00[38;5;6mpostgresql [38;5;5m04:12:49.56 [0m[38;5;2mINFO [0m ==> Configuring fsync 2022-11-22 04:12:49.590981+00:00[38;5;6mpostgresql [38;5;5m04:12:49.59 [0m[38;5;2mINFO [0m ==> Loading custom scripts... 2022-11-22 04:12:49.594959+00:00[38;5;6mpostgresql [38;5;5m04:12:49.59 [0m[38;5;2mINFO [0m ==> Enabling remote connections 2022-11-22 04:12:49.603284+00:00[38;5;6mpostgresql [38;5;5m04:12:49.60 [0m[38;5;2mINFO [0m ==> Stopping PostgreSQL... 2022-11-22 04:12:49.807283+00:00waiting for server to shut down.... done 2022-11-22 04:12:49.807326+00:00server stopped 2022-11-22 04:12:49.812829+00:002022-11-22T04:12:49.812829113Z 2022-11-22 04:12:49.812829+00:00[38;5;6mpostgresql [38;5;5m04:12:49.81 [0m[38;5;2mINFO [0m ==> ** PostgreSQL setup finished! ** 2022-11-22 04:12:49.837505+00:00[38;5;6mpostgresql [38;5;5m04:12:49.83 [0m[38;5;2mINFO [0m ==> ** Starting PostgreSQL ** 2022-11-22 04:12:49.858410+00:002022-11-22 04:12:49.858 GMT [1] LOG: pgaudit extension initialized 2022-11-22 04:12:49.870341+00:002022-11-22 04:12:49.870 GMT [1] LOG: starting PostgreSQL 14.5 on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit 2022-11-22 04:12:49.870771+00:002022-11-22 04:12:49.870 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2022-11-22 04:12:49.870800+00:002022-11-22 04:12:49.870 GMT [1] LOG: listening on IPv6 address "::", port 5432 2022-11-22 04:12:49.891046+00:002022-11-22 04:12:49.890 GMT [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" 2022-11-22 04:12:49.908709+00:002022-11-22 04:12:49.908 GMT [147] LOG: database system was shut down at 2022-11-22 04:12:49 GMT 2022-11-22 04:12:49.934954+00:002022-11-22 04:12:49.934 GMT [1] LOG: database system is ready to accept connections
 

Rigga

Cadet
Joined
Dec 30, 2022
Messages
1
I upgraded to Bluefin 22.12.0 last week and now Mealie gets stuck at Deploying 1/2 too. I have even deleted the app and trying install it again with the defaults and it is still getting stuck.
 

D1same

Cadet
Joined
Feb 26, 2022
Messages
3
I am having the same issue. I believe the issue is the api that can't make the connection.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I had this issue playing around with mealie and docker/portainer on Debian. The problem for me was the database connection could not be established. the fix was entering the database environment variables in the mealie docs to the configuration and then it started up fine. I'm not super familiar with Scale but I do know you can add environment varibles in the GUI when adding a container.
 

D1same

Cadet
Joined
Feb 26, 2022
Messages
3
For me the database does actually work but somehow the api doesn't continue working.
 

Attachments

  • meali 2.jpg
    meali 2.jpg
    12.6 KB · Views: 318
  • Mealie 1.jpg
    Mealie 1.jpg
    438.2 KB · Views: 329

D1same

Cadet
Joined
Feb 26, 2022
Messages
3
So it looks like after it creates the new user on installation, it can't fix the permission in /app directory
 

sgt_jamez

Explorer
Joined
Jul 30, 2021
Messages
88
So it looks like after it creates the new user on installation, it can't fix the permission in /app directory
Were you able to fix that?
 

stevestig

Cadet
Joined
Mar 19, 2023
Messages
1
I just registered to share this fix. On a new installation, and my previous working installation (before bluefin) they both got stuck at deploying (1/2).

Fix: Edit your application configuration, scroll towards the bottom and set these values. Save and start your application!
Screenshot 2023-03-19 at 11.15.45 AM.png
 
Top