Page 1 of 1
Problem with migration tool
Posted: Sat Sep 22, 2018 10:18 am
by TheNiller
Hi all.
I tried to update from Bludit version 2.3.4 to 3.0.0 with the migrate script.
Everything worked fine until copying dl-content folder from migrate/ to the root. When asked for overwriting the existing dl-content folder I get an error "Cannot delete database" - 550/public_html/bl-content/database: Directory not empty. So it's not possible to copy/overwrite the current dl-content folder.
Next i tried to delete the old dl-content folder first and then copying the new one from the migrate/ folder. This works but brakes the entire site/frontend. Link with errors here:
https://theniller.com/
What to do any ideas?
Greetings Nils
Re: Problem with migration tool
Posted: Sat Sep 22, 2018 11:34 am
by Edi
The directory should be /bl-content/databases.
Re: Problem with migration tool
Posted: Sat Sep 22, 2018 12:46 pm
by TheNiller
Hi again.
Thanks for the quick reply. My bad, I wrote the wrong error message. I have taken an screenshot with the proper error message.
File permission is set to 755 for all folders, so overwriting should be possible.
Greetings Nils
Re: Problem with migration tool
Posted: Sat Sep 22, 2018 1:02 pm
by Edi
I presume that a directory in /bl-content cannot be deleted. There was a bug in a beta version of v3.0.0, and it could be, that it existed before.
If code was used in the editor field but no title given a directory was set with a part of the code. This directory cannot be deleted in some cases (and you have to ask your hoster to do it).
For example if a lightbox was used the directory was set with the name of an image:
The directory has no content.
Re: Problem with migration tool
Posted: Sat Sep 22, 2018 1:08 pm
by diego
I feel you are not updating the old files with the new files, because still trying to use the old files like dbpages.class.php.
The process is:
- Download the migration tool,
https://raw.githubusercontent.com/anagg ... igrate.php
- Execute migrate.php in the root folder of your current Bludit v2.3.4
- The script is going to create a folder called "migrations"
- Move the folder "/bl-content" to "/bl-content-backup"
- Download Bludit v3.0
- Copy and replace the old files with the new files
- Now move the folder "/migrations/bl-content" to "/bl-content"
- Done!
Re: Problem with migration tool
Posted: Tue Sep 25, 2018 9:13 pm
by TheNiller
Hi.
Thanks for the tips and help.
I somehow managed to update to version 3.0.0 without breaking the site again
I downloaded the the latest version and copied the files over to the current installation. I am not entirely sure if I also got copied the dl-content folder from the migration tool correctly
But the site works, and the back-end is updated to the latest version, so I guess I did it the right way.
Again, thanks for quick and useful help
/Nils