-
Notifications
You must be signed in to change notification settings - Fork 30
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
Missing custom theme and files after update from 5.26.4 to 5.44 #230
Comments
Yup, same thing here (Also it seems the content is now in |
Wow, thanks a lot, I deleted my backup and though I'd loose many hours getting back my images! |
Ooops my bad, in the upgrade script I made sure a backup of the old |
Finally, once everything was restored and tested, I removed the old ghost/core folder in my two instances (/var/www/ghost and /var/www/ghost__2). Everything seems ok now :) |
I'll let you move the directory manually, sorry for the inconvenience. :/ |
I upgraded as well, I cannot find any of my images, even in the |
In my case, the update didn't removed any folder. Have you tried (via SSH) to look into the core folder (where images were placed in the previous version) ? |
@tomaytotomato the backup should contain everything.
I will try to properly fix that in the script tomorrow. Edit: could not wait trying...
I concede I am lost. |
Hey, sorry to dig this issue up, but I've just updated a ghost app today, and had the same issue. So it seems to me that the problem isn't solved, unless I misunderstood something. |
What's the value of |
|
As per the conversation above, make a backup then try |
Not sure I'm getting it. The app is already updated and I made a mistake and erased the pre-upgrade backup while I was trying to look into it (don't ask me how, I'm too ashamed ;)). So making a backup now will somehow extract the files to the backup? I don't really understand from where it would extract them, sounds a bit like magic to me ;) If I should get them from a pre-upgrade backup because files have been lost during upgrade, then I can re-import a previous distant backup, and do what you say. In any case, thanks @tituspijean for your answers and the time you put at making apps work :) |
Making a backup now, from YunoHost, will preserve the current state of the app. In case we fuck it up more.
No, it's the migration for this specific upgrade that I badly coded. Moving the files is only needed once. |
Hey sorry, I realize I hadn't understood well what you meant because it seems I have a different situation than you.
|
I tried digging in this issue again today. I tried upgrading again and it created the same issue, contents had disappeared, custom theme was missing... I noted that in my situation:
After upgrade
I don't know if that's of any use for figuring out the issue with the upgrade script. I managed to have the site working seemingly right replacing I don't know how it is for other people, but to me it seems this issue shouldn't yet be closed. |
Bug description
*I upgraded my two Ghost instances from 5.26.4 to 5.44 with ghost_ynh. The update seemed to run smoothly but the website displayed and error indicating my custom theme was missing. Had to upload my the .zip theme from my backup. The image folder was missing too in www/var/ghost/content/content and custom routes.yaml missing. I managed to restore all missing asset with ghost admin and SSH directory upload. *
Context
Steps to reproduce
Expected behavior
The expected behaviour was to find all the files and theme after update☺️
Logs
Two logs because two Ghost instances
https://paste.yunohost.org/raw/mihihivulo
https://paste.yunohost.org/raw/isorewozuh
The text was updated successfully, but these errors were encountered: