getkirby-solutions / heroku

How to deploy Kirby CMS on Heroku cloud platform
2 stars 0 forks source link

This entire things unfortunately doesn't work! #1

Open knaggit opened 6 years ago

knaggit commented 6 years ago

Hello! I am struggle with deploying Kirby on Heroku actually. After a while I discovered this repo and even tried after a while to just push this repo only to Heroku. It doesn't work. There are no logs I can give because nothing throwed anything.

Problem: The panel isn't working. Every time I try to login I get redirected to the login page again without a result. What can I do? Where can I help? Is it possible to solve that problem?

hrstkatomas commented 5 years ago

We managed to get Kirby running on Heroku, but there is still huge problem: Every time you push to projects git repository or the dyno restarts, your entire content disappears.

Like many modern hosting solutions based on containers (such as Docker), the Heroku filesystem is ephemeral - that means that any changes to the filesystem whilst the dyno is running only last until that dyno is shut down or restarted.

tl;dr: Files shouldn't be used for permanent storage

To use file based CMS Heroku advises to use Amazon S3 to store your content or for WordPress there is this plugin that can store your content in folder with installed packages (similar idea could be used with Kirby). Either way seems like too much of a hassle.