[ZendTo] [Data migration from old installation]

Scott Silva ssilva at sgvwater.com
Thu Jul 13 16:04:18 BST 2023


I recently built a new server and I just copied the files and database over from the old one.
That way I didn’t have to worry about expiring old files…

From: ZendTo <zendto-bounces at zend.to> On Behalf Of Travis Zimmerman via ZendTo
Sent: Thursday, July 13, 2023 7:04 AM
To: ZendTo Users <zendto at zend.to>
Cc: Travis Zimmerman <tzimmerman at fsu.edu>; Peter Zillmann <Peter.Zillmann at kzoo.edu>
Subject: Re: [ZendTo] [Data migration from old installation]


CAUTION: This email originated from outside your organization. Exercise caution when opening attachments or clicking links, especially from unknown senders.
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/66f49488/attachment.html>


More information about the ZendTo mailing list