Move Meteotemplate

Post Reply
spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Move Meteotemplate

Post by spd2612 » Sun Oct 10, 2021 12:11 pm

I am going to do a fresh install of server 2019
What is the best way to move Meteotemplate and retain all settings
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Move Meteotemplate

Post by davidefa » Sun Oct 10, 2021 9:54 pm

- zip the original meteotemplate directory ( on the old server )
- copy the zip file to the new server and decompress
- edit the config.php file:
you only need to redefine db parameters ( dbName, dbServer, dbUser and dbPassword ), the path variable ( only if you install in a different directory ) and the pageURL variable

migration.png
migration.png (116.07 KiB) Viewed 1739 times
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: Move Meteotemplate

Post by spd2612 » Tue Oct 12, 2021 11:25 pm

Moving it is turning into a disaster
can I just do a fresh install, copy over the blocks, plugins and custom pages
then is there a way to back up the meteotemplate settings such as menu and links and then import them into the new install?

If I have to manually configue all of this its going to be a chore
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

User avatar
Daali
Advisor
Advisor
Posts: 56
Joined: Mon Jul 26, 2021 8:06 pm
Location: Georgia, US
Station model: Ecowitt GW1002
Software: Meteobridge, FOSHKplugin
Contact:

Re: Move Meteotemplate

Post by Daali » Tue Oct 12, 2021 11:50 pm

You can copy off everything(blocks/plugins/custom pages), copy to new site. if you keep the url and pathing trees/branches the same you should be ok!

However, you'll have to do something with the databases. The easiest for me was to backup/restore, but you could just setup, dump old, import to new.
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: Move Meteotemplate

Post by spd2612 » Wed Oct 13, 2021 12:44 am

Im not concerned about the database
I still have that im just wanting my design and links
I can move the database in tact
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Move Meteotemplate

Post by davidefa » Wed Oct 13, 2021 9:53 am

Sorry, forgot to mention to backup the database ( I generally prefer using phpmyadmin )
Please post the link to the new site so we can take a look ( a simple slash, in the config, can make the difference )

P.S.
Also check if files and folders have the correct permissions ( as these may vary for the new server )
Image

spd2612
Forecaster
Forecaster
Posts: 165
Joined: Thu Jan 23, 2020 4:00 pm
Location: Fort Myers
Station model: WS-5000/GW1100
Software: ECOWITT Plugin
Contact:

Re: Move Meteotemplate

Post by spd2612 » Wed Oct 13, 2021 11:22 am

My site is not changing Im just building a fresh vm
The other server has been running for 7 years with updates after update
Just time to clean up
Image

Ambient Weather WS-5000
Ultrasonic Anemometer
Thermo-Hygrometer Sensor WH31E
Soil Moisture Sensor WH31SM
Lightning Detection WH31L

Post Reply