Can't connect to CrashPlan server running on my NAS

CrashPlan - Endpoint Backup + Restore
Silently, continuously back up every version of every file, on laptops and desktops, at home and at work.
sillysheep
Posts: 22
youtube meble na wymiar Warszawa
Joined: Thu Aug 27, 2015 4:25 pm

Can't connect to CrashPlan server running on my NAS

Post by sillysheep »

I'm not sure what I'm doing wrong. This is my system infomation...
SysInfo.gif
SysInfo.gif (39.59 KiB) Viewed 20346 times
This is what I have tried so far according to the instructions here...

http://www.asustor.com/apps/app_detail?id=354

1. "On your PC, install CrashPlan from https://www.code42.com/store/"
result: I downloaded this install file to my Windows 10 system... https://www.code42.com/crashplan/thankyou?os=win

2. I double-clicked the resulting file, CrashPlan_4.4.1_Win.exe
3. I clicked Next, selected "Only for me", selected "I accept the terms in the License Agreement", accept the default install path "C:\Users\Lee\AppData\Local\CrashPlan", clicked Install, waited for the install to finish, then clicked Finish.

4. "Stop the CrashPlan User Interface on your PC."
result: As soon as the CrashPlan desktop app starts asking me for account information, I close it by clicking the red X icon in the upper right corner of the app.

5. "Disable and Enable the CrashPlan App in Asustor's App Central (Restart the App)."
result: Just to be sure, I first reboot the NAS. Then after my NAS starts up, I install CrashPlan using App Central. Then, I disable CrashPlan. Then, I enable it again.

6. "Find the .ui_info file on your PC and make a backup."
result: I copied .ui_info file from "C:\Users\User\AppData\Local\CrashPlan\.ui_info" to "C:\Users\User\Desktop". My original .ui_info file looks like this...

Code: Select all

4243,b0a3888c-b249-47f1-8155-725b4e9bb40f,127.0.0.1
7. "Now replace this file with the file found on your NAS Public share at Public/crashplanservice/.ui_info."
result: Using File Explorer on my NAS, I downloaded /volume1/Public/crashplanservice/.ui_info to my Windows 10 machine. The download location is "C:\Users\User\AppData\Local\CrashPlan". Because Windows 10 or my browser is silly, it renamed my .ui_info file to "ui_info". So I deleted "C:\Users\User\AppData\Local\CrashPlan\.ui_info" and renamed "C:\Users\User\AppData\Local\CrashPlan\ui_info" to "C:\Users\User\AppData\Local\CrashPlan\.ui_info" using the command prompt.

The contents of updated .ui_info is now the following...

Code: Select all

4243,cb09d3e8-5008-4c51-b07e-bd35b39f6c15
8. "Find the ui.properties file on your PC (Found in the CrashPlan conf directory) On Windows = C:\Program Files (x86)\CrashPlan\conf\ui.proprties
Edit the ui.properties file and Uncomment the 'serviceHost' line by removing the bracket (#) at the start of the line and change 127.0.0.1 to the IP address of your NAS (for instance 192.168.1.30)."
result: On Windows, the "C:\Program Files (x86)\CrashPlan\conf" folder does not exist. I did find a "C:\Users\Lee\AppData\Local\CrashPlan\conf\ui.properties" file, however. Inside, the ui.properties file looked like this...

Code: Select all

#Tue Oct 13 21:33:15 PDT 2015
window=2455,247,800,610
I did not find any "serviceHost" line entry. So, I just added one using my NAS's IP, (i.e. 192.168.5.152) and saved the file. The updated file now looks like this...

Code: Select all

#Tue Oct 13 21:33:15 PDT 2015
window=2455,247,800,610
serviceHost=192.168.5.152
9. "Open CrashPlan on your PC. The GUI will show CrashPlan on the NAS instead of the configuration on your local computer."
result: CrashPlan app starts up and logo just sits there for minutes (longest I waited is 10 minutes). I have attached a pic.
CrashPlan_hang.gif
CrashPlan_hang.gif (140.12 KiB) Viewed 20348 times
At this point, I have to kill the CrashPlanDesktop.exe process to make the logo go away.

Based on this information, can you give me an idea on what I can try next to get this to work? Restarting my PC or the NAS at this point does nothing to help.
sillysheep
Posts: 22
Joined: Thu Aug 27, 2015 4:25 pm

Re: Can't connect to CrashPlan server running on my NAS

Post by sillysheep »

Just an update...

I've been browsing through the crashplan forum website and found this thread...

https://helpdesk.code42.com/entries/951 ... -t-connect

It seems like the directions to connect have now changed. Following some of the steps in the thread I get a little farther. But, I eventually get an engine disconnect...
Disconnect.gif
Disconnect.gif (69.54 KiB) Viewed 20340 times
Reading more, it seems like the client version that I'm running (4.4.1) is different than the one on my Asustor machine (4.3.0) based on the service.log.0 on the NAS path (/volume1/.@plugins/AppCentral/crashplan/crashplan/log/service.log.0):

Code: Select all

[10.13.15 20:40:22.969 INFO    main                 com.backup42.service.CPService          ] *************************************************************
[10.13.15 20:40:22.969 INFO    main                 com.backup42.service.CPService          ] *************************************************************
[10.13.15 20:40:22.970 INFO    main                 com.backup42.service.CPService          ] STARTED CrashPlanService - 0.0.0.0:4243
[10.13.15 20:40:22.970 INFO    main                 com.backup42.service.CPService          ] CPVERSION = 4.3.0 - 1427864410430 (2015-04-01T05:00:10:430+0000) - Build: 31
[10.13.15 20:40:22.975 INFO    main                 com.backup42.service.IdentityInfo       ] BEGIN GUID assignment
[10.13.15 20:40:22.976 INFO    main                 com.backup42.service.IdentityInfo       ]   No GUID identity file, /root/.crashplan/.identity
[10.13.15 20:40:22.976 INFO    main                 com.backup42.service.IdentityInfo       ]   No GUID identity file, /var/lib/crashplan/.identity
[10.13.15 20:40:22.983 INFO    main                 com.backup42.service.IdentityInfo       ]   GUID created! guid=711437882809032616
[10.13.15 20:40:23.045 INFO    main                 com.backup42.service.IdentityInfo       ] END GUID assignment
[10.13.15 20:40:23.048 INFO    main                 com.backup42.service.CPService          ] CPGUID = 711437882809032616 from NEW
[10.13.15 20:40:23.048 INFO    main                 com.code42.utils.SystemProperties       ] OS=Linux (3.12.20, amd64)
[10.13.15 20:40:23.049 INFO    main                 com.code42.utils.SystemProperties       ] JVM=Java(TM) SE Runtime Environment (1.7.0_45-b18, 64-bit)
[10.13.15 20:40:23.049 INFO    main                 com.backup42.service.CPService          ] Locale = English
[10.13.15 20:40:23.049 INFO    main                 com.backup42.service.CPService          ] OrgType = CONSUMER
[10.13.15 20:40:23.063 INFO    main                 com.backup42.service.CPService          ] JavaOptions = [-Dfile.encoding=UTF-8, -Dapp=CrashPlanService, -DappBaseName=CrashPlan, -Xms20m, -Xmx1024m, -Dsun.net.inetaddr.ttl=300, -Dnetworkaddress.cache.ttl=300, -Dsun.net.inetaddr.negative.ttl=0, -$
[10.13.15 20:40:23.064 INFO    main                 com.backup42.service.CPService          ] ARGS = [  ]
[10.13.15 20:40:23.064 INFO    main                 com.backup42.service.CPService          ] AuthorityLocation@836772918[ location=central.crashplan.com:443, hideAddress=false, isLocked=false ]
[10.13.15 20:40:23.064 INFO    main                 com.backup42.service.CPService          ]
I guess I would need to wait until the asustor version is updated? Or maybe install the 4.3.0 client? I'm not sure how to get the 4.3.0 client to test this theory, though. Any ideas on where to go from here would be appreciated.
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Can't connect to CrashPlan server running on my NAS

Post by clinton.hall »

The problem here is CrashPlan is not designed to run on a remote system, there is limited support, and they change things every release.

On your windows system, after copying the .ui_info from your nas to
C:\Users\User\AppData\Local\CrashPlan\.ui_info
edit this file and add ,<nas-ip>
e.g.

Code: Select all

4243,cb09d3e8-5008-4c51-b07e-bd35b39f6c15
becomes

Code: Select all

4243,cb09d3e8-5008-4c51-b07e-bd35b39f6c15,192.168.1.30
Then restart crashplan on your PC and see if it connects.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
sillysheep
Posts: 22
Joined: Thu Aug 27, 2015 4:25 pm

Re: Can't connect to CrashPlan server running on my NAS

Post by sillysheep »

Hi, Clinton.

Thanks for the reply. When I tried to add the NAS-IP to the .ui_info, I get the image that you see in my 2nd post with the following error...

"Crashplan has been disconnected from the backup engine"

Is there any log information that might help in diagnosing the information?
dennisng
Posts: 1
Joined: Fri Oct 16, 2015 2:08 pm

Re: Can't connect to CrashPlan server running on my NAS

Post by dennisng »

Hey Clinton,

I'm on Crashplan 4.4.1. This was automatically upgraded on my system, i had no control. I'm also running the latest ADM software and crash plan which worked flawlessly now stops working and I can no longer connect to it.

Any ideas how we can update the Crashplan Server on the NAS so that it would work with the latest Crashplan Client 4.4.1 ?

br
DEnnis
fatman
Posts: 2
Joined: Mon Nov 09, 2015 10:12 pm

Re: Can't connect to CrashPlan server running on my NAS

Post by fatman »

Hi Clinton,

I have also had the this problem on using CrashPlan 4.4.1, any plan to upgrade the ADM software.

Thanks,
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Can't connect to CrashPlan server running on my NAS

Post by clinton.hall »

Hi All,

Sorry for the delay. The changes were not well documents (in my opinion) and so it has taken me some time to find a solution.

Please manually install this latest version from here https://www.dropbox.com/s/e7khpd06qygpx ... .2_any.apk

Now, the files on your Windows install will have changed in the latest version (4.5.0) and the locations may be different for different OS.
My tests were done on Windows 10.

In order to configure the backup engine, you will need to connect using the CrashPlan user interface from another system (Windows, MAC, Linux).

On your PC, install CrashPlan from https://www.code42.com/store/ (use version 4.5.0)
Stop the CrashPlan User Interface on your PC.
Disable and Enable the CrashPlan App in Asustor's App Central (Restart the App, in order to update the ui keys)

Find the .ui_info file on your PC and make a backup. (on Windows 10, installed for all users, this is at C:\ProgramData\CrashPlan\.ui.info)

Now replace the contnets of this file with the details from the file found on your NAS Public share at Public/crashplanservice/.ui_info.
(you need to edit this file as administrator, so start wordpad as administrator and then open this file from wordpad)... you may need to enable hidden files on your system.
The format of this file is
<port>,<key>,<ip>
you need to change the key to that found in your NAS's .ui_info file, and change the ip to the address of your NAS.
e.g.
4243,b1299f78-fff0-4ae4-8d75-dd6e3628f503,10.1.1.9

Find the ui.properties file on your PC (Found in the CrashPlan conf directory) On Windows = C:\Program Files\CrashPlan\conf\ui.proprties
Edit the ui.properties file and un-comment the 'serviceHost' line by removing the bracket (#) at the start of the line and change 127.0.0.1 to the IP address of your NAS (for instance 10.1.1.9).

Open CrashPlan on your PC. The GUI will show CrashPlan on the NAS instead of the configuration on your local computer. Configure what to backup, where, when etc.

When you're done configuring CrashPlan on the NAS, you can change the ui.properties file back to the way it was (#serviceHost=127.0.0.1) and restore your original .ui_info

The next time you open up the CrashPlan GUI on your PC, you will see the configuration of your local computer again, instead of the NAS config.


Please let me know if this is working, if you encounter any further issues, and also where you find these files on your system/OS.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Can't connect to CrashPlan server running on my NAS

Post by clinton.hall »

Hi All,

Sorry for the delay. The changes were not well documented (in my opinion) and so it has taken me some time to find a solution.

Please manually install this latest version from here https://www.dropbox.com/s/e7khpd06qygpx ... .2_any.apk

Now, the files on your Windows install will have changed in the latest version (4.5.0) and the locations may be different for different OS.
My tests were done on Windows 10.

In order to configure the backup engine, you will need to connect using the CrashPlan user interface from another system (Windows, MAC, Linux).

On your PC, install CrashPlan from https://www.code42.com/store/ (use version 4.5.0)
Stop the CrashPlan User Interface on your PC.
Disable and Enable the CrashPlan App in Asustor's App Central (Restart the App, in order to update the ui keys)

Find the .ui_info file on your PC and make a backup. (on Windows 10, installed for all users, this is at C:\ProgramData\CrashPlan\.ui.info)

Now replace the contnets of this file with the details from the file found on your NAS Public share at Public/crashplanservice/.ui_info.
(you need to edit this file as administrator, so start wordpad as administrator and then open this file from wordpad)... you may need to enable hidden files on your system.
The format of this file is
<port>,<key>,<ip>
you need to change the key to that found in your NAS's .ui_info file, and change the ip to the address of your NAS.
e.g.
4243,b1299f78-fff0-4ae4-8d75-dd6e3628f503,10.1.1.9

Find the ui.properties file on your PC (Found in the CrashPlan conf directory) On Windows = C:\Program Files\CrashPlan\conf\ui.proprties
Edit the ui.properties file and un-comment the 'serviceHost' line by removing the bracket (#) at the start of the line and change 127.0.0.1 to the IP address of your NAS (for instance 10.1.1.9).

Open CrashPlan on your PC. The GUI will show CrashPlan on the NAS instead of the configuration on your local computer. Configure what to backup, where, when etc.

When you're done configuring CrashPlan on the NAS, you can change the ui.properties file back to the way it was (#serviceHost=127.0.0.1) and restore your original .ui_info

The next time you open up the CrashPlan GUI on your PC, you will see the configuration of your local computer again, instead of the NAS config.


Please let me know if this is working, if you encounter any further issues, and also where you find these files on your system/OS.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
sillysheep
Posts: 22
Joined: Thu Aug 27, 2015 4:25 pm

Re: Can't connect to CrashPlan server running on my NAS

Post by sillysheep »

Thanks, Clinton!

Followed those directions. Works great now.

Just one question. Should I stop updating the client now? I'm assuming the client and server have to stay the same version to maintain compatibility.
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Can't connect to CrashPlan server running on my NAS

Post by clinton.hall »

Yes, Disable the update on your client...
The issue will still happen for new users who try to install on their Asustor after crashplan next updates... so I am going to have to try and keep this current (which means more work!!)
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
Post Reply

Return to “CrashPlan”