Hi
I want to transfer an LT set-up to a new physical server and new domain. I created a new install on the destination server, transferred the media files from the source server and copied over the database dump.
Source server: source.example.com
Destination server: destination.example.com
On the destination server, I dropped the database, created a new empty db, and then imported the db dump from the source.
The destination server gives the " Oops! Something went wrong!" error and checking pypo.log shows multiple lines of this:
2021-04-21 20:35:35,296 [api_client] [INFO ] Unable to get Airtime API version number.
2021-04-21 20:35:40,330 [api_client] [INFO ] Unable to get Airtime API version number.
What does that mean? Looks like an SSL cert issue - link.
Of course - I’ve changed the domain…!
Ok, let’s take a look at the db dump:
root@machine:~# grep source airtime_200421.sql
53 \N master_dj_source_connection_url http://source.example.com:8001/master
54 \N live_dj_source_connection_url http://source.example.com:8002/show
s3_host source.example.com string
s4_host source.example.com string
1 https://source.example.com/feeds/station-rss Source Radio podcast sourceusername Powered by LibreTime en \N http://source.example.com/ \N \N \N \N \N clean \N
So, can I manually search-and-replace the db dump and replace reference to the source URL to the destination URL to fix the problem - or is this just not going to be possible? Alternatively, is there any easier way to move LT to a new server and domain?
Many TIA.