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

[Bug]: Ghost cannot be deployed #3893

Closed
Lodimup opened this issue Oct 11, 2024 · 2 comments · Fixed by #4246
Closed

[Bug]: Ghost cannot be deployed #3893

Lodimup opened this issue Oct 11, 2024 · 2 comments · Fixed by #4246

Comments

@Lodimup
Copy link

Lodimup commented Oct 11, 2024

Error Message and Logs

Saved configuration files to /data/coolify/services/no0kksscokswkg4ck8ws0oww.
Creating Docker network.
a0ee3a23a8936088d848fd7bcd93f836666c558fa4dd0cf212be235b623a8f28
Starting service.
Pulling images.
invalid interpolation format for services.ghost.labels.[]: "traefik.http.middlewares.redir-ghost.redirectregex.replacement=/$1". You may need to escape any $ with another $.

Steps to Reproduce

  1. Deploy ghost

Example Repository URL

No response

Coolify Version

v4.0.0-beta.360

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04

Additional Information

No response

@Lodimup Lodimup added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Oct 11, 2024
@uebmaster
Copy link

i can deploy ghost, but i can't reach it in web, if i install wordpress in the same subdomain, i can reach it.

The only thing that i change when i create the resource is the ghost service domain, i write a custom subdomain keeping 2368 port, save changes and start deployment, but when i try to visualize the service in browser i got: 404 page not found

SSL it's fine

Is it a bug?

Ghost logs:

2024-11-11T16:43:52.431466424Z [2024-11-11 16:43:52] INFO Creating table: posts 2024-11-11T16:43:52.878339135Z [2024-11-11 16:43:52] INFO Creating table: posts_meta 2024-11-11T16:43:53.138648882Z [2024-11-11 16:43:53] INFO Creating table: users 2024-11-11T16:43:53.310385562Z [2024-11-11 16:43:53] INFO Creating table: posts_authors 2024-11-11T16:43:53.660717344Z [2024-11-11 16:43:53] INFO Creating table: roles 2024-11-11T16:43:53.759341361Z [2024-11-11 16:43:53] INFO Creating table: roles_users 2024-11-11T16:43:53.812912943Z [2024-11-11 16:43:53] INFO Creating table: permissions 2024-11-11T16:43:53.897605259Z [2024-11-11 16:43:53] INFO Creating table: permissions_users 2024-11-11T16:43:53.947680467Z [2024-11-11 16:43:53] INFO Creating table: permissions_roles 2024-11-11T16:43:54.002362504Z [2024-11-11 16:43:54] INFO Creating table: settings 2024-11-11T16:43:54.093311439Z [2024-11-11 16:43:54] INFO Creating table: tags 2024-11-11T16:43:54.210018913Z [2024-11-11 16:43:54] INFO Creating table: posts_tags 2024-11-11T16:43:54.614255124Z [2024-11-11 16:43:54] INFO Creating table: invites 2024-11-11T16:43:54.751899798Z [2024-11-11 16:43:54] INFO Creating table: brute 2024-11-11T16:43:54.810839718Z [2024-11-11 16:43:54] INFO Creating table: sessions 2024-11-11T16:43:54.909420693Z [2024-11-11 16:43:54] INFO Creating table: integrations 2024-11-11T16:43:55.006209010Z [2024-11-11 16:43:55] INFO Creating table: webhooks 2024-11-11T16:43:55.205350343Z [2024-11-11 16:43:55] INFO Creating table: api_keys 2024-11-11T16:43:55.276968376Z [2024-11-11 16:43:55] INFO Creating table: mobiledoc_revisions 2024-11-11T16:43:55.342021164Z [2024-11-11 16:43:55] INFO Creating table: post_revisions 2024-11-11T16:43:55.525228431Z [2024-11-11 16:43:55] INFO Creating table: members 2024-11-11T16:43:55.769286964Z [2024-11-11 16:43:55] INFO Creating table: products 2024-11-11T16:43:55.852882937Z [2024-11-11 16:43:55] INFO Creating table: offers 2024-11-11T16:43:56.217616049Z [2024-11-11 16:43:56] INFO Creating table: benefits 2024-11-11T16:43:56.306554592Z [2024-11-11 16:43:56] INFO Creating table: products_benefits 2024-11-11T16:43:56.561995911Z [2024-11-11 16:43:56] INFO Creating table: members_products 2024-11-11T16:43:56.927118933Z [2024-11-11 16:43:56] INFO Creating table: posts_products 2024-11-11T16:43:57.296733176Z [2024-11-11 16:43:57] INFO Creating table: members_created_events 2024-11-11T16:43:57.548098499Z [2024-11-11 16:43:57] INFO Creating table: members_cancel_events 2024-11-11T16:43:57.748809273Z [2024-11-11 16:43:57] INFO Creating table: members_payment_events 2024-11-11T16:43:57.941884629Z [2024-11-11 16:43:57] INFO Creating table: members_login_events 2024-11-11T16:43:58.131188783Z [2024-11-11 16:43:58] INFO Creating table: members_email_change_events 2024-11-11T16:43:58.340078340Z [2024-11-11 16:43:58] INFO Creating table: members_status_events 2024-11-11T16:43:58.533460252Z [2024-11-11 16:43:58] INFO Creating table: members_product_events 2024-11-11T16:43:58.898543802Z [2024-11-11 16:43:58] INFO Creating table: members_paid_subscription_events 2024-11-11T16:43:59.117979321Z [2024-11-11 16:43:59] INFO Creating table: labels 2024-11-11T16:43:59.254314173Z [2024-11-11 16:43:59] INFO Creating table: members_labels 2024-11-11T16:43:59.635518791Z [2024-11-11 16:43:59] INFO Creating table: members_stripe_customers 2024-11-11T16:43:59.872991239Z [2024-11-11 16:43:59] INFO Creating table: subscriptions 2024-11-11T16:44:00.325676693Z [2024-11-11 16:44:00] INFO Creating table: members_stripe_customers_subscriptions 2024-11-11T16:44:00.846035356Z [2024-11-11 16:44:00] INFO Creating table: members_subscription_created_events 2024-11-11T16:44:01.241320695Z [2024-11-11 16:44:01] INFO Creating table: offer_redemptions 2024-11-11T16:44:01.748407938Z [2024-11-11 16:44:01] INFO Creating table: members_subscribe_events 2024-11-11T16:44:02.188478043Z [2024-11-11 16:44:02] INFO Creating table: donation_payment_events 2024-11-11T16:44:02.402722936Z [2024-11-11 16:44:02] INFO Creating table: stripe_products 2024-11-11T16:44:02.632808706Z [2024-11-11 16:44:02] INFO Creating table: stripe_prices 2024-11-11T16:44:02.905615422Z [2024-11-11 16:44:02] INFO Creating table: actions 2024-11-11T16:44:02.970418503Z [2024-11-11 16:44:02] INFO Creating table: emails 2024-11-11T16:44:03.259191193Z [2024-11-11 16:44:03] INFO Creating table: email_batches 2024-11-11T16:44:03.460218762Z [2024-11-11 16:44:03] INFO Creating table: email_recipients 2024-11-11T16:44:04.080186005Z [2024-11-11 16:44:04] INFO Creating table: email_recipient_failures 2024-11-11T16:44:04.442008222Z [2024-11-11 16:44:04] INFO Creating table: tokens 2024-11-11T16:44:04.535414349Z [2024-11-11 16:44:04] INFO Creating table: snippets 2024-11-11T16:44:04.630198140Z [2024-11-11 16:44:04] INFO Creating table: custom_theme_settings 2024-11-11T16:44:04.688837311Z [2024-11-11 16:44:04] INFO Creating table: members_newsletters 2024-11-11T16:44:05.109047035Z [2024-11-11 16:44:05] INFO Creating table: comments 2024-11-11T16:44:05.815764578Z [2024-11-11 16:44:05] INFO Creating table: comment_likes 2024-11-11T16:44:06.148988808Z [2024-11-11 16:44:06] INFO Creating table: comment_reports 2024-11-11T16:44:06.531022265Z [2024-11-11 16:44:06] INFO Creating table: jobs 2024-11-11T16:44:06.627708830Z [2024-11-11 16:44:06] INFO Creating table: redirects 2024-11-11T16:44:06.857660462Z [2024-11-11 16:44:06] INFO Creating table: members_click_events 2024-11-11T16:44:07.209170846Z [2024-11-11 16:44:07] INFO Creating table: members_feedback 2024-11-11T16:44:07.593802944Z [2024-11-11 16:44:07] INFO Creating table: suppressions 2024-11-11T16:44:07.882120905Z [2024-11-11 16:44:07] INFO Creating table: email_spam_complaint_events 2024-11-11T16:44:08.248415339Z [2024-11-11 16:44:08] INFO Creating table: mentions 2024-11-11T16:44:08.308734130Z [2024-11-11 16:44:08] INFO Creating table: milestones 2024-11-11T16:44:08.366944712Z [2024-11-11 16:44:08] INFO Creating table: temp_mail_events 2024-11-11T16:44:08.422041655Z [2024-11-11 16:44:08] INFO Creating table: collections 2024-11-11T16:44:08.516045258Z [2024-11-11 16:44:08] INFO Creating table: collections_posts 2024-11-11T16:44:08.920829960Z [2024-11-11 16:44:08] INFO Creating table: recommendations 2024-11-11T16:44:08.977965865Z [2024-11-11 16:44:08] INFO Creating table: recommendation_click_events 2024-11-11T16:44:09.328538594Z [2024-11-11 16:44:09] INFO Creating table: recommendation_subscribe_events 2024-11-11T16:44:10.225705285Z [2024-11-11 16:44:10] INFO Model: Collection 2024-11-11T16:44:10.234012389Z [2024-11-11 16:44:10] INFO Model: Product 2024-11-11T16:44:10.243402003Z [2024-11-11 16:44:10] INFO Model: Newsletter 2024-11-11T16:44:10.247901527Z [2024-11-11 16:44:10] INFO Model: Tag 2024-11-11T16:44:10.251834243Z [2024-11-11 16:44:10] INFO Model: Permission 2024-11-11T16:44:10.402278926Z [2024-11-11 16:44:10] INFO Model: Post 2024-11-11T16:44:10.650221003Z [2024-11-11 16:44:10] INFO Model: Integration 2024-11-11T16:44:10.693562120Z [2024-11-11 16:44:10] INFO Relation: Role to Permission 2024-11-11T16:44:10.878609459Z [2024-11-11 16:44:10] INFO Relation: Post to Tag 2024-11-11T16:44:11.044833167Z [2024-11-11 16:44:11] INFO Database is in a ready state. 2024-11-11T16:44:11.048525789Z [2024-11-11 16:44:11] INFO Ghost database ready in 19.726s 2024-11-11T16:44:11.709803773Z [2024-11-11 16:44:11] WARN Missing mail.from config, falling back to a generated email address. Please update your config file and set a valid from address 2024-11-11T16:44:12.226880756Z [2024-11-11 16:44:12] INFO Invalidating assets for regeneration 2024-11-11T16:44:12.512264757Z [2024-11-11 16:44:12] INFO Adding offloaded job to the inline job queue 2024-11-11T16:44:12.521948116Z [2024-11-11 16:44:12] INFO Scheduling job mentions-email-report at 26 28 * * * *. Next run on: Mon Nov 11 2024 17:28:26 GMT+0000 (Coordinated Universal Time) 2024-11-11T16:44:12.629427665Z [2024-11-11 16:44:12] INFO Adding one-off job to inlineQueue with current length = 0 called 'members-migrations' 2024-11-11T16:44:12.638050478Z [2024-11-11 16:44:12] INFO Stripe not configured - skipping migrations 2024-11-11T16:44:12.711999103Z [2024-11-11 16:44:12] INFO Ghost URL Service Ready in 21.389s 2024-11-11T16:44:13.114252098Z [2024-11-11 16:44:13] INFO Adding offloaded job to the inline job queue 2024-11-11T16:44:13.117132509Z [2024-11-11 16:44:13] INFO Scheduling job clean-expired-comped at 27 30 0 * * *. Next run on: Tue Nov 12 2024 00:30:27 GMT+0000 (Coordinated Universal Time) 2024-11-11T16:44:13.122206168Z [2024-11-11 16:44:13] INFO Adding offloaded job to the inline job queue 2024-11-11T16:44:13.125624758Z [2024-11-11 16:44:13] INFO Scheduling job clean-tokens at 20 40 16 * * *. Next run on: Tue Nov 12 2024 16:40:20 GMT+0000 (Coordinated Universal Time) 2024-11-11T16:44:13.135543663Z [2024-11-11 16:44:13] INFO Ghost booted in 21.813s 2024-11-11T16:44:13.142159289Z [2024-11-11 16:44:13] INFO Adding offloaded job to the inline job queue 2024-11-11T16:44:13.145778300Z [2024-11-11 16:44:13] INFO Scheduling job update-check at 3 26 0 * * *. Next run on: Tue Nov 12 2024 00:26:03 GMT+0000 (Coordinated Universal Time) 2024-11-11T16:44:13.152463737Z [2024-11-11 16:44:13] INFO Running milestone emails job on Mon Nov 11 2024 16:44:13 GMT+0000 (Coordinated Universal Time) 2024-11-11T16:47:08.252045897Z [2024-11-11 16:47:08] INFO Updating incoming recommendations on boot 2024-11-11T16:48:02.355676773Z [2024-11-11 16:48:02] INFO [Recommendations] Updating recommendations metadata

mysql logs:

2024-11-11T16:43:35.390440055Z 2024-11-11 16:43:35+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.40-1.el9 started. 2024-11-11T16:43:35.494280264Z 2024-11-11 16:43:35+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2024-11-11T16:43:35.498987389Z 2024-11-11 16:43:35+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.40-1.el9 started. 2024-11-11T16:43:35.600997868Z 2024-11-11 16:43:35+00:00 [Note] [Entrypoint]: Initializing database files 2024-11-11T16:43:35.608274439Z 2024-11-11T16:43:35.606660Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead. 2024-11-11T16:43:35.608294220Z 2024-11-11T16:43:35.606740Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.40) initializing of server in progress as process 80 2024-11-11T16:43:35.614081026Z 2024-11-11T16:43:35.614004Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-11-11T16:43:36.711776325Z 2024-11-11T16:43:36.711506Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-11-11T16:43:39.314152767Z 2024-11-11T16:43:39.314040Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. 2024-11-11T16:43:44.273911788Z 2024-11-11 16:43:44+00:00 [Note] [Entrypoint]: Database files initialized 2024-11-11T16:43:44.275112734Z 2024-11-11 16:43:44+00:00 [Note] [Entrypoint]: Starting temporary server 2024-11-11T16:43:44.453627046Z 2024-11-11T16:43:44.449253Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead. 2024-11-11T16:43:44.453687522Z 2024-11-11T16:43:44.449853Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.40) starting as process 130 2024-11-11T16:43:44.459954637Z 2024-11-11T16:43:44.459871Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-11-11T16:43:44.783480162Z 2024-11-11T16:43:44.783265Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-11-11T16:43:45.158914020Z 2024-11-11T16:43:45.158670Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2024-11-11T16:43:45.158966692Z 2024-11-11T16:43:45.158764Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2024-11-11T16:43:45.173179225Z 2024-11-11T16:43:45.172978Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. 2024-11-11T16:43:45.199696029Z 2024-11-11T16:43:45.199565Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock 2024-11-11T16:43:45.199710067Z 2024-11-11T16:43:45.199601Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.40' socket: '/var/run/mysqld/mysqld.sock' port: 0 MySQL Community Server - GPL. 2024-11-11T16:43:45.208767836Z 2024-11-11 16:43:45+00:00 [Note] [Entrypoint]: Temporary server started. 2024-11-11T16:43:45.220059854Z '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' 2024-11-11T16:43:45.716817773Z Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it. 2024-11-11T16:43:45.716829254Z Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it. 2024-11-11T16:43:45.716832123Z Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it. 2024-11-11T16:43:46.429897361Z Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it. 2024-11-11T16:43:46.429909442Z Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it. 2024-11-11T16:43:46.429911985Z Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it. 2024-11-11T16:43:46.512440627Z 2024-11-11 16:43:46+00:00 [Note] [Entrypoint]: Creating database ghost 2024-11-11T16:43:46.531228308Z 2024-11-11 16:43:46+00:00 [Note] [Entrypoint]: Creating user z4NLwx1tB7PTeeO8 2024-11-11T16:43:46.546995926Z 2024-11-11 16:43:46+00:00 [Note] [Entrypoint]: Giving user z4NLwx1tB7PTeeO8 access to schema ghost 2024-11-11T16:43:46.559073479Z 2024-11-11T16:43:46.560691766Z 2024-11-11 16:43:46+00:00 [Note] [Entrypoint]: Stopping temporary server 2024-11-11T16:43:46.566141775Z 2024-11-11T16:43:46.566053Z 13 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.40). 2024-11-11T16:43:48.336139505Z 2024-11-11T16:43:48.335964Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.40) MySQL Community Server - GPL. 2024-11-11T16:43:48.574680689Z 2024-11-11 16:43:48+00:00 [Note] [Entrypoint]: Temporary server stopped 2024-11-11T16:43:48.574695076Z 2024-11-11T16:43:48.575881159Z 2024-11-11 16:43:48+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up. 2024-11-11T16:43:48.575888222Z 2024-11-11T16:43:48.753757138Z 2024-11-11T16:43:48.751054Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead. 2024-11-11T16:43:48.753770539Z 2024-11-11T16:43:48.752184Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.40) starting as process 1 2024-11-11T16:43:48.756791837Z 2024-11-11T16:43:48.756708Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-11-11T16:43:49.086240191Z 2024-11-11T16:43:49.085973Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-11-11T16:43:49.437671015Z 2024-11-11T16:43:49.437538Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2024-11-11T16:43:49.437687592Z 2024-11-11T16:43:49.437566Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2024-11-11T16:43:49.443606401Z 2024-11-11T16:43:49.443542Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. 2024-11-11T16:43:49.461138270Z 2024-11-11T16:43:49.461043Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock 2024-11-11T16:43:49.461162060Z 2024-11-11T16:43:49.461072Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.40' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.

Thanks in advance and sorry for my bad english.

@peaklabs-dev
Copy link
Member

this should be fixed with the next version please retest as soon as the next version is rleased.

@peaklabs-dev peaklabs-dev removed the 🔍 Triage Issues that need assessment and prioritization. label Nov 14, 2024
@github-actions github-actions bot removed the 🐛 Bug Reported issues that need to be reproduced by the team. label Nov 15, 2024
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

Successfully merging a pull request may close this issue.

3 participants