Support

UNiTE, Remote CLI, eXtract Wizard

#3718 Remote Control 4.0.4

Posted in ‘UNiTE and Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by jk15060 on Wednesday, 02 February 2011 13:56 CST

jk15060
This morning, my Remote Control 4.0.3 prompted me to update to a newer version, namely 4.0.4. I was clicking away doing a bunch of other stuff and missed my window to download.

Is 4.0.4 anywhere on the website to download? If not, how long before I'm prompted again to upgrade? I have closed and re-opened the app a couple times hoping I would get prompted again, but no such luck.

I'd like to see the latest version and test it.

Happy Thursday!
Janis

nicholas
Akeeba Staff
Manager
Close the app, relaunch, wait for a minute or two. It should prompt you again.

I will formally release 4.0.4 sometime. The major issue keeping me from doing that is that I have to answer about 50 questions every day over the last two weeks. That's the quadruple of the regular flow and has reduced me from a developer to a typist. If that trend continues I will just shut down free forum support for non-subscribers, as the increased traffic is compromising the quality of service I can offer.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

jk15060
Good morning, Nicholas!
I'm curious about Remote Control 4.0.4. I configured Remote Control so that my websites get backed up in the wee hours of the morning, but I notice that the application keeps closing. I left it on and open again last night, but when I returned to my desk this morning, Remote Control was closed.

Does your application close after so much inactivity? Something is closing the app and every day when I open it, all the websites begin their backup process, which isn't good to have them backing up all at once. I have them scheduled to run starting at midnight and each new site schedule to begin every half hour.

Is there a way to leave the application open so that the scheduled backups start at their designated time?

Hope you had a great weekend. I look forward to hearing from you about the scheduling aspect of Remote Control.

Thanks a million!
Janis

nicholas
Akeeba Staff
Manager
There is no automatic shutdown feature in Remote Control. In theory this should never happen. Can you try backing up one site at a time and tell me if backing up a specific site causes the application to shut down?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

jk15060
Well crapola. Had a really long post to submit and lost it because I got timed out.

Basically, one of the sites is closing RC, which in turn won't run scheduled backups until the application is re-opened. I have each website scheduled to send an email when the backuup is complete, so this morning I found the last email and documented the website in case it's the culprit.

Each morning, when I have to re-open RC, all sites backup at one time, which isn't a good thing because nearly all these sites are on shared hosting at GoDaddy.

And I just thought of something after losing my last post. I have a site that has sub-domains configured, all with Joomla installed. I wonder if backing up those sub-domains is duplicating my efforts. Nicholas, is RC smart enough to backup ALL folders, even if they're not a part of the Joomla structure? In other words, will RC backup those sub-domains that are housed in subdirectories of the primary site? Maybe that's my problem.

Each morning, when I re-open RC, at least one of the websites returns this error: Unable to parse JSON string. This morning, it just happened to be on the site with two sub-domains configured.

I have attached the log file of the site returning the JSON error in hopes that I can determine what is going wrong. Let me know about the sub-domains. I think that might be the cause.

Also worth mentioning is that until the "remove backup file from server" option can be resolved, I should probably clean up all websites prior to running the next backup. That might help too, along with clearing the cache.

Thanks for taking a peek at the log file, Nicholas. I sure do appreciate it!

Janis

jk15060
UPDATE: Got busy doing something else and when I closed my browser window, I noticed RC was closed. Now that I know the offending website, maybe I can determine the root cause for closing RC.

jk15060
Question: Will I cause problems if I remove old Akeeba Backup files via FileZilla instead of the Joomla back-end interface? I noticed the website that seemed to close RC had a couple J01 files under \administrator\components\com_akeeba\backup.

And the site with the JSON error this morning also has a J01 file in the same location.

I cleaned up these files both via Joomla back-end and FileZilla and am manually running a backup of the same site that apparently closed RC.

Cross fingers, don't hold breath!

jk15060
The backup in question seems to get "stuck" downloading at 41%. At least it's been there for quite some time now.

Is there a file download limit at all?

Just got an error: Remote API Call Error
HTTP Status: 200 ()
Internal status: timeout
XHR ReadyState: 3
Raw server response:

Attaching log file from this backup. So far RC is still left open.

nicholas
Akeeba Staff
Manager
You can safely delete the files by FTP. This is pretty much what Akeeba Backup does anyway ;)

There is no download limit, but if you try to backup/download 2-3 sites on the same host at once it is very probable that your host will slam the door on your face due to its overload protection. That said, GoDaddy is notorious for being unreliable. It is possible that an intensive task like backing up and downloading a website throws an error. Your error message talks about a timeout. This means that GoDaddy's servers tried to consume over 30 seconds trying to send 1Mb worth of data. On a normal host that process takes about 0.65 seconds. You get an idea about how bad GoDaddy hosting is: about 40 times slower than a normal host. I can't do anything but strongly suggest against using GoDaddy. In short, you get what you pay for. 3$/month will only get you rubbish hosting - and I struggle to support it but, alas, I can't do miracles :(

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user7730
I'm looking for the same answer. For no reason, ever since the new design change for RC, it just closes itself daily. I notice that there are no controls other then to create backups. How about adding the move to task-bar when minimized? That should keep it open.

nicholas
Akeeba Staff
Manager
There seems to be a memory leak in the Titanium runtime, the framework on top of which ARC is built. Moreover, I can't minimize to tray because Titanium doesn't support such a feature :( Sorry, I am constrained by the limitations of the platform, there's nothing I can do except, like you, wait for a Titanium update which solves this issues.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

jk15060
Howdy!
Been a while since I posted and just upgraded my Remote Control to 4.0.5 via the automatic update. I still have the issue with RC being closed, but I suspect it's because of the time out issue Nicholas mentioned a few days ago.

While I'm not in a position to switch hosting providers (yet), I am researching different hosting providers in hopes of having better luck with RC, assuming my current provider is part of the reason why the backups fail on occasion.

What I did find, however, was that two domains I support are on the same shared server, so I thought that was causing RC to fail and close the application. But I noticed that their automatic schedule happens to be 3 hours apart. Still, that might be why RC is closing, but will let folks know.

Janis

nicholas
Akeeba Staff
Manager
Janis, just a quick thought. Do you, by any chance, put your PC to suspend (sleep) or hibernate between launching ARC and noticing that it has automatically closed?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

jk15060
Good morning, Nicholas!
Funny you should ask about sleep/suspend mode for a PC. I do NOT have my PC configured for sleep mode at all. In fact I set all hardware to NEVER sleep, so that shouldn't be the issue.

Yesterday, I logged into all my websites and cleaned out all .JPA and .JP0 files in the backup folder. Then I upgraded to Akeeba Backup Core 3.2 Alpha and upgraded Remote Control to 4.0.5. I had planned to leave my machine on with RC open and ready to run backups overnight, but there was this big giant storm passing through the US. While that storm only brought rain to us, thank goodness, our little mountain here gets struck by lightning quite frequently, so I shut my PC down to prevent anymore hardware loss.

Tonight will be the true test to see how the latest version of Akeeba Backup and RC work together. I have also compared IP addresses of all websites so that sites that share a hosted server don't try to backup at the same time.

I did notice, however, that a manual backup I took yesterday successfully deleted the JPA file from the server. That's amazing progress and I'm planning to run a few more manual tests to see if the files get removed consistently - even from GoDaddy-hosted servers.

Will post results in case anyone else is interested.

Janis

jk15060
Ok, first of all, those partial backup files are .J01 files. I assume those are partials. Second, I just now attempted to backup a small website that is a secondary domain. In other words, this particular client has several domains running Joomla in the same hosting environment.

I am attaching the log file saved via Remote Control. This particular website is a sub-domain running Joomla. This site also seems to have numerous Internal Server Error 500, which I have researched with their hosting provider and found that the original CMS used for the site (ModX) is throwing out errors on a regular basis until it reaches the point where the error returns:
mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.

And, of course, this site closed Remote Control after only 15-20 minutes. SO weird.

The errors will be resolved once I get the entire site converted to Joomla from ModX, but that will take a bit more time to complete.

Here's my question: Is it considered a good practice to use Akeeba Backup & Remote Control on sub-domains? Does this present any kind of issue at all? I would guess no and have been focusing my efforts on getting ModX out of the picture (which is creating all those errors) and get the new site configured on Joomla. BUT, that doesn't take away the two other sub-domains, both installed with Joomla, residing in the same hosting environment.

Is it possible to include those sub-domains (aka sub-directories) somehow in the Akeeba Backup process or am I barking up the wrong tree? Just curious if that makes more sense than trying to run individual backups for each sub-domain.

Thanks Nicholas and I hope the log file is of some help.

Janis

nicholas
Akeeba Staff
Manager
First off, I don't think it's ModX's issue. The redirections happen courtesy of a .htaccess misconfiguration. I think this is where you want to start. Of course this misconfiguration will cause Remote Control to crash. ARC tries to follow all redirections given by the server until its internal stack overflows and the application crashes in flames. It's just something which should not happen during normal operation.

Using AB and ARC on subdomains is perfectly normal and desirable. While you can backup all subdomains of a main site, restoring them is big PITA, especially if you ever try to restore to a different server. Therefore I recommend against making one backup for multiple sites. It's best to keep each backup concentrated on one and only one site.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

jk15060
Good info to have regarding backup of multiple domains in one JPA file. Thanks Nicholas! I will continue to back them up separately, but the .htaccess errors will adversely affect all three sub-domain Joomla sites until the issue is resolved.

As for ModX, I have no idea how to fix the error except to get the Joomla site up and running as quickly as possible. The errors are looking for a file/folder structure that simply does not exist. I see what the problem is in the error message, but do not know ModX well enough to resolve the issue.

My best course of action, IMHO, is to get the site converted to Joomla and delete the ModX instance............unless of course there's a ModX expert out there in the wild!

Thanks for the speedy reply!
Janis

nicholas
Akeeba Staff
Manager
ModX expert around here? Unlikely :) Yeah, it's best to get the J! site up and running a.s.a.p.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

jk15060
Yeah, I'm with you on this one Nicholas. Get J! up and running FAST!! I'll unschedule these backups for now and leave all others to see if I get backups on all of them AND RC remains open and is still open tomorrow morning.

Cross fingers, don't hold breath.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!