Moving Dada Mail to Another Server

Post Reply
Posts: 3
Joined: Fri Jul 31, 2020 3:13 am

Moving Dada Mail to Another Server

Post by DennyP » Sun Sep 20, 2020 12:11 am

Running Pro Dada version 11.11.0 8/06/20 .

I am migrating from a production to a test server which will become my production server after everything is transferred and tested.

I copied all the web files from the production server to the test server. I used phpmyadmin to verify the sql files got copied (20 of them) and are accessible. The file owner and permissions look correct (same as the production server). I spot checked a few files to ensure they got copied as Ascii text files, they did.

I got a 500 server error - The server encountered an internal error or misconfiguration and was unable to complete your request - when I went to:

Below is from the error log.

2020-09-19 19:07:29 Error 500 GET /cgi-bin/dada/mail.cgi HTTP/1.0 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51 3.11 K Apache SSL/TLS access

2020-09-19 19:07:29 Error End of script output before headers: mail.cgi Apache error

Is there something else I need to do to be able to test on my new test server?

My guess is that I have to manually change some paths in a configuration file someplace because the domain name changed.

Thank you.

User avatar
Site Admin
Posts: 18
Joined: Fri Nov 29, 2019 10:47 pm

Re: Moving Dada Mail to Another Server

Post by dadamail » Tue Sep 22, 2020 9:04 pm

First, here's the guide on how to migrate: ... l.pod.html

Boils down to moving the .dada_files directory, moving the, "dada" directrory, and migrating the MySQL database. After that, just follow the upgrade instructions as usual.

You could also just do a clean install of Dada Mail on the new host using a new MySQL database. When that's all working, migrate the old database, drop back into the installer, and switch the configuration to use that just migrated database.

The error you're reporting is a file permissions problem, most likely on the mail.cgi script - that should be, "755".
Justin J
Creator, Dada Mail

Post Reply