Server migration with htaccess
Hi, I tried to post this in the Google groups, but have not been approved to post there. I'm attempting to migrate a Restyaboard install (0.6.7) from an Archlinux server to Debian. Archlinux has been manually installed on apache2, which the new Debian install has been installed via the script. Debian, as a fresh install, is working great - no issues. I've been successfully able to backup and restore a new 0.6.9 database on another Debian server.
The issue comes when I try and install my previous (0.6.7) install from Archlinux on Debian. Steps to reproduce:
- Backup Archlinux install (seems to work fine, and I can restore on Archlinux with no issues) - files and database.
- Create new postgresql database on the Debian server, then import the old database. Seems also to work fine.
- Replace /var/www/html/restyaboard folder with one from Archlinux install. Permissions are set the same.
- Reload Apache2 server
- Visit url
The error message I'm getting is: You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe
This does not make sense to me - the permissions and .htaccess file are the same as with the fresh Debian install. I can replace the /var/www/html/restyaboard folder with the fresh install, and it works fine.
i would appreciate any thoughts. I recently purchase 2 hours from support, and found them almost entirely useless. Apart from not being informed of the setup I needed (Windows computer with Zoom apparently), which wasted a half hour, the end result was "client is having issues with the .htaccess file not working". Figured that one out.
Thanks in advance for your support.
Personally I would install fresh on the new server, get that working, and then copy over database info and any other files
Personally I would install fresh on the new server, get that working, and then copy over database info and any other files
Thanks - ended up doing just that. Wasn't able to easily copy over the database (still no idea why), however I was able to export the boards from the old installation, and import them into the new one. Still lots of work to do going back and cleaning up files, however at least most of the information is there.
Followed this tutorial: https://sleeplessbeastie.eu/2018/04/02/how-to-backup-and-restore-restyaboard-boards/
I haven't marked this as solved however, in case there's other things I can try with the .htaccess file.
@curiousmitchell Can you please tell us the issues you are facing in the .htaccess file?