Error on Ghost install
I deployed ghost with. mysql, showed me no error. When I open the production link it shows me this error
479 Replies
Project ID:
N/A
lol was just responding
N/A
Is that funny?
oh no im sorry the lol was not to what you said, the lol was that i was typing my message to you and then i look over and you opened a help thread!
your question is super valid, and railway is working hard to remove the user confusion from deploying templates
Ah ok, thanks for clarifying
Yeah that would be great
I didn't even know that the templates are user submitted
let me finish typing out my message in the forum, then i will look into why ghost is failing
It's not marketed
I mean it should say it somewhere
When I sign up I assume that railway makes these templates available and obviously they made sure everything works fine so that the user can install without problems
the docs do mention that any user can submit templates, but again that is a very understandable assumption
currently there is no quality control for templates, but there soon will be
Yeah, but I'm a regular user, I am not reading docs. This should be designed in the UX front end to be obvious
Are you working for railway?
100% agree, but in an ideal world, it wouldn’t matter if a template is user submitted as long as you know that and as long as you have assurance that they will work when you deploy them
i do not work for railway
Yes but it should have a tag like "user submitted" just so that I know
Ok
for sure, i like that idea, railway is going to be adding tags and i will make sure thats one of them!
cc @Melissa - template feedback
heres the answer to the question on the forums if you wanted to read it https://community.railway.app/questions/ghost-which-one-6645792c#p-3
Cool
Read it
she does work for railway, and would definitely want to see this feedback!
but i was able to deploy the
Ghost (Docker) + MySQL
template without issue, is that the template you deployed?Awesome. I'm a UX designer and would be happy to help. I just hate system that are not user friendly and want to fix them and make them smooth
That's the one
https://ghost-production-142e.up.railway.app/
then im sure melissa will have some additional questions, im just a community mod
This error message doesn't tell me anything either. It's basic UX principle to design error messages to be helpful. Tell the user what happened, why and how to fix it
thats fair, but that error can be caused by 100+ different things, i think it would be impossible for railway to tell you what the app isnt doing correctly when you take into account all the things you can deploy on railway. instead it should direct you to look into your logs for errors
so yeah what errors are in the logs?
yarn run v1.22.19
$ npm-run-all check-db update-tracker start-server
$ node scripts/check-db.js
✓ DATABASE_URL is defined.
✓ Database connection successful.
✓ Database version check successful.
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "railway", schema "public" at "postgres.railway.internal:5432"
3 migrations found in prisma/migrations
Applying migration
01_init
Applying migration 02_report_schema_session_data
Applying migration 03_metric_performance_index
The following migrations have been applied:
migrations/
└─ 01_init/
└─ migration.sql
└─ 02_report_schema_session_data/
└─ migration.sql
└─ 03_metric_performance_index/
└─ migration.sql
All migrations have been successfully applied.
✓ Database is up to date.
$ node scripts/update-tracker.js
$ node server.js
▲ Next.js 14.0.4
- Local: http://localhost:5754
- Network: http://0.0.0.0:5754
✓ Ready in 133ms
There should be an easy way to copy paste logs or even better link to log fileI've been telling them that for months now, so I made this https://bookmarklets.up.railway.app/log-downloader/
could you use the bookmarklet instead and send your logs from ghost?
Ah ok, sounds like they don't listen much
haha no it's not that, it's just they have much bigger things to do, but this improves UX/DX so you could say that they should take the time out to add a button (they should)
What is bigger than UX honestly? How user friendly an app is breaks or makes an app. It can increase their sales and retention as well
absolutely but keep in mind the template creator or railway are not necessarily at fault if the service crashes
can you send me a screenshot of your project?
How not?
This one?
for one example neither railway nor the creator could be responsible for bugs in the ghost code that cause it to crash
yes but I'd like a screenshot of the entire project please
Of course
This one?
Or which part?
no, but that's green now?
is it still inaccessible?
It was green before
but when you click on it it shows the error
gotcha, have you tried redeploying it? click the 3 dot menu and you will see the redeploy option
Just did and get the same error
thats super odd, just did another deploy of the template and it worked first try again, do you wanna try deploying the template again?
oh i think i know whats going on, you are on the trial plan thus you only have access to 512mb of ram per service, but mysql uses more than that
this template would be better for a user on a trial plan, it uses an sqlite database instead of an external mysql database https://railway.app/template/9VGb60
OMG so why doesn't railway tell me to upgrade then????
They are honestly losing out on customers
because of bad UX
thats a damn good question
Another question
what's up
If I add a custom domain will the railway subdomain be disabled?
Because in pikapods both is live and I think that's bad for SEO
by default no, but you can just remove the railway provided domain
How?
Ah I see there is a delete icon
yep
Ok, is it possible to move my ghost install from pikapods to railway?
what's pikapods
PikaPods - Instant Open Source App Hosting
Run the finest Open Source web apps from $1/month, fully managed, no tracking, no ads, full privacy. Self-hosting was never this convenient.
It's like railway
one click open source project installs
all created and managed by pikapods themselves?
The installs?
yeah
Yeah, I think so
does ghost provide a way to export data?
They are not community added I believe
I can export posts, pages and members but not images of the posts and pages
Just the text and settings
where are images stored on pika pods?
I have no idea
I guess here
there you go
Is there sftp access on railway too?
there is not
Ah
So isn't there a magic way to just migrate?
Like some terminal command or something?
I think on the ghost forum they mentioned shell access
I don't know what that is
nope, railway doesn't have any integrations with pikapods
this would be a manual process on your part, railway is completely unmanaged
Obviously I meant like a standard copy dock image paste dock image like stuff
the docker image doesn't contain the data
Ah ok
Hmm
I see you added the umami template to railway, is that correct?
And uptime kuma
yes those are mine
Cool
Is there a way to migrate those from pikapods?
Import export?
I know uptime kuma has an export/import
as for umami, you would need to dump the postgres database from pikapods and then restore it to the database on railway
It says the export may not work?
deprecated
oh yeah, they want to to just grab the sqlite file to do a backup
Sorry I don't understand
uptime kuma stores it's data to a sqlite3 database file on disk
ok
So would you mind guide me how to migrate this to railway please?
I mean I can certainly try, but remember I have never done an uptime kuma migration from anywhere to anywhere, and I have never used pikapods either, so I can help you at a high level but you would need to fill in the minor details
ok sure
I appreciate it
you will need to grab the sqlite file from the pikapods deployment, using sftp, I'd use a client like winscp
ok let me grab that
I'm in
That's what I have access to
you want kuma.db
Ok, downloaded
What's next?
have you deployed uptime kuma on railway?
Yes
remove the active deployment
Done
detach its volume
I don't understand
I completely deleted the template
what why
deploy it again please
ok
You told me to remove it
is kuma going to be used to only monitor your ghost site?
the deployment not the service
For now yes
I don't know what's the difference sorry, I'm new to this
no worries, railway really should have some type of walkthrough guide that tell you what parts of the UI are called what
but for now, go back to your dashboard and deploy a new uptime kuma project
Yes exactly a guide would be nice or rather make it UX friendly so that there is no need for a guide
Done
Deployed
I'd prefer the guide, you can only make the UI so friendly before it starts to look like a kids toy
Haha believe me I'm a pro UX designer, you can serve both devs and noobs with good design haha
fair enough, so open the uptime kuma project, then open the uptime kuma service, you will see a green rectangle, that is a deployment, click the 3 dot menu and then remove it
Here click remove?
yep
we don't want kuma trying to write to the database while we are swapping it
Removed
right click on the service's volume and click detach
This is when right clicking uptime kuma
This is when right clicking the database
you deployed uptime kuma into the same project
I highly recommend you deploy it into a new project, from the dashboard
Yeah all my templates sit in the same project, is that a problem?
What's the pro of having it in a separate project?
they're separate things, unless it's something like a database and a backend api you'd want it to be separate
uptime kuma could be used to monitor multiple apps in different projects, so it should be in its own project
Ah ok
So reddeployed it in a new project
removed the active deployment?
and disconnected it's volume?
Yes sir
That I still don't know how
screenshot please 🙂
just like this
If I right click on the database I see disconnect volume - is that what you mean?
that's a volume as indicated by the little disk logo
so that's what you want to disconnect
Done
from within the same project, click the
+ new
button in the top right, click template, and search for "filebrowser" set your desired username, expand the optional preset variables and change that 0 to a 1
I would normally send you screenshots, but my power is out so phone screenshots would just confuse us bothOk, no worries
Deploy?
perfect
save and deploy
Done
remove the active deployment from the filebrowser, then delete the filebrowser's volume
for the record, yes I am aware this is very convoluted but railway does not yet have a native volume filebrowser or sftp volume access
Haha yeah it's complicated
it's volume is gone?
Delete service?
right click on the volume and delete the volume
Delete volume?
yep
Done
mount that volume to the filebrowser service at
/data
This?
yep!
?
/data
done
redeploy the filebrowser's removed deployment via it's 3 dot menu
done
open the link and log in
and there's the new kuma.db, delete it
you should then be able to drag and drop the kuma.db file you got from pikapods
Done
remove the active deployment from the filebrowser service
Done
unmount the volume from filebrowser
Done
mount it to the kuma service, mount to
/app/data
You mean mount the filebrowser or mount Uptime Kuma data?
mount the volume to the kuma service, mount to
/app/data
Done
restart the removed deployment from kuma
You mean redeploy?
oh yes my bad
Done
you should now be able to open the address, and login with the same credentials you used for kuma on pikapods
Awesome, I'm in!
Thank you so much!!!
no problem!
wasn't that hard was it lol
no it was ok, just lots of mount, unmount stuff
Ok so it should be possible to the same for umami?
depends, does pikapods provide you a way to access the postgres database?
I have this for umami
flip the switch what does it give you?
also, there's a chance you crash postgres on railway doing the restore, might be time to upgrade to hobby?
I upgraded already 🙂
Didn't let me use the filebrowser without upgrade haha
oh maybe our discord bot is broken, doesn't show you as hobby
fixed on the discod side of things now
okay so what kind of database does umami use on pikapods?
Now we're talking 🙂
Looks like MySQL
In the dropdown it shows postgres too
my umami template uses postgres though 🫤
Well, it shows postgres as an option so that should be good I guess
Tried to log into postgres
but you can log into mysql?
yep
do you want me to create a umami template that uses mysql?
That would be great!
okay I can do that, but I can't do that right now, I'm about to leave the house
in the mean time, you need to find out how you can get a dump of that database on pikapods
Ok sure
Export?
I honestly have no clue, sorry, I've never used adminer
not even sure if you can do the export/dump from adminer
maybe look up ways to dump the database from pikapods, surely you aren't the first to want to dumb a database from them
Ok, just emailed them
sounds good
My ghost install still shows this even after the upgrade to hobby plan
redeploy the mysql database
and then redeploy the ghost service
This one?
oh you deployed the one with sqlite
No, I selected mysql
there's no mysql database there though?
I don't know man
perhaps you deleted it?
Let me redo the whole thing
sounds good
Looks the same to me
And has the same error
Ah man this is so difficult
This should be seamless 1 click install with no error
there's still no mysql database, maybe go back to the dashboard and deploy it again?
Redeployed
I guess this template has some problems
no, please go to the dashboard and deploy a brand new template
This was a brand new template
I'm sorry but it's not, a brand new template would not come with filebrowser
I installed that separately
why?
To be able to upload image files
okay lets tackle that later, but for now, you must be deploying the wrong template as it is missing the mysql database
I will show you
I can't watch that because I'm on mobile with a bad signal, but from the thumbnail alone, you aren't going to your dashboard, you are trying to deploy into a pre existing project
Yes a pre existing project
I thought you want me to redeploy the template only
I do, but you aren't doing that
go to the dashboard and deploy the template, it will create a project for you
Just did
That's weird
I don't know why from a project deploying the template would not include the mysql
bug, it shouldn't even let you do that
normally it will clearly tell you that you need to deploy it as a new project
Yeah it should show me an error
Ok
So do you think I should go with the built in export import or do it from mysql?
does ghost have that feature?
sounds like this is going to involve you manually downloading images and such
out of all my templates I only actively use a few of them, ghost is not one of them, so I unfortunately would not be able to help with the migration besides answering railway related questions
Ok, I can try
I mean it's only the images it looks like
Also, have you heard of serpbear?
I have not
I'm using this on pikapods as well
Would be nice to see it on railway!
It shows me where my site is ranking on search engines
for certain keywords
interesting, I'll take a look later
ok thanks
do you know it's tech stack?
Next.js for Frontend & Backend.
Sqlite for Database.
oh than that shouldn't be too much hassle to get going, but no promises
Cool cool
Would like to completely migrate away from pikapods if possible 🙂
haha I can tell, may I ask why?
heres the SerpBear template https://railway.app/template/J29H1Z
In a couple of days I had several downtimes of my ghost install and they just said they had to refresh the server for the images to load better
Then I asked them if it was manual or automatic and no response
I had then several other questions and no response
I asked them to remove the test subdomain after I pointed my custom domain and they said it's not possible
Wow, super cool man!!!!
railway has downtime to, everyone does, but i have projects i haven't touched in several months running solid
Yeah I know but 3x in two days?
And no explanation?
yeah railway has had an outage that lasted that long, but you always get a good reason why, and i think it was only the logging layer that was effected
sometime even full post mortem blog posts, and the biggest outages railway has had was because of gcp
heres the umami template with a mysql database https://railway.app/template/ZiHXd_
but its not much good if you cant get your data off of pikapod lol
I see, well, hopefully they are working on the uptime
oh yeah that's long since been improved
So I can export the mysql, do you think that will work?
you got a way to export the data from the mysql database on pikapods?
Yes sir
what's the method?
oh yeah that exports everything?
what about images, do you need to pull those off pikapod with sftp?
Are we talking about umami?
There are no images
just data
no?
oh ghost has the images
nvm im getting things mixed up
okay you can export the database, how are you importing it into the database on railway?
No worries
I have no idea man
Hay I
can adminer import?
I guess so
Haven't used it either
I'm at the ghost install...
How do I connect the filebrowser with the ghost install?
remove the active ghost deploy
unmount the volume from ghost
mount the volume to the filebrowser
redeploy the removed filebrowser deployment
do you have the images from your pikapod app?
Yes, I downloaded the images already
Will this remove the data from my ghost install? I already imported the data
do you know the file structure to put them back into when you use the filebrowser?
Yes sir
no, unmounting and such does not touch the data in the volume
ok cool, good to know
Let me try
i should note that railway is not responsible for any data loss that may occur, only if they are at fault
Gotcha
Mount the filebrowser data too?
nah thats just the volume it comes with if people want to use filebrowser as just a place to store files and what not
Ah ok
you can ignore that for what you are doing, you could even delete it
ok
Seems like I did something wrong
what do the logs of the filebrowser deployment say?
what path did you use to mount the volume
/data
screenshot of the project please
maybe there just nothing on the volume?
On the ghost volume?
yeah, it was a brand new deploy after all
Barnaby Nagy
Barnaby Nagy
Barnaby Nagy is an Artist, Singer-Songwriter, Public Speaker, Author, Mentor, Hustler, Survivor - Barnabas Nagy
I already imported the content
Except images all set up
yeah but content is saved in the database
I don't follow you
text go to database, not volume
ah ok
So I don't know
What do you suggest?
Still if ghost was installed there has to be files
proceed as normal?
ghost is not installed to the volume
That I don't understand
ghost is a docker image, it is installed in the deployment, the volume is strictly data storage
Ok
But we were able to access the files of the uptime kuma install
thats because kuma wrote its sqlite database to the volume
omg you're speaking chinese to me
Ok so how do I access the ghost install files then?
to upload the images
images should be saved to the volume, you told me that you have yet to upload images to ghost, so it makes sense that you are seeing an empty volume
Yeah but I need to see the directory structure of ghost
thats why i asked if you knew the file structure
This is my ghost install on pikapods. I can see all the folders via sftp. And I need to upload the files under the Images folder
It's like this
the volume on the ghost service should be equivalent to the content folder
Ok but then I should see the images folder, too, no?
no since you havent added any images to ghost yet
ok, so shall I just upload the whole images folder that I downloaded?
yep that sounds right
Better to zip, upload and unzip when uploaded?
Or just as it is?
im not sure if filebrowser supports unzipping a file
ok
out of all the templates youve used, the only one i didnt create was ghost lol
haha ok well
let's see if we can crack it
lots of files, lets hope youre uploading them to the right location lol
I know haha
done
wow that was fast
Yeah but the images don't show up
Barnaby Nagy
Barnaby Nagy
Barnaby Nagy is an Artist, Singer-Songwriter, Public Speaker, Author, Mentor, Hustler, Survivor - Barnabas Nagy
have you remounted the volume to the ghost service?
no
well theres why
remove filebrowser deployment
unmount its volume
mount volume to ghost at
/var/lib/ghost/content
Ah not to data?
nope, thats where ghost wants it mounted to
and it doesnt even matter where you mount it on the filebrowser, you could mount the volume to
/data1984
and it would work all the same since i designed the filebrowser template to auto detect the volume's locationBarnaby Nagy
Barnaby Nagy
Barnaby Nagy is an Artist, Singer-Songwriter, Public Speaker, Author, Mentor, Hustler, Survivor - Barnabas Nagy
Still no images
I mounted to this
screenshot of project please
oh i think i know why
on that filebrowser service, what is
USE_VOLUME_ROOT
set to?0
it needs to be set to 1
damn
my bad
Is this your ghost install?
yeah just deployed it and im working along side you when i realized
USE_VOLUME_ROOT
was set to 0ah yeah ok
in my defense ive never done this before either
So do I delete the filebrowser template and install again
?
no just change it to 1
No worries
or just change the volum root to 1?
yeah
USE_VOLUME_ROOT=1
ok
you need to mount the volume back to the filebrowser service though
I'm in
awsome
I wonder where is that images folder that I uploaded perviously though
is it in the aether? haha
its in the storage folder, feel free to delete it
Got it
Uploading again
done
Mount it here?
mount back to ghost
Great
Barnaby Nagy
Barnaby Nagy
Barnaby Nagy is an Artist, Singer-Songwriter, Public Speaker, Author, Mentor, Hustler, Survivor - Barnabas Nagy
Works
Except of the the logo all images seems to be restored
logo is easy enough to re-upload, so ill take this as a win
Yes, done
Thank you man!!!
Yes, just testing transactional email before pointing the domain name
no clue what that is
Sign up form
do you have the email stuff setup?
Yes, the transactional emails were working on my previous setup
right but have you set it up on railway?
It's a ghost setting
what do the logs of the ghost service say?
Not much
Nothing about this
no errors?
no i mean in railway
Ah let me check
In mailgun it seems to be OK too
I think I know what's going on
I have to add smtp variables to ghost
in pikapods there was this https://docs.pikapods.com/apps/ghost
Where I could add my smtp details
in the service variables
Essentially it was doing this but in a user friendly way: https://ghost.org/docs/config/#mail
Ghost - The Professional Publishing Platform
Configuration - Adapt your publication to suit your needs
Find out how to configure your Ghost publication or override Ghost's default behaviour with robust config options, including mail, storage, scheduling and more!
railway makes it easy
Ah that's cool
yeah just copy over your variables you had set on pikapods
So do I just copy paste those from pikapods documentation?
id copy them from your current pikapods app
since you have them already set there
Ok, done
It's redeploying
That worked, I got the magic link!!!
sweet
Now the last bit which was actually still failing on my pikapods setup is if I get email notification of a new post
let me know how that goes
And it worked!!!
awsome!!!
happy to help
Next up...
Pointed my domain name
assuming everything was done right, thats just ssl cache from your last ssl cert
should sort itself out
who is your domain provider
this is a private browser tab
So it should clear that cache no?
Njalla
Njalla — Considered the worlds most notorious "e;Privacy as a Service"e; provider for domains, VPS' and VPNs.
dont think it has anything to do with any cache on your computer
can you show me how you have the domain setup in that provider?
When I did a similar pointing with pikapods it was working right away
no ssl issue
send me your domain so i can visit?
Ok, I think it works now
Barnaby Nagy
Barnaby Nagy
Barnaby Nagy is an Artist, Singer-Songwriter, Public Speaker, Author, Mentor, Hustler, Survivor - Barnabas Nagy
yep works
When I open the site from the admin it still goes to railway subdomain
Same with the nav links
since you added a domain you need to redeploy the service so that its aware of the new domain so to speak.
(railway is aware of this, and is planning to ask you if you would like to redeploy after adding a domain)
Ah ok
Should ask me immediatelly 🙂
yep railway is planning on implementing that
Cool
Sorry for the noob questions
Works now after redeployment
no worries, im here to help
Added you as a friend and sent you a DM
Had a similar problem , just wanted to jump into this conversation and say thank you guys for providing this information. Fixed my ghost mailing issue.
Failed to send newsletter
My test newsletter were sent out without problems...
Not sure what's the issue
anything in the logs?
Ghost or Railway?
railway
let me check
MAybe it's this?
this is something you would have to fix with mailgun
OMG
I already paid for their fucking service and they block me?
And they said they verified my account
Thanks
no problem!
Mailgun is a pain in the ass
It's the bottleneck of ghost
stuck
haha they want more money out of you or something?
No I already paid
They don't allow me to send my bulk campaign to 1200 subs
They want me to validate my business and send just to 9 subs
wtf
For how long?
"please conduct normal business operations with 3-5 days of consistent sending."
How can I conduct normal business operation when I have a list of 1200?
This company is a joke
And ghost only integrates with them natively
I'm sorry to hear that
Do you think there is a way to workaround mailgun? I heard some people use zapier to use another email provider but I don't see how because ghost requires a mailgun API in their setup... Or any way to adjust the code to accept other API like sndgrid or Brevo?
Ghost Forum
Mailgun Alternatives
What was the pass here? API key? I tried the same config on my website. Isn’t working 😕 Followed the steps mentioned here.
Ghost Forum
Alternative for mailgun
i want to use an opensource tool called Open Source Marketing Automation - Mautic Community because of the issue i had with my mailgun configuration is there any way that i can integrate this ?
Ghost Forum
Mailgun alternative for login and signup
You can easily set these transactional emails up with any SMTP. Here’s an example with Amazon SES, for example, but you can literally use any SMTP connection.
Another question: how do I make sure to upgrade ghost, and my other templates to their latest version? And is there some sort of backup on railway?
If its a docker image, just set the image to
:latest
and redeploy it.
If its a repo, bump up the dependencies.
If by backup you mean db backup, theres a template for that, railway will in the future (no eta tho) provide db backups.'In the future, we plan to add native support for database backups and high availability by following the same pattern: Add the primitives that can be used by anyone'.
https://blog.railway.app/p/launch-01-next-gen-databases
Railway Blog
The Future of Databases is Services
Starting today, it’s now possible to deploy ANY type of database on Railway, including new technologies like PGVector, Chroma, Temporal, etc.
That will require Ghost knowledge, so that question would be better made in the Ghost community discord server.
I have no idea whether a template is a docker image or a repo. Where do I see this? Where do I insert :latest? You should make this non dev friendly!
I'll take a screenshot for you, just one sec.
On the
Service -> Settings
, theres Source Repo
It can be a Repo, or a DockerHub image
Which can be acquired from one of those websites: DockerHub, GHCR or quay.io
My 2 cents about all your issues: I think you have all those issues because of your previous infra before migrating to Railway, also by having no knowledge in Railway and by Railway itself having some limitations like no SFTP (and that's fine! i've been there!)
But we'll sort everything out
I'm still reading all this thread since it jumped through some topics, but i'll catch up
It looks like a docker
So where do I put the :latest?
What version u are looking for? there's a list on https://hub.docker.com/_/ghost/tags
ghost Tags | Docker Hub
Ghost is a free and open source blogging platform written in JavaScript
Yeah, I'm not a developer, I'm a UX designer. I just have basic dev knowledge because I did HTML+CSS and wordpress installs but this is new and new jargon. You should add tooltips or explanatory text to every step and every jargon. I can help you with that
Is there a reason u are using
:alpine
instead of :latest
?
(wrong quote, sorry)I don't know what version. I just want to make sure that ghost is automatically and always up to date, simple and easy. This should be a defult setting set it auto update to latest version
U just need to redeploy it then.
Also, atleast if its from a template, it shows a button if there's a new update just below the
Source Image
text
But yeah, auto updates would be cool, what u can do is create a Cron Job to redeploy it everyday, but we can get to that after we setup everything u need.
Tbh Railway is very standardized if compared to other PaaS (Platform as a Service) that does the same, like Koyeb, Fly and Hop, but I get what u mean and I agree.Perhaps standardized but lacks a UX designer
So if I redeploy it will pull the latest ghost?
If ghost updated the
:alpine
image on the dockerhub, yes.
(last update was 14 hours ago and is using version 5.76.0)Ok
so where do I put :latest?
.
seems like they update the
:alpine
tag regularly after every update, I don't think u need to worry and change to :latest
, there's must be a reason on why ur using alpine so let's keep it that wayIt's how the image came by default, I have not changed a thing
So I just redeploy?
yes.
Ok thanks. That could be UX designed into the systme easily. To tell the user what to do if they need to keep an image updated etc
Yeah a notification system would be nice, or even an option to auto update on image changes.
Anything more you need help with?
Yes like that
You work at railway?
No, this is mostly a community driven #✋|help channel.
If u have any other type of issue, I suggest opening a new thread since this one got 600+ messages so it's a bit hard to catch up 😆
Ok I see
Do you know any good community templates on rail?
oh man, there's a lot of them
https://railway.app/templates
Tbh I only use my own template which is Directus (also a CMS like ghost)
Let me rephrase I'm looking for a template where people can talk and communicate eg Element, Minds etc
oh, sorry, i don't know any
ok
Until the db backup automation what can I do to automate a full backup of my installed templates? @Brody
What type of DB are you using?
If it's postgres, theres this template:
https://railway.app/template/I4zGrH
barnabynagy, while a lot of your feedback is valid, please keep in mind you are coming from pikapods, pikapods is not geared towards developers, they are geared towards people who just simply want to run an app, railway caters to developers, thus with railway you will have to deal with the little details like docker images and what not. there are some things Railway just can't / won't do because it's simply not the kind of platform you are used to, railway is not just a place to run these apps, it's so much more
On the website it never said it's for developers only. If it says so I won't sign up. You can cater to many non dev users by making the UX seamless. It's easy to do. Just have to do it and have the willingness and someone who knows this shit. I'm not really coming from pikapods. I'm coming from serpbear. There they listed elistio, pikapods and flyio. That's how I went down the rabbit hole. I have old school hosting and front end dev experience. So I'm not even a total noob.
MySQL
Railway doesn't has a template for that afaik, but you can use mysqldump
never said its for developers only, thats just the main userbase
adminer also can take database backups
I searched for the exact same thing and nothing showed up, prob a bug then 💀
All of this is manual. I wished there was a button I could click that makes a daily full backup. Database and files too as it's not just the database but images too. Set it and forget it
that is planned
When?
sorry i dont have an eta for that
For now, I set up a recurring calendar entry to remind me to export my posts and members. Back to 1980 with a 2024 system. And that does not include images, just the database and settings
I need to back up my files too
for sqlite and files on a volume you would need to use filebrowser
So I need to disconnnect volume, connect to filebrowser, download files, disconnect volume, connect back in
yep that's about the process
I share your pain, it is far from ideal
I wonder what were the maker of railway thinking when making this. Let's create the best ever easy to scale 1 click install system but let's not do 1 click backups...
it simply hasn't been implemented yet.
but please keep a friendly tone
railway will implement one click volume snapshots at some point, and they will implement an easy way to browse the volume
How do you know?
Are you saying my tone wasn't friendly?
because they have talked about it
You know it because they have talked about it? 🙂
Would it be possible to change the ghost code to accept another email sender API apart from mailgun? And if so how much work is involved?
yes they have, https://blog.railway.app/p/launch-01-next-gen-databases#next-gen-databases
In the future, we plan to add native support for database backups and high availability by following the same pattern: Add the primitives that can be used by anyone.this would come in the form of volume snapshots you would need to deploy from a github repo with the ghost source code, i dont know how much work that would involve, i have not done it myself
Ah blog post
Ok, I see