[ZendTo] [Data migration from old installation]

Peter Zillmann Peter.Zillmann at kzoo.edu
Thu Jul 13 15:43:54 BST 2023


Though running through install.sh again I see this warning:

I have set your 'serverRoot' value in preferences.php to
  'serverRoot' => 'https://xyz.university.edu/'
Be sure to check this is correct, or ZendTo will fail in
strange ways.

Let’s see what happens.


From: Peter Zillmann <Peter.Zillmann at kzoo.edu>
Date: Thursday, July 13, 2023 at 10:32
To: Travis Zimmerman <tzimmerman at fsu.edu>, ZendTo Users <zendto at zend.to>
Subject: Re: [ZendTo] [Data migration from old installation]
Thanks, Travis, that’s useful feedback. Maybe my memory was wrong about changing the hostname in the config. I’ll give it a shot on a test server and I’ll aim to report back.

From: Travis Zimmerman <tzimmerman at fsu.edu>
Date: Thursday, July 13, 2023 at 10:04
To: ZendTo Users <zendto at zend.to>
Cc: Peter Zillmann <Peter.Zillmann at kzoo.edu>
Subject: Re: [ZendTo] [Data migration from old installation]
When we decided to change the hostname for our server running Zendto, I think all we ended up doing was set up a CNAME in DNS to point to the new hostname and then updated the anything related to the name in config directory files. You shouldn’t have to touch the templates for hostname change.
Do you have a test VM you could try it out on first? I think as long as the URLs go somewhere and the server is configured to accept the old name and redirect to the new name, it should all work. I don’t remember having to muck about in the DB, just made changes in Apache configs and /opt/zendto/config.
------------------------------------------------------
Travis Zimmerman tzimmerman at fsu.edu<mailto:tzimmerman at fsu.edu> 850-645-8030
Linux Enterprise Applications & Systems its-linuxadmins at fsu.edu<mailto:its-linuxadmins at fsu.edu>
Information Technology Services, Florida State University



On Jul 12, 2023, at 5:22 PM, Peter Zillmann via ZendTo <zendto at zend.to<mailto:zendto at zend.to>> wrote:

A few years ago Greg Clarke suggested a ZendTo server migration method using an alternate DNS name during a transition period (described here: http://mailman.ecs.soton.ac.uk/pipermail/zendto/2018-March/003161.html<https://urldefense.com/v3/__http:/mailman.ecs.soton.ac.uk/pipermail/zendto/2018-March/003161.html__;!!PhOWcWs!zApwFSOEAvIK3ueudAMfdLBJ6AGP7fKQpd_Een8vjxu2QmPVQ5zfEqXA5_tr0x6Z8DTPiULLujCRDwOO$>). One step Greg mentioned was to change the pickup URL delivered in the pickup notices.

Could anyone suggest the best way to change this URL in the pickup notices? I see that I can change the serverRoot in preferences.php, but I suspect doing so would break other things.

Would it make sense to hard-code the URL in dropoff_email_html.tpl and dropoff_email.tpl? Are there other places I should change it? I looked in request_email_html.tpl and request_email.tpl and they don’t seem to be laid out the same way.

Caveat: PHP is not my first language.

Gratefully,
Peter


_______________________________________________
ZendTo mailing list
ZendTo at zend.to<mailto:ZendTo at zend.to>
https://urldefense.com/v3/__http://jul.es/mailman/listinfo/zendto__;!!PhOWcWs!zApwFSOEAvIK3ueudAMfdLBJ6AGP7fKQpd_Een8vjxu2QmPVQ5zfEqXA5_tr0x6Z8DTPiULLuvLZNMTP$<https://urldefense.com/v3/__http:/jul.es/mailman/listinfo/zendto__;!!PhOWcWs!zApwFSOEAvIK3ueudAMfdLBJ6AGP7fKQpd_Een8vjxu2QmPVQ5zfEqXA5_tr0x6Z8DTPiULLuvLZNMTP$>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20230713/29296bf8/attachment-0001.html>


More information about the ZendTo mailing list