I was trying to use Akeeba Backup (formerly “JoomlaPack”) to move a Joomla site from a temporary location under my personal site to its own hosting account.Â The site packed up fine, but I got the error “Could not open logs/index.html for writing” when unpacking with kickstart.php.
A little research revealed that you sometimes get this error when unpacking to a hosting account’s root folder.Â You can get past this by unpacking to a subdirectory and then moving the files to the root.Â It looks to me like my host, 1and1, wasn’t allowing the kickstart scripts to write to the logs folder.Â I couldn’t figure out how to fix the permissions, so I used the subdirectory workaround.Â After unpacking everything to a subfolder and then moving it to the root, I just needed to change two paths in configuration.php and the site was working.Â I never was able to move logs/index.html to the main logs folder, but the site is working fine without it.
I did need to follow one important tip in the Akeeba Backup manual and force “binary mode” when transferring the site’s .jpa archive file down from the original host and up to the new site.
Brilliant thanks – I’d read most articles pointing to changing permissions on the root folder but nothing worked
Legend! Thank you so much for taking the time to post this. Such a simple workaround but worked a treat. Thanks!!!!!!
Yeah, done!! Thank you. I moved all the files to the root and only leave logs folder into the subdirectory where i unpacked the akeeba archive. However, i didn’t change any paths in configuration.php….it’s normal? It suppose any problem to have the logs folder in an other directory? Thanks for your post.
Sorry — I don’t know the answers to your questions. I’m glad the post helped!
Thanks for posting your workaround. i spent a lot of time battling permission problems and folder ownership to get our site back up and running and your suggestion worked like a dream.