You are here
bhruska - Thu, 2016/05/26 - 19:37
I am planning on migrating a wordpress-13.0-wheezy-amd64 off of Amazon to my own server.
Is there a way to "upgrade" this to the latest (version 14) appliance at the same time? If so, how would I do that?
I'm planning to run a restore with TKLBM.
Also, when I restore it suggestst he same appliance. But since its a restore, won't it overwrite whatever is there? So would this matter? Just trying to figure out exactly how to do this migration.
Thanks,
Brian
Forum:
Did restore, doesn't start correctly
Okay, so I've done a restore to a local machine. Having done this, and noticing that it doesn't start up normally, and reading further about TKLBM, it seems that any modifications I've made to the server don't seem to get included in the backup automagically.
So do I have to add any new packages I've installed to the configuration for the backup? How do I know what to add?
Here's the message that I get rebooting my local machine. At first, it did reboot, now its trashed. Ugh!
Thanks,
Brian
Another Machine
I have tried using TKLBM to restore a zurmo machine locally with similar results. After restoring, I cannot access the machine via SSH, or the web server interface. I suspect the network settings get restored, and thus are invalid in some way. What do I need to adjust after restore? Any help appreciated.
Thanks,
Brian
Any Step by Step Instructions????????????
Obviously I'm missing something. I've created a new server appliance on my local EXSi server. It runs fine. Then I put the API key in. That works. I execute the restore from the cloud backup. That says it finishes fine.
Now I try rebooting the machine and accessing it. I can't get to it. The IP address obviously is different than what it would be out on Amazon's cloud. So are the domains assigned to it. I get that. But after reboot I can't even get to it with SSH.
Are there steps I'm not taking properly after the restore? Is this spelled out anywhere?
Any help would be appreciated. Backups aren't any good if you can't access them!
Thanks,
Brian
Thanks,
Brian
It should "just work"...
TBH I don't understand the errors that appear to be occurring. It seems like something is seriously wrong somewhere! But it sounds like you've already figured that much out!
Bottom line is that TKLBAM should track most changes that you make, although not necessarily all. It should track packages that you install with apt (so long as they come from the Debian or TurnKey repos). It will also track all of your WordPress changes (including if you've updated the version etc). It won't track software that you've installed in another way (e.g. using pip for python or installing from source).
One thing you could do, is on your original server run a backup, but with the `--simulate`. It will leave a directory called /TKLBAM (which includes everything that is backed up). Install tree and then post an output of the tree structure of that directory:
Then edit your top post and attach the file (only the first post in a thread can have attachments).I did the simulation, and
I did the simulation, and uploaded the tklbam-files.txt file.
It looks like apache has been updated for the new appliance, and there are errors starting it.
/var/www$ service apache2 restart
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
/var/www$ systemctl status apache2.service
* apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Tue 2016-05-31 17:02:15 UTC; 9s ago
Process: 2039 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
May 31 17:02:15 zurmo apache2[2039]: Starting web server: apache2 failed!
May 31 17:02:15 zurmo apache2[2039]: The apache2 configtest failed. ... (warning).
May 31 17:02:15 zurmo apache2[2039]: Output of config test was:
May 31 17:02:15 zurmo apache2[2039]: AH00526: Syntax error on line 49 of /etc/apache2/mods-enabled/ssl.conf:
May 31 17:02:15 zurmo apache2[2039]: Invalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration
May 31 17:02:15 zurmo apache2[2039]: Action 'configtest' failed.
May 31 17:02:15 zurmo apache2[2039]: The Apache error log may have more information.
May 31 17:02:15 zurmo systemd[1]: apache2.service: control process exited, code=exited status=1
May 31 17:02:15 zurmo systemd[1]: Failed to start LSB: Apache2 web server.
May 31 17:02:15 zurmo systemd[1]: Unit apache2.service entered failed state.
Thanks,
Brian
Ah yes, there will be. Apache is upgraded to v2.4
The update should be fairly straight forward. First thing to do is update the ssl.conf to our (new) standard one.
You may also need to update the location of your keys. Edit the line that says:
And make sure that it points to your cert.You'll also need to rename the Zurmo Apache conf file.
You may also need to tweak that config file a little, although if you haven't updated it yourself, you just need to make it look like this: https://github.com/turnkeylinux-apps/zurmo/blob/master/overlay/etc/apach...Note that you can remove the SSLCertificateFile directive that your default file contains (as it's now in the ssl.conf).
The link for the ssl.conf is
The link for the ssl.conf is no longer valid, I am upgrading using tklbam from 13 to 14.1
Thanks
I don't understand?
So in a new thread, please detail the appliance you are working with and the steps you have taken already. If there is info from other forum threads or posts that's relevant, please feel free to link to it etc.
FWIW there is a doc page that gives a suggested workflow and note a couple of specific details that will need tweaking.
Thanks for the link and
Thanks for the link and the warm welcome!
Regardless I have manage to work through this issue.
Apologies if my post seemed curt
Having said that it does get a little tiring to answer posts where there is so little info to work with. When people don't share the context of their issue it makes people trying to help have to work that much harder.
If you are new to Linux and/or "tech" type forum posting then you may well not realise that on face value. So apologies that you copped my frustration, that wasn't fair.
For future reference, if you have an issue and want help with it, best practice is to start your own new thread (unless of course the thread is very recent and EXACTLY matches your issue). If in doubt (i.e. you aren't sure whether it's the same issue or not - or it's similar but not exactly the same) start a new thread. Provide links to other threads that you think may be similar and/or you used info from. Also feel free to cross post links to your thread in similar threads.
So for example in this case, ideally you would have opened a new thread and written something like this:
Yes it does require a little more effort on your part to do that, but it also means that the person trying to help you doesn't have to work so hard. If you can lower the bar for those who want to help, then the chances of getting a useful, helpful reply in a timely manner are improved! It also provides a much more useful reference for future users.
If you have resolved the issue, perhaps you could share your info and save someone else in the future?! At this point, please feel free to just post here. Starting a new thread at this late stage probably doesn't make so much sense.
Reinstalled my enviroment
I decided to upgrade using a backup of the wordpresss enviroment and manually making configuration changes to apache that I required. (from my documents)
I felt due to the changes in apache version it was better to not introduce some unknown issues.
The site is now upgraded to the new TKL 14.1 platform and gets the A rating from Qualys SSL labs site checker which was my reason for the upgrade.
Happy New Year.
Happy new year to you too Rob! :)
Add new comment