Closed imylomylo closed 2 years ago
If this is truly reproducible with the docker image from docker hub, then it'd be best to raise the issue with them: https://github.com/docker-library/ghost/issues however I suspect that isn't the case (else we'd have heard about this before).
When it comes to the unintelligible error, could you please clarify the contents of the routes.yaml
file when the error message was triggered?
Note from our bot: The needs info
label has been added to this issue. Updating your original issue with more details is great, but won't notify us, so please make sure you leave a comment so that we can see when you've updated us.
If this is truly reproducible with the docker image from docker hub, then it'd be best to raise the issue with them: https://github.com/docker-library/ghost/issues however I suspect that isn't the case (else we'd have heard about this before).
When it comes to the unintelligible error, could you please clarify the contents of the
routes.yaml
file when the error message was triggered?
Sure, i will be working through this later this week. Thanks for replying - it wasn't my best bug report :)
Did you ever get to the bottom of this?
Hey @imylomylo 👋
Our team needed some more info to get to the bottom of this, however we've not heard back from you. We're going to close this for now, but let us know if you manage to dig up some more info and we'll reopen.
Sorry I did not try again in recent weeks. If I do web stuff and encounter it i will re-open and reference this ticket. Cheers
On Thu, Nov 3, 2022 at 12:30 AM Hannah Wolfe @.***> wrote:
Did you ever get to the bottom of this?
— Reply to this email directly, view it on GitHub https://github.com/TryGhost/Ghost/issues/15469#issuecomment-1300984994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUADPQOQAWZZIA2EQ5FYN3WGKQLZANCNFSM6AAAAAAQUXYNIQ . You are receiving this because you authored the thread.Message ID: @.***>
Issue Summary
I downloaded the docker image from docker hub, put it into a docker-compose with mysql 8, and had error on install about permalinks. (My journey of yesterday started off in mariadb running under easy engine, so i knew i was in for some software masochism)
I'm new to ghost, exploring it from other web stuff and it took me a couple of hours to find out what to do.
I ended up
grep -ril permalink
in the content directory and foundsettings/routes.yaml
which had the `{globals.permalinks}' offending line.Finding my way to the routes documentation, I ended up eventually putting
but only after leaving it out completely to try to make the original error go away. The new error said permalink was required, and gave the
/{slug}/
example - however, super inconvenient for a fresh install.Perhaps a few of the suggested options in docs can be put into the
routes.yaml
file commented out to offer a newbie some option.The error message,
permalink: '{globals.permalinks}' invalid
could probably also tell the user to check the routes.yaml file (if this is the only place such a setting can be used).Of course, I did not RTFM, because i have a grey beard, and we didn't do things like that. Now get off my lawn, i've been waiting 20+ years to sound like i have a belly full of food and ready to snooze but would rather configure some new app that seems like it will be enjoyable....but why such frustration at the first steps!! Hopefully this rant will offer a google link for someone that searches any of the following:
Steps to Reproduce
Create a docker-compose.yaml file, with mysql-8, and configure it appropriately. This configuration is a bit of a frankenstein because it uses nginx proxy from easy-engine.
There's not much v5 docker-compose material out there, so hopefully i can make something turnkey during the week for other newbs.
Ghost Version
5.14
Node.js Version
16
How did you install Ghost?
docker
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
No search results.
No search results.
Helpful output! But only after knowing I had fiddled with routes.yaml