New installation throws this error

Hey,

i made a complete new installation with your Documentation “Docker Compose installation — Mayan EDMS 4.7.1 documentation” and then i get this error while postgres-1 has started.

2024-07-09 08:44:14.138 UTC [61] STATEMENT: SELECT “smart_settings_updatedsetting”.“id”, “smart_settings_updatedsetting”.“global_name”, “smart_settings_updatedsetting”.“value_new”, “smart_settings_updatedsetting”.“value_old” FROM “smart_settings_updatedsetting”

my colleague did the same but it is working, we got the same laptops - with the same OS.

any idea how i can get this to work?

best regards

steven

1 Like

Hi,
Seems the error message is incomplete. Check again the output of the Docker Compose logs and paste the output.

hey,

here are the full logs:

[+] Running 5/5ed this service in your compose file, you can run this command wi :heavy_check_mark: Network mayan_mayan Created 0.1s
:heavy_check_mark: Container mayan-redis-1 Created 0.1s
:heavy_check_mark: Container mayan-postgresql-1 Created 0.1s
:heavy_check_mark: Container mayan-app-1 Created 0.1s
:heavy_check_mark: Container mayan-rabbitmq-1 Created 0.1s
Attaching to app-1, postgresql-1, rabbitmq-1, redis-1
redis-1 | 1:C 09 Jul 2024 09:47:39.313 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-1 | 1:C 09 Jul 2024 09:47:39.313 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=1, just started
redis-1 | 1:C 09 Jul 2024 09:47:39.313 # Configuration loaded
redis-1 | 1:M 09 Jul 2024 09:47:39.314 * monotonic clock: POSIX clock_gettime
redis-1 | 1:M 09 Jul 2024 09:47:39.316 * Running mode=standalone, port=6379.
redis-1 | 1:M 09 Jul 2024 09:47:39.316 # Server initialized
redis-1 | 1:M 09 Jul 2024 09:47:39.316 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see vm.max_map_count growing steadily when vm.overcommit_memory is 2 · Issue #1328 · jemalloc/jemalloc · GitHub. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
redis-1 | 1:M 09 Jul 2024 09:47:39.317 * Ready to accept connections
postgresql-1 |
postgresql-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgresql-1 |
app-1 | mayan: starting entrypoint.sh
postgresql-1 | 2024-07-09 09:47:39.420 UTC [1] LOG: starting PostgreSQL 14.12 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
postgresql-1 | 2024-07-09 09:47:39.420 UTC [1] LOG: listening on IPv4 address “0.0.0.0”, port 5432
postgresql-1 | 2024-07-09 09:47:39.420 UTC [1] LOG: listening on IPv6 address “::”, port 5432
postgresql-1 | 2024-07-09 09:47:39.425 UTC [1] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
postgresql-1 | 2024-07-09 09:47:39.430 UTC [27] LOG: database system was shut down at 2024-07-09 09:47:23 UTC
postgresql-1 | 2024-07-09 09:47:39.434 UTC [1] LOG: database system is ready to accept connections
app-1 | Connection attempt #1 to: port postgresql:5432; Connected.
app-1 | Connection attempt #1 to: port rabbitmq:5672; [Errno 111] Connection refused
app-1 | Connection attempt #2 to: port rabbitmq:5672; [Errno 111] Connection refused
rabbitmq-1 | 2024-07-09 09:47:40.979378+00:00 [notice] <0.44.0> Application syslog exited with reason: stopped
rabbitmq-1 | 2024-07-09 09:47:40.981900+00:00 [notice] <0.230.0> Logging: switching to configured handler(s); following messages may not be visible in this log output
rabbitmq-1 | 2024-07-09 09:47:40.982240+00:00 [notice] <0.230.0> Logging: configured log handlers are now ACTIVE
rabbitmq-1 | 2024-07-09 09:47:41.142796+00:00 [info] <0.230.0> ra: starting system quorum_queues
rabbitmq-1 | 2024-07-09 09:47:41.142872+00:00 [info] <0.230.0> starting Ra system: quorum_queues in directory: /var/lib/rabbitmq/mnesia/rabbit@rabbitmq/quorum/rabbit@rabbitmq
rabbitmq-1 | 2024-07-09 09:47:41.150670+00:00 [info] <0.316.0> ra system ‘quorum_queues’ running pre init for 0 registered servers
rabbitmq-1 | 2024-07-09 09:47:41.155282+00:00 [info] <0.317.0> ra: meta data store initialised for system quorum_queues. 0 record(s) recovered
rabbitmq-1 | 2024-07-09 09:47:41.163420+00:00 [notice] <0.322.0> WAL: ra_log_wal init, open tbls: ra_log_open_mem_tables, closed tbls: ra_log_closed_mem_tables
rabbitmq-1 | 2024-07-09 09:47:41.171760+00:00 [info] <0.230.0> ra: starting system coordination
rabbitmq-1 | 2024-07-09 09:47:41.171814+00:00 [info] <0.230.0> starting Ra system: coordination in directory: /var/lib/rabbitmq/mnesia/rabbit@rabbitmq/coordination/rabbit@rabbitmq
rabbitmq-1 | 2024-07-09 09:47:41.172270+00:00 [info] <0.329.0> ra system ‘coordination’ running pre init for 0 registered servers
rabbitmq-1 | 2024-07-09 09:47:41.172571+00:00 [info] <0.330.0> ra: meta data store initialised for system coordination. 0 record(s) recovered
rabbitmq-1 | 2024-07-09 09:47:41.172670+00:00 [notice] <0.335.0> WAL: ra_coordination_log_wal init, open tbls: ra_coordination_log_open_mem_tables, closed tbls: ra_coordination_log_closed_mem_tables
rabbitmq-1 | 2024-07-09 09:47:41.177470+00:00 [info] <0.230.0>
rabbitmq-1 | 2024-07-09 09:47:41.177470+00:00 [info] <0.230.0> Starting RabbitMQ 3.12.14 on Erlang 25.3.2.13 [jit]
rabbitmq-1 | 2024-07-09 09:47:41.177470+00:00 [info] <0.230.0> Copyright (c) 2007-2024 Broadcom Inc and/or its subsidiaries
rabbitmq-1 | 2024-07-09 09:47:41.177470+00:00 [info] <0.230.0> Licensed under the MPL 2.0. Website: https://rabbitmq.com
rabbitmq-1 | 2024-07-09 09:47:41.177519+00:00 [error] <0.230.0> This release series has reached end of life and is no longer supported. Please visit Release Information | RabbitMQ to learn more and upgrade
rabbitmq-1 |
rabbitmq-1 | ## ## RabbitMQ 3.12.14
rabbitmq-1 | ## ##
rabbitmq-1 | ########## Copyright (c) 2007-2024 Broadcom Inc and/or its subsidiaries
rabbitmq-1 | ###### ##
rabbitmq-1 | ########## Licensed under the MPL 2.0. Website: https://rabbitmq.com
rabbitmq-1 |
rabbitmq-1 | Erlang: 25.3.2.13 [jit]
rabbitmq-1 | TLS Library: OpenSSL - OpenSSL 3.1.6 4 Jun 2024
rabbitmq-1 | Release series support status: out of support
rabbitmq-1 |
rabbitmq-1 | Doc guides: RabbitMQ Documentation | RabbitMQ
rabbitmq-1 | Support: Getting Help and Support | RabbitMQ
rabbitmq-1 | Tutorials: RabbitMQ Tutorials | RabbitMQ
rabbitmq-1 | Monitoring: Monitoring | RabbitMQ
rabbitmq-1 |
rabbitmq-1 | Logs:
rabbitmq-1 |
rabbitmq-1 | Config file(s): /etc/rabbitmq/conf.d/10-defaults.conf
rabbitmq-1 |
rabbitmq-1 | Starting broker…2024-07-09 09:47:41.182328+00:00 [info] <0.230.0>
rabbitmq-1 | 2024-07-09 09:47:41.182328+00:00 [info] <0.230.0> node : rabbit@rabbitmq
rabbitmq-1 | 2024-07-09 09:47:41.182328+00:00 [info] <0.230.0> home dir : /var/lib/rabbitmq
rabbitmq-1 | 2024-07-09 09:47:41.182328+00:00 [info] <0.230.0> config file(s) : /etc/rabbitmq/conf.d/10-defaults.conf
rabbitmq-1 | 2024-07-09 09:47:41.182328+00:00 [info] <0.230.0> cookie hash : 9ZpkRFc1ADk64FSAsC9N7g==
rabbitmq-1 | 2024-07-09 09:47:41.182328+00:00 [info] <0.230.0> log(s) :
rabbitmq-1 | 2024-07-09 09:47:41.182328+00:00 [info] <0.230.0> data dir : /var/lib/rabbitmq/mnesia/rabbit@rabbitmq
app-1 | Connection attempt #3 to: port rabbitmq:5672; [Errno 111] Connection refused
rabbitmq-1 | 2024-07-09 09:47:42.328301+00:00 [info] <0.230.0> Running boot step pre_boot defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.328347+00:00 [info] <0.230.0> Running boot step rabbit_global_counters defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.328481+00:00 [info] <0.230.0> Running boot step rabbit_osiris_metrics defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.328531+00:00 [info] <0.230.0> Running boot step rabbit_core_metrics defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.328987+00:00 [info] <0.230.0> Running boot step rabbit_alarm defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.330499+00:00 [info] <0.354.0> Memory high watermark set to 12582 MiB (13193777971 bytes) of 31456 MiB (32984444928 bytes) total
rabbitmq-1 | 2024-07-09 09:47:42.331567+00:00 [info] <0.356.0> Enabling free disk space monitoring (disk free space: 408364589056, total memory: 32984444928)
rabbitmq-1 | 2024-07-09 09:47:42.331599+00:00 [info] <0.356.0> Disk free limit set to 50MB
rabbitmq-1 | 2024-07-09 09:47:42.332102+00:00 [info] <0.230.0> Running boot step code_server_cache defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.332145+00:00 [info] <0.230.0> Running boot step file_handle_cache defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.332236+00:00 [info] <0.359.0> Limiting to approx 1048479 file handles (943629 sockets)
rabbitmq-1 | 2024-07-09 09:47:42.332292+00:00 [info] <0.360.0> FHC read buffering: OFF
rabbitmq-1 | 2024-07-09 09:47:42.332306+00:00 [info] <0.360.0> FHC write buffering: ON
rabbitmq-1 | 2024-07-09 09:47:42.332439+00:00 [info] <0.230.0> Running boot step worker_pool defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.332460+00:00 [info] <0.337.0> Will use 12 processes for default worker pool
rabbitmq-1 | 2024-07-09 09:47:42.332475+00:00 [info] <0.337.0> Starting worker pool ‘worker_pool’ with 12 processes in it
rabbitmq-1 | 2024-07-09 09:47:42.332673+00:00 [info] <0.230.0> Running boot step database defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.333240+00:00 [info] <0.230.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
rabbitmq-1 | 2024-07-09 09:47:42.339611+00:00 [info] <0.230.0> Successfully synced tables from a peer
rabbitmq-1 | 2024-07-09 09:47:42.354400+00:00 [info] <0.230.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
rabbitmq-1 | 2024-07-09 09:47:42.354748+00:00 [info] <0.230.0> Successfully synced tables from a peer
rabbitmq-1 | 2024-07-09 09:47:42.354796+00:00 [info] <0.230.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration.
rabbitmq-1 | 2024-07-09 09:47:42.354990+00:00 [info] <0.230.0> Running boot step tracking_metadata_store defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355061+00:00 [info] <0.382.0> Setting up a table for connection tracking on this node: tracked_connection
rabbitmq-1 | 2024-07-09 09:47:42.355095+00:00 [info] <0.382.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost
rabbitmq-1 | 2024-07-09 09:47:42.355131+00:00 [info] <0.382.0> Setting up a table for per-user connection counting on this node: tracked_connection_per_user
rabbitmq-1 | 2024-07-09 09:47:42.355158+00:00 [info] <0.382.0> Setting up a table for channel tracking on this node: tracked_channel
rabbitmq-1 | 2024-07-09 09:47:42.355215+00:00 [info] <0.382.0> Setting up a table for channel tracking on this node: tracked_channel_per_user
rabbitmq-1 | 2024-07-09 09:47:42.355258+00:00 [info] <0.230.0> Running boot step networking_metadata_store defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355304+00:00 [info] <0.230.0> Running boot step feature_flags defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355368+00:00 [info] <0.230.0> Running boot step codec_correctness_check defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355385+00:00 [info] <0.230.0> Running boot step external_infrastructure defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355405+00:00 [info] <0.230.0> Running boot step rabbit_event defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355484+00:00 [info] <0.230.0> Running boot step rabbit_registry defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355514+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_amqplain defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355553+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_cr_demo defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355581+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_plain defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355616+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_direct defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355672+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_fanout defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355694+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_headers defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355723+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_topic defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355746+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_all defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355764+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_exactly defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355783+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_nodes defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355797+00:00 [info] <0.230.0> Running boot step rabbit_priority_queue defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355807+00:00 [info] <0.230.0> Priority queues enabled, real BQ is rabbit_variable_queue
rabbitmq-1 | 2024-07-09 09:47:42.355836+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_client_local defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355873+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_min_masters defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355899+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_random defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355925+00:00 [info] <0.230.0> Running boot step kernel_ready defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.355933+00:00 [info] <0.230.0> Running boot step rabbit_sysmon_minder defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.356018+00:00 [info] <0.230.0> Running boot step rabbit_epmd_monitor defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.356479+00:00 [info] <0.390.0> epmd monitor knows us, inter-node communication (distribution) port: 25672
rabbitmq-1 | 2024-07-09 09:47:42.356559+00:00 [info] <0.230.0> Running boot step guid_generator defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.361394+00:00 [info] <0.230.0> Running boot step rabbit_node_monitor defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.361593+00:00 [info] <0.394.0> Starting rabbit_node_monitor (in ignore mode)
rabbitmq-1 | 2024-07-09 09:47:42.361663+00:00 [info] <0.230.0> Running boot step delegate_sup defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.361910+00:00 [info] <0.230.0> Running boot step rabbit_memory_monitor defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362008+00:00 [info] <0.230.0> Running boot step rabbit_fifo_dlx_sup defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362043+00:00 [info] <0.230.0> Running boot step core_initialized defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362055+00:00 [info] <0.230.0> Running boot step rabbit_channel_tracking_handler defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362083+00:00 [info] <0.230.0> Running boot step rabbit_connection_tracking_handler defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362103+00:00 [info] <0.230.0> Running boot step rabbit_definitions_hashing defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362139+00:00 [info] <0.230.0> Running boot step rabbit_exchange_parameters defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362331+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_misc defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362530+00:00 [info] <0.230.0> Running boot step rabbit_policies defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362728+00:00 [info] <0.230.0> Running boot step rabbit_policy defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362755+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_validator defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362792+00:00 [info] <0.230.0> Running boot step rabbit_quorum_memory_manager defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362843+00:00 [info] <0.230.0> Running boot step rabbit_stream_coordinator defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362918+00:00 [info] <0.230.0> Running boot step rabbit_vhost_limit defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.362951+00:00 [info] <0.230.0> Running boot step rabbit_mgmt_reset_handler defined by app rabbitmq_management
rabbitmq-1 | 2024-07-09 09:47:42.363008+00:00 [info] <0.230.0> Running boot step rabbit_mgmt_db_handler defined by app rabbitmq_management_agent
rabbitmq-1 | 2024-07-09 09:47:42.363036+00:00 [info] <0.230.0> Management plugin: using rates mode ‘basic’
rabbitmq-1 | 2024-07-09 09:47:42.363202+00:00 [info] <0.230.0> Running boot step recovery defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.363812+00:00 [info] <0.430.0> Making sure data directory ‘/var/lib/rabbitmq/mnesia/rabbit@rabbitmq/msg_stores/vhosts/5RU2IGKKAZSSHOVUGSVFWGPHU’ for vhost ‘mayan’ exists
rabbitmq-1 | 2024-07-09 09:47:42.369526+00:00 [info] <0.430.0> Starting message stores for vhost ‘mayan’
rabbitmq-1 | 2024-07-09 09:47:42.369745+00:00 [info] <0.440.0> Message store “5RU2IGKKAZSSHOVUGSVFWGPHU/msg_store_transient”: using rabbit_msg_store_ets_index to provide index
rabbitmq-1 | 2024-07-09 09:47:42.378058+00:00 [info] <0.430.0> Started message store of type transient for vhost ‘mayan’
rabbitmq-1 | 2024-07-09 09:47:42.378321+00:00 [info] <0.444.0> Message store “5RU2IGKKAZSSHOVUGSVFWGPHU/msg_store_persistent”: using rabbit_msg_store_ets_index to provide index
rabbitmq-1 | 2024-07-09 09:47:42.380176+00:00 [info] <0.430.0> Started message store of type persistent for vhost ‘mayan’
rabbitmq-1 | 2024-07-09 09:47:42.380306+00:00 [info] <0.430.0> Recovering 0 queues of type rabbit_classic_queue took 16ms
rabbitmq-1 | 2024-07-09 09:47:42.380342+00:00 [info] <0.430.0> Recovering 0 queues of type rabbit_quorum_queue took 0ms
rabbitmq-1 | 2024-07-09 09:47:42.380370+00:00 [info] <0.430.0> Recovering 0 queues of type rabbit_stream_queue took 0ms
rabbitmq-1 | 2024-07-09 09:47:42.382091+00:00 [info] <0.230.0> Running boot step empty_db_check defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382139+00:00 [info] <0.230.0> Will not seed default virtual host and user: have definitions to load…
rabbitmq-1 | 2024-07-09 09:47:42.382174+00:00 [info] <0.230.0> Running boot step rabbit_observer_cli defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382229+00:00 [info] <0.230.0> Running boot step rabbit_looking_glass defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382250+00:00 [info] <0.230.0> Running boot step rabbit_core_metrics_gc defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382390+00:00 [info] <0.230.0> Running boot step background_gc defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382478+00:00 [info] <0.230.0> Running boot step routing_ready defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382496+00:00 [info] <0.230.0> Running boot step pre_flight defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382520+00:00 [info] <0.230.0> Running boot step notify_cluster defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382573+00:00 [info] <0.230.0> Running boot step networking defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382606+00:00 [info] <0.230.0> Running boot step definition_import_worker_pool defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.382662+00:00 [info] <0.337.0> Starting worker pool ‘definition_import_pool’ with 12 processes in it
rabbitmq-1 | 2024-07-09 09:47:42.383150+00:00 [info] <0.230.0> Running boot step cluster_name defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.383193+00:00 [info] <0.230.0> Running boot step direct_client defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.383297+00:00 [info] <0.230.0> Running boot step rabbit_maintenance_mode_state defined by app rabbit
rabbitmq-1 | 2024-07-09 09:47:42.383320+00:00 [info] <0.230.0> Creating table rabbit_node_maintenance_states for maintenance mode status
rabbitmq-1 | 2024-07-09 09:47:42.383565+00:00 [info] <0.230.0> Running boot step rabbit_management_load_definitions defined by app rabbitmq_management
rabbitmq-1 | 2024-07-09 09:47:42.383633+00:00 [info] <0.490.0> Resetting node maintenance status
rabbitmq-1 | 2024-07-09 09:47:42.394020+00:00 [info] <0.549.0> Management plugin: HTTP (non-TLS) listener started on port 15672
rabbitmq-1 | 2024-07-09 09:47:42.394199+00:00 [info] <0.577.0> Statistics database started.
rabbitmq-1 | 2024-07-09 09:47:42.394262+00:00 [info] <0.576.0> Starting worker pool ‘management_worker_pool’ with 3 processes in it
rabbitmq-1 | 2024-07-09 09:47:42.399738+00:00 [info] <0.591.0> Prometheus metrics: HTTP (non-TLS) listener started on port 15692
rabbitmq-1 | 2024-07-09 09:47:42.399828+00:00 [info] <0.490.0> Ready to start client connection listeners
rabbitmq-1 | 2024-07-09 09:47:42.400438+00:00 [info] <0.635.0> started TCP listener on [::]:5672
rabbitmq-1 | completed with 4 plugins.
rabbitmq-1 | 2024-07-09 09:47:42.434249+00:00 [info] <0.490.0> Server startup complete; 4 plugins started.
rabbitmq-1 | 2024-07-09 09:47:42.434249+00:00 [info] <0.490.0> * rabbitmq_prometheus
rabbitmq-1 | 2024-07-09 09:47:42.434249+00:00 [info] <0.490.0> * rabbitmq_management
rabbitmq-1 | 2024-07-09 09:47:42.434249+00:00 [info] <0.490.0> * rabbitmq_management_agent
rabbitmq-1 | 2024-07-09 09:47:42.434249+00:00 [info] <0.490.0> * rabbitmq_web_dispatch
app-1 | Connection attempt #4 to: port rabbitmq:5672; Connected.
app-1 | Connection attempt #1 to: port redis:6379; Connected.
app-1 | mayan: update_uid_gid()
rabbitmq-1 | 2024-07-09 09:47:42.584977+00:00 [info] <0.9.0> Time to start RabbitMQ: 3024216 us
app-1 | usermod: no changes
app-1 | mayan: os_package_installs()
app-1 | mayan: pip_installs()
app-1 | Font directories:
app-1 | /root/.local/share/fonts
app-1 | /usr/local/share/fonts
app-1 | /usr/share/fonts
app-1 | /root/.fonts
app-1 | /usr/share/fonts/X11
app-1 | /usr/share/fonts/cMap
app-1 | /usr/share/fonts/cmap
app-1 | /usr/share/fonts/opentype
app-1 | /usr/share/fonts/truetype
app-1 | /usr/share/fonts/type1
app-1 | /usr/share/fonts/X11/Type1
app-1 | /usr/share/fonts/X11/encodings
app-1 | /usr/share/fonts/X11/util
app-1 | /usr/share/fonts/cmap/adobe-cns1
app-1 | /usr/share/fonts/cmap/adobe-gb1
app-1 | /usr/share/fonts/cmap/adobe-japan1
app-1 | /usr/share/fonts/cmap/adobe-japan2
app-1 | /usr/share/fonts/cmap/adobe-korea1
app-1 | /usr/share/fonts/opentype/urw-base35
app-1 | /usr/share/fonts/truetype/arphic
app-1 | /usr/share/fonts/truetype/libreoffice
app-1 | /usr/share/fonts/truetype/unfonts-core
app-1 | /usr/share/fonts/type1/urw-base35
app-1 | /usr/share/fonts/X11/encodings/large
app-1 | /root/.local/share/fonts: skipping, no such directory
app-1 | /usr/local/share/fonts: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts: skipping, existing cache is valid: 0 fonts, 6 dirs
app-1 | /usr/share/fonts/X11: skipping, existing cache is valid: 0 fonts, 3 dirs
app-1 | /usr/share/fonts/X11/Type1: skipping, existing cache is valid: 35 fonts, 0 dirs
app-1 | /usr/share/fonts/X11/encodings: skipping, existing cache is valid: 0 fonts, 1 dirs
app-1 | /usr/share/fonts/X11/encodings/large: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/X11/util: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cMap: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap: skipping, existing cache is valid: 0 fonts, 5 dirs
app-1 | /usr/share/fonts/cmap/adobe-cns1: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap/adobe-gb1: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap/adobe-japan1: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap/adobe-japan2: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap/adobe-korea1: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/opentype: skipping, existing cache is valid: 0 fonts, 1 dirs
app-1 | /usr/share/fonts/opentype/urw-base35: skipping, existing cache is valid: 35 fonts, 0 dirs
app-1 | /usr/share/fonts/truetype: skipping, existing cache is valid: 0 fonts, 3 dirs
app-1 | /usr/share/fonts/truetype/arphic: skipping, existing cache is valid: 8 fonts, 0 dirs
app-1 | /usr/share/fonts/truetype/libreoffice: skipping, existing cache is valid: 1 fonts, 0 dirs
app-1 | /usr/share/fonts/truetype/unfonts-core: skipping, existing cache is valid: 12 fonts, 0 dirs
app-1 | /usr/share/fonts/type1: skipping, existing cache is valid: 0 fonts, 1 dirs
app-1 | /usr/share/fonts/type1/urw-base35: skipping, existing cache is valid: 35 fonts, 0 dirs
app-1 | /root/.fonts: skipping, no such directory
app-1 | /usr/share/fonts/X11: skipping, looped directory detected
app-1 | /usr/share/fonts/cMap: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap: skipping, looped directory detected
app-1 | /usr/share/fonts/opentype: skipping, looped directory detected
app-1 | /usr/share/fonts/truetype: skipping, looped directory detected
app-1 | /usr/share/fonts/type1: skipping, looped directory detected
app-1 | /usr/share/fonts/X11/Type1: skipping, looped directory detected
app-1 | /usr/share/fonts/X11/encodings: skipping, looped directory detected
app-1 | /usr/share/fonts/X11/util: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-cns1: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-gb1: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-japan1: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-japan2: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-korea1: skipping, looped directory detected
app-1 | /usr/share/fonts/opentype/urw-base35: skipping, looped directory detected
app-1 | /usr/share/fonts/truetype/arphic: skipping, looped directory detected
app-1 | /usr/share/fonts/truetype/libreoffice: skipping, looped directory detected
app-1 | /usr/share/fonts/truetype/unfonts-core: skipping, looped directory detected
app-1 | /usr/share/fonts/type1/urw-base35: skipping, looped directory detected
app-1 | /usr/share/fonts/X11/encodings/large: skipping, looped directory detected
app-1 | /var/cache/fontconfig: cleaning cache directory
app-1 | /root/.cache/fontconfig: not cleaning non-existent cache directory
app-1 | /root/.fontconfig: not cleaning non-existent cache directory
app-1 | /usr/bin/fc-cache: succeeded
app-1 | mayan: perform_upgrade()
rabbitmq-1 | 2024-07-09 09:47:43.675860+00:00 [info] <0.645.0> accepting AMQP connection <0.645.0> (172.18.0.4:36256 → 172.18.0.2:5672)
rabbitmq-1 | 2024-07-09 09:47:43.677700+00:00 [info] <0.645.0> connection <0.645.0> (172.18.0.4:36256 → 172.18.0.2:5672): user ‘mayan’ authenticated and granted access to vhost ‘mayan’
rabbitmq-1 | 2024-07-09 09:47:43.677984+00:00 [info] <0.645.0> closing AMQP connection <0.645.0> (172.18.0.4:36256 → 172.18.0.2:5672, vhost: ‘mayan’, user: ‘mayan’)
postgresql-1 | 2024-07-09 09:47:44.170 UTC [35] ERROR: relation “smart_settings_updatedsetting” does not exist at character 187
postgresql-1 | 2024-07-09 09:47:44.170 UTC [35] STATEMENT: SELECT “smart_settings_updatedsetting”.“id”, “smart_settings_updatedsetting”.“global_name”, “smart_settings_updatedsetting”.“value_new”, “smart_settings_updatedsetting”.“value_old” FROM “smart_settings_updatedsetting”
app-1 | Traceback (most recent call last):
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 438, in do_post_edit_function_call
app-1 | self.post_edit_function(setting=self)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/converter/setting_callbacks.py”, line 11, in callback_update_asset_cache_size
app-1 | cache = Cache.objects.get(
app-1 | ^^^^^^^^^^^^^^^^^^
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/db/models/manager.py”, line 87, in manager_method
app-1 | return getattr(self.get_queryset(), name)(*args, **kwargs)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/db/models/query.py”, line 637, in get
app-1 | raise self.model.DoesNotExist(
app-1 | mayan.apps.file_caching.models.Cache.DoesNotExist: Cache matching query does not exist.
app-1 |
app-1 | The above exception was the direct cause of the following exception:
app-1 |
app-1 | Traceback (most recent call last):
app-1 | File “/opt/mayan-edms/bin/mayan-edms.py”, line 22, in
app-1 | main()
app-1 | File “/opt/mayan-edms/bin/mayan-edms.py”, line 18, in main
app-1 | execute_from_command_line(sys.argv)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/core/management/init.py”, line 442, in execute_from_command_line
app-1 | utility.execute()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/core/management/init.py”, line 416, in execute
app-1 | django.setup()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/init.py”, line 24, in setup
app-1 | apps.populate(settings.INSTALLED_APPS)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/apps/registry.py”, line 124, in populate
app-1 | app_config.ready()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/apps.py”, line 85, in ready
app-1 | setting_cluster.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 139, in do_post_edit_function_call
app-1 | namespace.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 276, in do_post_edit_function_call
app-1 | setting.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 440, in do_post_edit_function_call
app-1 | raise SettingsException(
app-1 | mayan.apps.smart_settings.exceptions.SettingsException: Unable to execute setting post update function for setting “CONVERTER_ASSET_CACHE_MAXIMUM_SIZE”. Verify the value of the setting or rollback to the previous known working configuration file.
app-1 exited with code 0

it goes on here but max 32.000 sigsn are allowed

best regards steven

best regards

steven

Here is the error that’s preventing the stack from starting.

Fix the value that you changed in the setting CONVERTER_ASSET_CACHE_MAXIMUM_SIZE.

hey, where can i do this? because i never set this setting up. and i cant find it in the docker compose or env file.

sorry im totally new to mayan :smiley:

The setting value was changed at some point with an invalid or badly formatted value, hence the error message. Since this is a low level setting an incorrect value won’t allow the stack to boot up.

You can override any persistent settings by adding an environment variable in the .env file. In this case add:

MAYAN_CONVERTER_ASSET_CACHE_MAXIMUM_SIZE="10485760"

Then do:

docker compose up --detach
1 Like

hey i tried it with your example but i still get the same error message. First i used docker compose down, then i filled in your setting into the env file and then with docker compose up i get the same error.

i even tried it with some different values like 1000, your value etc. but it still wont work for me

here again the logs:
postgresql-1 | 2024-07-09 11:35:06.001 UTC [44] STATEMENT: SELECT “smart_settings_updatedsetting”.“id”, “smart_settings_updatedsetting”.“global_name”, “smart_settings_updatedsetting”.“value_new”, “smart_settings_updatedsetting”.“value_old” FROM “smart_settings_updatedsetting”
app-1 | Traceback (most recent call last):
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 438, in do_post_edit_function_call
app-1 | self.post_edit_function(setting=self)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/converter/setting_callbacks.py”, line 11, in callback_update_asset_cache_size
app-1 | cache = Cache.objects.get(
app-1 | ^^^^^^^^^^^^^^^^^^
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/db/models/manager.py”, line 87, in manager_method
app-1 | return getattr(self.get_queryset(), name)(*args, **kwargs)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/db/models/query.py”, line 637, in get
app-1 | raise self.model.DoesNotExist(
app-1 | mayan.apps.file_caching.models.Cache.DoesNotExist: Cache matching query does not exist.
app-1 |
app-1 | The above exception was the direct cause of the following exception:
app-1 |
app-1 | Traceback (most recent call last):
app-1 | File “/opt/mayan-edms/bin/mayan-edms.py”, line 22, in
app-1 | main()
app-1 | File “/opt/mayan-edms/bin/mayan-edms.py”, line 18, in main
app-1 | execute_from_command_line(sys.argv)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/core/management/init.py”, line 442, in execute_from_command_line
app-1 | utility.execute()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/core/management/init.py”, line 416, in execute
app-1 | django.setup()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/init.py”, line 24, in setup
app-1 | apps.populate(settings.INSTALLED_APPS)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/apps/registry.py”, line 124, in populate
app-1 | app_config.ready()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/apps.py”, line 85, in ready
app-1 | setting_cluster.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 139, in do_post_edit_function_call
app-1 | namespace.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 276, in do_post_edit_function_call
app-1 | setting.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 440, in do_post_edit_function_call
app-1 | raise SettingsException(
app-1 | mayan.apps.smart_settings.exceptions.SettingsException: Unable to execute setting post update function for setting “CONVERTER_ASSET_CACHE_MAXIMUM_SIZE”. Verify the value of the setting or rollback to the previous known working configuration file.

1 Like

docker compose --file docker-compose.mayan.yml --project-name mayan config

name: mayan
services:
app:
profiles:
- all_in_one
environment:
COMPOSE_PROFILES: all_in_one,postgresql,rabbitmq,redis
COMPOSE_PROJECT_NAME: mayan
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgresdb?schema=public
FC_REQUEST_URL: http://0.0.0.0:8077/face-comp
LIBRETRANSLATE_URL: http://localhost:5000/translate
MAYAN_API: http://localhost:80
MAYAN_CELERY_BROKER_URL: amqp://mayan:mayanrabbitpass@rabbitmq:5672/mayan
MAYAN_CELERY_RESULT_BACKEND: redis://:mayanredispassword@redis:6379/1
MAYAN_CONVERTER_ASSET_CACHE_MAXIMUM_SIZE: “100000”

1 Like

Hi,

It seems that the Docker Compose file has been greatly modified and it is also either running or include settings for a translation service, a custom Mayan API client, another DMS software, a custom payment processing app, and another database client software connecting to the same Mayan EDMS PostgreSQL database.

It is very like that these modifications are causing the issue.

Please reproduce the suspected bug using unmodified Mayan files.

For support with customization or integration with custom apps please request a quote for a custom contract.

1 Like

docker compose --file docker-compose.yml --project-name mayan config
WARN[0000] /home/steven/Documents/mayan test/docker-compose.yml: version is obsolete
name: mayan
services:
app:
profiles:
- all_in_one
environment:
COMPOSE_PROFILES: all_in_one,postgresql,rabbitmq,redis
COMPOSE_PROJECT_NAME: mayan
MAYAN_CELERY_BROKER_URL: amqp://mayan:mayanrabbitpass@rabbitmq:5672/mayan
MAYAN_CELERY_RESULT_BACKEND: redis://:mayanredispassword@redis:6379/1
MAYAN_CONVERTER_ASSET_CACHE_MAXIMUM_SIZE: “100000”
MAYAN_DATABASES: ‘{’‘default’‘:{’‘ENGINE’‘:’‘django.db.backends.postgresql’‘,’‘NAME’‘:’‘mayan’‘,’‘PASSWORD’‘:’‘mayandbpass’‘,’‘USER’‘:’‘mayan’‘,’‘HOST’‘:’‘postgresql’‘,’‘PORT’‘:,’‘CONN_MAX_AGE’‘:0,}}’
MAYAN_DOCKER_WAIT: postgresql:5432 rabbitmq:5672 redis:6379
MAYAN_LOCK_MANAGER_BACKEND: mayan.apps.lock_manager.backends.redis_lock.RedisLock
MAYAN_LOCK_MANAGER_BACKEND_ARGUMENTS: ‘{’‘redis_url’‘:’‘redis://:mayanredispassword@redis:6379/2’‘}’
MAYAN_MIRROR_INDEX_NAME: “”
MAYAN_TRAEFIK_DASHBOARD_AUTHENTICATION: “”
MAYAN_TRAEFIK_DASHBOARD_ENABLE: “false”
MAYAN_TRAEFIK_EXTERNAL_DOMAIN: “”
MAYAN_TRAEFIK_FRONTEND_ENABLE: “false”
MAYAN_TRAEFIK_LETS_ENCRYPT_DNS_CHALLENGE_PROVIDER: “”
MAYAN_TRAEFIK_LETS_ENCRYPT_EMAIL: “”
MAYAN_TRAEFIK_RABBITMQ_ENABLE: “false”
MAYAN_WORKER_CUSTOM_QUEUE_LIST: “”
image: mayanedms/mayanedms:s4.7
labels:
traefik.enable: “false”
traefik.http.middlewares.mayan_frontend_http_redirect.redirectscheme.permanent: “false”
traefik.http.middlewares.mayan_frontend_http_redirect.redirectscheme.scheme: https
traefik.http.routers.mayan_frontend_http.entrypoints: http
traefik.http.routers.mayan_frontend_http.middlewares: mayan_frontend_http_redirect
traefik.http.routers.mayan_frontend_http.rule: Host() traefik.http.routers.mayan_frontend_https.entrypoints: https traefik.http.routers.mayan_frontend_https.rule: Host()
traefik.http.routers.mayan_frontend_https.service: mayan_frontend_http
traefik.http.routers.mayan_frontend_https.tls: “true”
traefik.http.routers.mayan_frontend_https.tls.certresolver: letsencrypt
traefik.http.services.mayan_frontend_http.loadbalancer.server.port: “8000”
logging:
driver: json-file
options:
max-file: “3”
max-size: 100m
mode: non-blocking
networks:
mayan: null
ports:
- mode: ingress
target: 8000
published: “80”
protocol: tcp
restart: unless-stopped
volumes:
- type: volume
source: app
target: /var/lib/mayan
volume: {}
postgresql:
profiles:
- postgresql
command:
- postgres
- -c
- default_statistics_target=200
- -c
- maintenance_work_mem=128MB
- -c
- max_connections=150
- -c
- shared_buffers=512MB
- -c
- work_mem=32MB
environment:
POSTGRES_DB: mayan
POSTGRES_PASSWORD: mayandbpass
POSTGRES_USER: mayan
healthcheck:
test:
- CMD
- pg_isready
- --username
- mayan
timeout: 5s
interval: 10s
retries: 5
start_period: 30s
image: postgres:14.12-alpine
networks:
mayan: null
restart: unless-stopped
shm_size: “134217728”
volumes:
- type: volume
source: postgres
target: /var/lib/postgresql/data
volume: {}
- type: volume
source: postgres-initdb
target: /docker-entrypoint-initdb.d
volume: {}
rabbitmq:
profiles:
- rabbitmq
environment:
RABBITMQ_DEFAULT_PASS: mayanrabbitpass
RABBITMQ_DEFAULT_USER: mayan
RABBITMQ_DEFAULT_VHOST: mayan
hostname: rabbitmq
image: rabbitmq:3.12.14-management-alpine
labels:
traefik.enable: “false”
traefik.http.routers.rabbitmq_admin_http.entrypoints: rabbitmq_admin_http
traefik.http.routers.rabbitmq_admin_http.rule: Host() traefik.http.routers.rabbitmq_admin_http.service: rabbitmq_admin_http traefik.http.routers.rabbitmq_admin_http.tls: "true" traefik.http.routers.rabbitmq_admin_http.tls.certresolver: letsencrypt traefik.http.services.rabbitmq_admin_http.loadbalancer.server.port: "15672" networks: mayan: null restart: unless-stopped volumes: - type: volume source: rabbitmq target: /var/lib/rabbitmq volume: {} redis: profiles: - redis command: - redis-server - --appendonly - "no" - --databases - "3" - --maxmemory - 100mb - --maxclients - "500" - --maxmemory-policy - allkeys-lru - --save - "" - --tcp-backlog - "256" - --requirepass - mayanredispassword image: redis:7.0.15-alpine networks: mayan: null restart: unless-stopped volumes: - type: volume source: redis target: /data volume: {} networks: mayan: name: mayan_mayan driver: bridge volumes: app: name: mayan_app postgres: name: mayan_postgres postgres-initdb: name: mayan_postgres-initdb rabbitmq: name: mayan_rabbitmq redis: name: mayan_redis x-mayan-container: env_file: .env environment: MAYAN_CELERY_BROKER_URL: amqp://mayan:mayanrabbitpass@rabbitmq:5672/mayan MAYAN_CELERY_RESULT_BACKEND: redis://:mayanredispassword@redis:6379/1 MAYAN_DATABASES: '{''default'':{''ENGINE'':''django.db.backends.postgresql'',''NAME'':''mayan'',''PASSWORD'':''mayandbpass'',''USER'':''mayan'',''HOST'':''postgresql'',''PORT'':,''CONN_MAX_AGE'':0,}}' MAYAN_LOCK_MANAGER_BACKEND: mayan.apps.lock_manager.backends.redis_lock.RedisLock MAYAN_LOCK_MANAGER_BACKEND_ARGUMENTS: '{''redis_url'':''redis://:mayanredispassword@redis:6379/2''}' image: mayanedms/mayanedms:s4.7 logging: driver: json-file options: max-file: "3" max-size: 100m mode: non-blocking networks: - mayan restart: unless-stopped volumes: - app:/var/lib/mayan x-mayan-dependencies: depends_on: setup_or_upgrade: condition: service_completed_successfully x-mayan-frontend-ports: ports: - 80:8000 x-mayan-traefik-labels: labels: - traefik.enable=false - traefik.http.middlewares.mayan_frontend_http_redirect.redirectscheme.scheme=https - traefik.http.middlewares.mayan_frontend_http_redirect.redirectscheme.permanent=false - traefik.http.routers.mayan_frontend_http.entrypoints=http - traefik.http.routers.mayan_frontend_http.middlewares=mayan_frontend_http_redirect - traefik.http.routers.mayan_frontend_http.rule=Host()
- traefik.http.routers.mayan_frontend_https.entrypoints=https
- traefik.http.routers.mayan_frontend_https.rule=Host(``)
- traefik.http.routers.mayan_frontend_https.service=mayan_frontend_http
- traefik.http.routers.mayan_frontend_https.tls=true
- traefik.http.routers.mayan_frontend_https.tls.certresolver=letsencrypt
- traefik.http.services.mayan_frontend_http.loadbalancer.server.port=8000
thats with your files the error is the same man i tried it here aswell

1 Like

steven@Steven:~/Documents/mayan test$ docker compose up
WARN[0000] /home/steven/Documents/mayan test/docker-compose.yml: version is obsolete
[+] Running 0/0
⠋ Network mayan_mayan Creating 0.1s
WARN[0000] Found orphan containers ([redis-1 redis-2 ocr_api libretranslate test_db facecomparison_api UIDCheck_api redis-0 main_db]) for this project. If you r[+] Running 5/1ed this service in your compose file, you can run this command wi :heavy_check_mark: Network mayan_mayan Created 0.1s
:heavy_check_mark: Container mayan-redis-1 Created 0.1s
:heavy_check_mark: Container mayan-rabbitmq-1 Created 0.1s
:heavy_check_mark: Container mayan-app-1 Created 0.1s
:heavy_check_mark: Container mayan-postgresql-1 Created 0.1s
Attaching to app-1, postgresql-1, rabbitmq-1, redis-1
app-1 | mayan: starting entrypoint.sh
redis-1 | 1:C 09 Jul 2024 13:30:55.495 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-1 | 1:C 09 Jul 2024 13:30:55.495 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=1, just started
redis-1 | 1:C 09 Jul 2024 13:30:55.495 # Configuration loaded
redis-1 | 1:M 09 Jul 2024 13:30:55.497 * monotonic clock: POSIX clock_gettime
redis-1 | 1:M 09 Jul 2024 13:30:55.499 * Running mode=standalone, port=6379.
redis-1 | 1:M 09 Jul 2024 13:30:55.499 # Server initialized
redis-1 | 1:M 09 Jul 2024 13:30:55.499 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see vm.max_map_count growing steadily when vm.overcommit_memory is 2 · Issue #1328 · jemalloc/jemalloc · GitHub. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
redis-1 | 1:M 09 Jul 2024 13:30:55.500 * Ready to accept connections
postgresql-1 |
postgresql-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgresql-1 |
postgresql-1 | 2024-07-09 13:30:55.608 UTC [1] LOG: starting PostgreSQL 14.12 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
postgresql-1 | 2024-07-09 13:30:55.608 UTC [1] LOG: listening on IPv4 address “0.0.0.0”, port 5432
postgresql-1 | 2024-07-09 13:30:55.608 UTC [1] LOG: listening on IPv6 address “::”, port 5432
postgresql-1 | 2024-07-09 13:30:55.613 UTC [1] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
postgresql-1 | 2024-07-09 13:30:55.618 UTC [27] LOG: database system was shut down at 2024-07-09 13:28:12 UTC
postgresql-1 | 2024-07-09 13:30:55.623 UTC [1] LOG: database system is ready to accept connections
app-1 | Connection attempt #1 to: port postgresql:5432; Connected.
app-1 | Connection attempt #1 to: port rabbitmq:5672; [Errno 111] Connection refused
app-1 | Connection attempt #2 to: port rabbitmq:5672; [Errno 111] Connection refused
rabbitmq-1 | 2024-07-09 13:30:56.848466+00:00 [notice] <0.44.0> Application syslog exited with reason: stopped
rabbitmq-1 | 2024-07-09 13:30:56.851616+00:00 [notice] <0.230.0> Logging: switching to configured handler(s); following messages may not be visible in this log output
rabbitmq-1 | 2024-07-09 13:30:56.852016+00:00 [notice] <0.230.0> Logging: configured log handlers are now ACTIVE
rabbitmq-1 | 2024-07-09 13:30:56.972666+00:00 [info] <0.230.0> ra: starting system quorum_queues
rabbitmq-1 | 2024-07-09 13:30:56.972716+00:00 [info] <0.230.0> starting Ra system: quorum_queues in directory: /var/lib/rabbitmq/mnesia/rabbit@rabbitmq/quorum/rabbit@rabbitmq
rabbitmq-1 | 2024-07-09 13:30:56.978417+00:00 [info] <0.316.0> ra system ‘quorum_queues’ running pre init for 0 registered servers
rabbitmq-1 | 2024-07-09 13:30:56.981021+00:00 [info] <0.317.0> ra: meta data store initialised for system quorum_queues. 0 record(s) recovered
rabbitmq-1 | 2024-07-09 13:30:56.988740+00:00 [notice] <0.322.0> WAL: ra_log_wal init, open tbls: ra_log_open_mem_tables, closed tbls: ra_log_closed_mem_tables
rabbitmq-1 | 2024-07-09 13:30:56.994289+00:00 [info] <0.230.0> ra: starting system coordination
rabbitmq-1 | 2024-07-09 13:30:56.994317+00:00 [info] <0.230.0> starting Ra system: coordination in directory: /var/lib/rabbitmq/mnesia/rabbit@rabbitmq/coordination/rabbit@rabbitmq
rabbitmq-1 | 2024-07-09 13:30:56.994719+00:00 [info] <0.329.0> ra system ‘coordination’ running pre init for 0 registered servers
rabbitmq-1 | 2024-07-09 13:30:56.994936+00:00 [info] <0.330.0> ra: meta data store initialised for system coordination. 0 record(s) recovered
rabbitmq-1 | 2024-07-09 13:30:56.995008+00:00 [notice] <0.335.0> WAL: ra_coordination_log_wal init, open tbls: ra_coordination_log_open_mem_tables, closed tbls: ra_coordination_log_closed_mem_tables
rabbitmq-1 | 2024-07-09 13:30:56.997115+00:00 [info] <0.230.0>
rabbitmq-1 | 2024-07-09 13:30:56.997115+00:00 [info] <0.230.0> Starting RabbitMQ 3.12.14 on Erlang 25.3.2.13 [jit]
rabbitmq-1 | 2024-07-09 13:30:56.997115+00:00 [info] <0.230.0> Copyright (c) 2007-2024 Broadcom Inc and/or its subsidiaries
rabbitmq-1 | 2024-07-09 13:30:56.997115+00:00 [info] <0.230.0> Licensed under the MPL 2.0. Website: https://rabbitmq.com
rabbitmq-1 | 2024-07-09 13:30:56.997149+00:00 [error] <0.230.0> This release series has reached end of life and is no longer supported. Please visit Release Information | RabbitMQ to learn more and upgrade
rabbitmq-1 |
rabbitmq-1 | ## ## RabbitMQ 3.12.14
rabbitmq-1 | ## ##
rabbitmq-1 | ########## Copyright (c) 2007-2024 Broadcom Inc and/or its subsidiaries
rabbitmq-1 | ###### ##
rabbitmq-1 | ########## Licensed under the MPL 2.0. Website: https://rabbitmq.com
rabbitmq-1 |
rabbitmq-1 | Erlang: 25.3.2.13 [jit]
rabbitmq-1 | TLS Library: OpenSSL - OpenSSL 3.1.6 4 Jun 2024
rabbitmq-1 | Release series support status: out of support
rabbitmq-1 |
rabbitmq-1 | Doc guides: RabbitMQ Documentation | RabbitMQ
rabbitmq-1 | Support: Getting Help and Support | RabbitMQ
rabbitmq-1 | Tutorials: RabbitMQ Tutorials | RabbitMQ
rabbitmq-1 | Monitoring: Monitoring | RabbitMQ
rabbitmq-1 |
rabbitmq-1 | Logs:
rabbitmq-1 |
rabbitmq-1 | Config file(s): /etc/rabbitmq/conf.d/10-defaults.conf
rabbitmq-1 |
rabbitmq-1 | Starting broker…2024-07-09 13:30:57.000245+00:00 [info] <0.230.0>
rabbitmq-1 | 2024-07-09 13:30:57.000245+00:00 [info] <0.230.0> node : rabbit@rabbitmq
rabbitmq-1 | 2024-07-09 13:30:57.000245+00:00 [info] <0.230.0> home dir : /var/lib/rabbitmq
rabbitmq-1 | 2024-07-09 13:30:57.000245+00:00 [info] <0.230.0> config file(s) : /etc/rabbitmq/conf.d/10-defaults.conf
rabbitmq-1 | 2024-07-09 13:30:57.000245+00:00 [info] <0.230.0> cookie hash : 9ZpkRFc1ADk64FSAsC9N7g==
rabbitmq-1 | 2024-07-09 13:30:57.000245+00:00 [info] <0.230.0> log(s) :
rabbitmq-1 | 2024-07-09 13:30:57.000245+00:00 [info] <0.230.0> data dir : /var/lib/rabbitmq/mnesia/rabbit@rabbitmq
app-1 | Connection attempt #3 to: port rabbitmq:5672; [Errno 111] Connection refused
rabbitmq-1 | 2024-07-09 13:30:58.097701+00:00 [info] <0.230.0> Running boot step pre_boot defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.097748+00:00 [info] <0.230.0> Running boot step rabbit_global_counters defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.097873+00:00 [info] <0.230.0> Running boot step rabbit_osiris_metrics defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.097919+00:00 [info] <0.230.0> Running boot step rabbit_core_metrics defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.098316+00:00 [info] <0.230.0> Running boot step rabbit_alarm defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.099828+00:00 [info] <0.354.0> Memory high watermark set to 12582 MiB (13193777971 bytes) of 31456 MiB (32984444928 bytes) total
rabbitmq-1 | 2024-07-09 13:30:58.100794+00:00 [info] <0.356.0> Enabling free disk space monitoring (disk free space: 408426692608, total memory: 32984444928)
rabbitmq-1 | 2024-07-09 13:30:58.100817+00:00 [info] <0.356.0> Disk free limit set to 50MB
rabbitmq-1 | 2024-07-09 13:30:58.101378+00:00 [info] <0.230.0> Running boot step code_server_cache defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.101422+00:00 [info] <0.230.0> Running boot step file_handle_cache defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.101528+00:00 [info] <0.359.0> Limiting to approx 1048479 file handles (943629 sockets)
rabbitmq-1 | 2024-07-09 13:30:58.101578+00:00 [info] <0.360.0> FHC read buffering: OFF
rabbitmq-1 | 2024-07-09 13:30:58.101594+00:00 [info] <0.360.0> FHC write buffering: ON
rabbitmq-1 | 2024-07-09 13:30:58.101763+00:00 [info] <0.230.0> Running boot step worker_pool defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.101789+00:00 [info] <0.337.0> Will use 12 processes for default worker pool
rabbitmq-1 | 2024-07-09 13:30:58.101807+00:00 [info] <0.337.0> Starting worker pool ‘worker_pool’ with 12 processes in it
rabbitmq-1 | 2024-07-09 13:30:58.102024+00:00 [info] <0.230.0> Running boot step database defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.102644+00:00 [info] <0.230.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
rabbitmq-1 | 2024-07-09 13:30:58.108287+00:00 [info] <0.230.0> Successfully synced tables from a peer
rabbitmq-1 | 2024-07-09 13:30:58.123778+00:00 [info] <0.230.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
rabbitmq-1 | 2024-07-09 13:30:58.123945+00:00 [info] <0.230.0> Successfully synced tables from a peer
rabbitmq-1 | 2024-07-09 13:30:58.123974+00:00 [info] <0.230.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration.
rabbitmq-1 | 2024-07-09 13:30:58.124147+00:00 [info] <0.230.0> Running boot step tracking_metadata_store defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.124206+00:00 [info] <0.382.0> Setting up a table for connection tracking on this node: tracked_connection
rabbitmq-1 | 2024-07-09 13:30:58.124251+00:00 [info] <0.382.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost
rabbitmq-1 | 2024-07-09 13:30:58.124333+00:00 [info] <0.382.0> Setting up a table for per-user connection counting on this node: tracked_connection_per_user
rabbitmq-1 | 2024-07-09 13:30:58.124416+00:00 [info] <0.382.0> Setting up a table for channel tracking on this node: tracked_channel
rabbitmq-1 | 2024-07-09 13:30:58.124474+00:00 [info] <0.382.0> Setting up a table for channel tracking on this node: tracked_channel_per_user
rabbitmq-1 | 2024-07-09 13:30:58.124550+00:00 [info] <0.230.0> Running boot step networking_metadata_store defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.124724+00:00 [info] <0.230.0> Running boot step feature_flags defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.124840+00:00 [info] <0.230.0> Running boot step codec_correctness_check defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.124870+00:00 [info] <0.230.0> Running boot step external_infrastructure defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.124904+00:00 [info] <0.230.0> Running boot step rabbit_event defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125062+00:00 [info] <0.230.0> Running boot step rabbit_registry defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125140+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_amqplain defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125203+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_cr_demo defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125252+00:00 [info] <0.230.0> Running boot step rabbit_auth_mechanism_plain defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125293+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_direct defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125337+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_fanout defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125374+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_headers defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125425+00:00 [info] <0.230.0> Running boot step rabbit_exchange_type_topic defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125464+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_all defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125505+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_exactly defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125570+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_mode_nodes defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125610+00:00 [info] <0.230.0> Running boot step rabbit_priority_queue defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125635+00:00 [info] <0.230.0> Priority queues enabled, real BQ is rabbit_variable_queue
rabbitmq-1 | 2024-07-09 13:30:58.125690+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_client_local defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125733+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_min_masters defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125771+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_random defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125797+00:00 [info] <0.230.0> Running boot step kernel_ready defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125814+00:00 [info] <0.230.0> Running boot step rabbit_sysmon_minder defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.125924+00:00 [info] <0.230.0> Running boot step rabbit_epmd_monitor defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.126487+00:00 [info] <0.390.0> epmd monitor knows us, inter-node communication (distribution) port: 25672
rabbitmq-1 | 2024-07-09 13:30:58.126664+00:00 [info] <0.230.0> Running boot step guid_generator defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.132443+00:00 [info] <0.230.0> Running boot step rabbit_node_monitor defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.132737+00:00 [info] <0.394.0> Starting rabbit_node_monitor (in ignore mode)
rabbitmq-1 | 2024-07-09 13:30:58.132866+00:00 [info] <0.230.0> Running boot step delegate_sup defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.133311+00:00 [info] <0.230.0> Running boot step rabbit_memory_monitor defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.133454+00:00 [info] <0.230.0> Running boot step rabbit_fifo_dlx_sup defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.133496+00:00 [info] <0.230.0> Running boot step core_initialized defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.133514+00:00 [info] <0.230.0> Running boot step rabbit_channel_tracking_handler defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.133543+00:00 [info] <0.230.0> Running boot step rabbit_connection_tracking_handler defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.133578+00:00 [info] <0.230.0> Running boot step rabbit_definitions_hashing defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.133644+00:00 [info] <0.230.0> Running boot step rabbit_exchange_parameters defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.133868+00:00 [info] <0.230.0> Running boot step rabbit_mirror_queue_misc defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.134181+00:00 [info] <0.230.0> Running boot step rabbit_policies defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.134500+00:00 [info] <0.230.0> Running boot step rabbit_policy defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.134539+00:00 [info] <0.230.0> Running boot step rabbit_queue_location_validator defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.134590+00:00 [info] <0.230.0> Running boot step rabbit_quorum_memory_manager defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.134666+00:00 [info] <0.230.0> Running boot step rabbit_stream_coordinator defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.134762+00:00 [info] <0.230.0> Running boot step rabbit_vhost_limit defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.134802+00:00 [info] <0.230.0> Running boot step rabbit_mgmt_reset_handler defined by app rabbitmq_management
rabbitmq-1 | 2024-07-09 13:30:58.134845+00:00 [info] <0.230.0> Running boot step rabbit_mgmt_db_handler defined by app rabbitmq_management_agent
rabbitmq-1 | 2024-07-09 13:30:58.134880+00:00 [info] <0.230.0> Management plugin: using rates mode ‘basic’
rabbitmq-1 | 2024-07-09 13:30:58.135108+00:00 [info] <0.230.0> Running boot step recovery defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.135933+00:00 [info] <0.430.0> Making sure data directory ‘/var/lib/rabbitmq/mnesia/rabbit@rabbitmq/msg_stores/vhosts/5RU2IGKKAZSSHOVUGSVFWGPHU’ for vhost ‘mayan’ exists
rabbitmq-1 | 2024-07-09 13:30:58.143744+00:00 [info] <0.430.0> Starting message stores for vhost ‘mayan’
rabbitmq-1 | 2024-07-09 13:30:58.144745+00:00 [info] <0.440.0> Message store “5RU2IGKKAZSSHOVUGSVFWGPHU/msg_store_transient”: using rabbit_msg_store_ets_index to provide index
rabbitmq-1 | 2024-07-09 13:30:58.147851+00:00 [info] <0.430.0> Started message store of type transient for vhost ‘mayan’
rabbitmq-1 | 2024-07-09 13:30:58.148262+00:00 [info] <0.444.0> Message store “5RU2IGKKAZSSHOVUGSVFWGPHU/msg_store_persistent”: using rabbit_msg_store_ets_index to provide index
rabbitmq-1 | 2024-07-09 13:30:58.150533+00:00 [info] <0.430.0> Started message store of type persistent for vhost ‘mayan’
rabbitmq-1 | 2024-07-09 13:30:58.150773+00:00 [info] <0.430.0> Recovering 0 queues of type rabbit_classic_queue took 14ms
rabbitmq-1 | 2024-07-09 13:30:58.150815+00:00 [info] <0.430.0> Recovering 0 queues of type rabbit_quorum_queue took 0ms
rabbitmq-1 | 2024-07-09 13:30:58.150901+00:00 [info] <0.430.0> Recovering 0 queues of type rabbit_stream_queue took 0ms
rabbitmq-1 | 2024-07-09 13:30:58.153683+00:00 [info] <0.230.0> Running boot step empty_db_check defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.153790+00:00 [info] <0.230.0> Will not seed default virtual host and user: have definitions to load…
rabbitmq-1 | 2024-07-09 13:30:58.153866+00:00 [info] <0.230.0> Running boot step rabbit_observer_cli defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154010+00:00 [info] <0.230.0> Running boot step rabbit_looking_glass defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154117+00:00 [info] <0.230.0> Running boot step rabbit_core_metrics_gc defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154326+00:00 [info] <0.230.0> Running boot step background_gc defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154463+00:00 [info] <0.230.0> Running boot step routing_ready defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154494+00:00 [info] <0.230.0> Running boot step pre_flight defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154559+00:00 [info] <0.230.0> Running boot step notify_cluster defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154595+00:00 [info] <0.230.0> Running boot step networking defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154662+00:00 [info] <0.230.0> Running boot step definition_import_worker_pool defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.154731+00:00 [info] <0.337.0> Starting worker pool ‘definition_import_pool’ with 12 processes in it
rabbitmq-1 | 2024-07-09 13:30:58.155375+00:00 [info] <0.230.0> Running boot step cluster_name defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.155427+00:00 [info] <0.230.0> Running boot step direct_client defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.155503+00:00 [info] <0.230.0> Running boot step rabbit_maintenance_mode_state defined by app rabbit
rabbitmq-1 | 2024-07-09 13:30:58.155532+00:00 [info] <0.230.0> Creating table rabbit_node_maintenance_states for maintenance mode status
rabbitmq-1 | 2024-07-09 13:30:58.155947+00:00 [info] <0.230.0> Running boot step rabbit_management_load_definitions defined by app rabbitmq_management
rabbitmq-1 | 2024-07-09 13:30:58.156147+00:00 [info] <0.490.0> Resetting node maintenance status
rabbitmq-1 | 2024-07-09 13:30:58.170401+00:00 [info] <0.549.0> Management plugin: HTTP (non-TLS) listener started on port 15672
rabbitmq-1 | 2024-07-09 13:30:58.170517+00:00 [info] <0.577.0> Statistics database started.
rabbitmq-1 | 2024-07-09 13:30:58.170578+00:00 [info] <0.576.0> Starting worker pool ‘management_worker_pool’ with 3 processes in it
rabbitmq-1 | 2024-07-09 13:30:58.178185+00:00 [info] <0.591.0> Prometheus metrics: HTTP (non-TLS) listener started on port 15692
rabbitmq-1 | 2024-07-09 13:30:58.178273+00:00 [info] <0.490.0> Ready to start client connection listeners
rabbitmq-1 | 2024-07-09 13:30:58.179246+00:00 [info] <0.635.0> started TCP listener on [::]:5672
rabbitmq-1 | completed with 4 plugins.
rabbitmq-1 | 2024-07-09 13:30:58.207592+00:00 [info] <0.490.0> Server startup complete; 4 plugins started.
rabbitmq-1 | 2024-07-09 13:30:58.207592+00:00 [info] <0.490.0> * rabbitmq_prometheus
rabbitmq-1 | 2024-07-09 13:30:58.207592+00:00 [info] <0.490.0> * rabbitmq_management
rabbitmq-1 | 2024-07-09 13:30:58.207592+00:00 [info] <0.490.0> * rabbitmq_management_agent
rabbitmq-1 | 2024-07-09 13:30:58.207592+00:00 [info] <0.490.0> * rabbitmq_web_dispatch
rabbitmq-1 | 2024-07-09 13:30:58.356937+00:00 [info] <0.9.0> Time to start RabbitMQ: 2588576 us
app-1 | Connection attempt #4 to: port rabbitmq:5672; Connected.
app-1 | Connection attempt #1 to: port redis:6379; Connected.
app-1 | mayan: update_uid_gid()
app-1 | usermod: no changes
app-1 | mayan: os_package_installs()
app-1 | mayan: pip_installs()
app-1 | Font directories:
app-1 | /root/.local/share/fonts
app-1 | /usr/local/share/fonts
app-1 | /usr/share/fonts
app-1 | /root/.fonts
app-1 | /usr/share/fonts/X11
app-1 | /usr/share/fonts/cMap
app-1 | /usr/share/fonts/cmap
app-1 | /usr/share/fonts/opentype
app-1 | /usr/share/fonts/truetype
app-1 | /usr/share/fonts/type1
app-1 | /usr/share/fonts/X11/Type1
app-1 | /usr/share/fonts/X11/encodings
app-1 | /usr/share/fonts/X11/util
app-1 | /usr/share/fonts/cmap/adobe-cns1
app-1 | /usr/share/fonts/cmap/adobe-gb1
app-1 | /usr/share/fonts/cmap/adobe-japan1
app-1 | /usr/share/fonts/cmap/adobe-japan2
app-1 | /usr/share/fonts/cmap/adobe-korea1
app-1 | /usr/share/fonts/opentype/urw-base35
app-1 | /usr/share/fonts/truetype/arphic
app-1 | /usr/share/fonts/truetype/libreoffice
app-1 | /usr/share/fonts/truetype/unfonts-core
app-1 | /usr/share/fonts/type1/urw-base35
app-1 | /usr/share/fonts/X11/encodings/large
app-1 | /root/.local/share/fonts: skipping, no such directory
app-1 | /usr/local/share/fonts: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts: skipping, existing cache is valid: 0 fonts, 6 dirs
app-1 | /usr/share/fonts/X11: skipping, existing cache is valid: 0 fonts, 3 dirs
app-1 | /usr/share/fonts/X11/Type1: skipping, existing cache is valid: 35 fonts, 0 dirs
app-1 | /usr/share/fonts/X11/encodings: skipping, existing cache is valid: 0 fonts, 1 dirs
app-1 | /usr/share/fonts/X11/encodings/large: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/X11/util: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cMap: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap: skipping, existing cache is valid: 0 fonts, 5 dirs
app-1 | /usr/share/fonts/cmap/adobe-cns1: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap/adobe-gb1: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap/adobe-japan1: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap/adobe-japan2: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/cmap/adobe-korea1: skipping, existing cache is valid: 0 fonts, 0 dirs
app-1 | /usr/share/fonts/opentype: skipping, existing cache is valid: 0 fonts, 1 dirs
app-1 | /usr/share/fonts/opentype/urw-base35: skipping, existing cache is valid: 35 fonts, 0 dirs
app-1 | /usr/share/fonts/truetype: skipping, existing cache is valid: 0 fonts, 3 dirs
app-1 | /usr/share/fonts/truetype/arphic: skipping, existing cache is valid: 8 fonts, 0 dirs
app-1 | /usr/share/fonts/truetype/libreoffice: skipping, existing cache is valid: 1 fonts, 0 dirs
app-1 | /usr/share/fonts/truetype/unfonts-core: skipping, existing cache is valid: 12 fonts, 0 dirs
app-1 | /usr/share/fonts/type1: skipping, existing cache is valid: 0 fonts, 1 dirs
app-1 | /usr/share/fonts/type1/urw-base35: skipping, existing cache is valid: 35 fonts, 0 dirs
app-1 | /root/.fonts: skipping, no such directory
app-1 | /usr/share/fonts/X11: skipping, looped directory detected
app-1 | /usr/share/fonts/cMap: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap: skipping, looped directory detected
app-1 | /usr/share/fonts/opentype: skipping, looped directory detected
app-1 | /usr/share/fonts/truetype: skipping, looped directory detected
app-1 | /usr/share/fonts/type1: skipping, looped directory detected
app-1 | /usr/share/fonts/X11/Type1: skipping, looped directory detected
app-1 | /usr/share/fonts/X11/encodings: skipping, looped directory detected
app-1 | /usr/share/fonts/X11/util: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-cns1: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-gb1: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-japan1: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-japan2: skipping, looped directory detected
app-1 | /usr/share/fonts/cmap/adobe-korea1: skipping, looped directory detected
app-1 | /usr/share/fonts/opentype/urw-base35: skipping, looped directory detected
app-1 | /usr/share/fonts/truetype/arphic: skipping, looped directory detected
app-1 | /usr/share/fonts/truetype/libreoffice: skipping, looped directory detected
app-1 | /usr/share/fonts/truetype/unfonts-core: skipping, looped directory detected
app-1 | /usr/share/fonts/type1/urw-base35: skipping, looped directory detected
app-1 | /usr/share/fonts/X11/encodings/large: skipping, looped directory detected
app-1 | /var/cache/fontconfig: cleaning cache directory
app-1 | /root/.cache/fontconfig: not cleaning non-existent cache directory
app-1 | /root/.fontconfig: not cleaning non-existent cache directory
app-1 | /usr/bin/fc-cache: succeeded
app-1 | mayan: perform_upgrade()
rabbitmq-1 | 2024-07-09 13:30:59.759280+00:00 [info] <0.645.0> accepting AMQP connection <0.645.0> (172.18.0.2:32854 → 172.18.0.4:5672)
rabbitmq-1 | 2024-07-09 13:30:59.760673+00:00 [info] <0.645.0> connection <0.645.0> (172.18.0.2:32854 → 172.18.0.4:5672): user ‘mayan’ authenticated and granted access to vhost ‘mayan’
rabbitmq-1 | 2024-07-09 13:30:59.760846+00:00 [info] <0.645.0> closing AMQP connection <0.645.0> (172.18.0.2:32854 → 172.18.0.4:5672, vhost: ‘mayan’, user: ‘mayan’)
postgresql-1 | 2024-07-09 13:31:00.180 UTC [35] ERROR: relation “smart_settings_updatedsetting” does not exist at character 187
postgresql-1 | 2024-07-09 13:31:00.180 UTC [35] STATEMENT: SELECT “smart_settings_updatedsetting”.“id”, “smart_settings_updatedsetting”.“global_name”, “smart_settings_updatedsetting”.“value_new”, “smart_settings_updatedsetting”.“value_old” FROM “smart_settings_updatedsetting”
app-1 | Traceback (most recent call last):
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 438, in do_post_edit_function_call
app-1 | self.post_edit_function(setting=self)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/converter/setting_callbacks.py”, line 11, in callback_update_asset_cache_size
app-1 | cache = Cache.objects.get(
app-1 | ^^^^^^^^^^^^^^^^^^
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/db/models/manager.py”, line 87, in manager_method
app-1 | return getattr(self.get_queryset(), name)(*args, **kwargs)
app-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/db/models/query.py”, line 637, in get
app-1 | raise self.model.DoesNotExist(
app-1 | mayan.apps.file_caching.models.Cache.DoesNotExist: Cache matching query does not exist.
app-1 |
app-1 | The above exception was the direct cause of the following exception:
app-1 |
app-1 | Traceback (most recent call last):
app-1 | File “/opt/mayan-edms/bin/mayan-edms.py”, line 22, in
app-1 | main()
app-1 | File “/opt/mayan-edms/bin/mayan-edms.py”, line 18, in main
app-1 | execute_from_command_line(sys.argv)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/core/management/init.py”, line 442, in execute_from_command_line
app-1 | utility.execute()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/core/management/init.py”, line 416, in execute
app-1 | django.setup()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/init.py”, line 24, in setup
app-1 | apps.populate(settings.INSTALLED_APPS)
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/django/apps/registry.py”, line 124, in populate
app-1 | app_config.ready()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/apps.py”, line 85, in ready
app-1 | setting_cluster.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 139, in do_post_edit_function_call
app-1 | namespace.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 276, in do_post_edit_function_call
app-1 | setting.do_post_edit_function_call()
app-1 | File “/opt/mayan-edms/lib/python3.11/site-packages/mayan/apps/smart_settings/classes.py”, line 440, in do_post_edit_function_call
app-1 | raise SettingsException(
app-1 | mayan.apps.smart_settings.exceptions.SettingsException: Unable to execute setting post update function for setting “CONVERTER_ASSET_CACHE_MAXIMUM_SIZE”. Verify the value of the setting or rollback to the previous known working configuration file.

1 Like

this is with your original files - same error - i just copied your code into my app env file before sorry for that

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.