CrashPlan 4.2.0 update - how to do a clean install

So I am still not having success with updating to v4.2.0. I am not sure of all the other places to check but the series for crashplan, locale and java8 are all showing as running:

# ./service.sh status crashplan is enabled and running

# ./service.sh status locale is enabled and running

# ./service.sh status java8 is enabled and running

One thing I do see in the Drobo Dashboard (and I am not sure if this is normal) is that locale and java8 show as “Status Unknown” in the Drobo Apps section. Would this have anything to do with crash plan not working? I’m kind of at wits end here. Whats the best way to remove/uninstall locale, java8 and crashplan and start over? I am thinking about just deleting everything and starting clean unless I hear of some other options.

My suggestion to you is to copy/move the “backupArchives” folder inside the crashplan folder somewhere else before you starting clean. That is the folder with all your backups. You can move it back into its place after the installation to restore all of your backup data.

Thanks. I wasn’t aware of that. A few other questions Ricardo:
[list=1]
[]Is it normal for the java8 and locale to show as “status unknown” from the Drobo Dashboard?
[
]How do I properly uninstall crashplan, locale and java8? from the Drobo Dashboard? Just delete the folders while SSH’d in? Delete via Windows explorer/Mac finder?
[]Are their log files (if so where are they located) where I can verify things have (re)installed ok?
[
]Is there any other ways to check to ensure all components are running as expected?
[/list]

Thanks in advance.

Yes. Those are not regular apps in the sense that they can be started and/or stopped. They are just there, to be used by other apps.

All of those ways should work the same, as long as you make sure crashplan is stopped. Just to be extra safe you can reboot the Drobo after uninstalling them.

All the log files are located under /tmp/DroboApps/{appname}/. For example, crashplan’s log is located at /tmp/DroboApps/crashplan/log.txt. You can retrieve the files using SSH.

Like I said, locate and java8 are always “running” as expected, since they don’t really run at all. Crashplan will report its status to the Dashboard, so you should check that. You’ll have to connect to it eventually, so there is that as well.

OK Ricardo, I went through and:
[list=1]
[]Stopped crash plan from the drobo dashboard
[
]Went to the DroboApps folder and deleted the crashplan, locale and java8 folders and restarted the Drobo via the Dashboard
[]Then went through and placed the latest versions of locale.tgz and java8.tgz in the DroboApps folder and restarted the Drobo again (thus installing the apps)
[
]Next, I dropped the crashplan.tgz in the DroboApps folder and restarted the Drobo once last time.
[/list]
Drobo Dashboard shows the application running so I
[list=1]
[]Set the ui.properties file
[
]Launch Terminal and SSH using the -L 4200:localhost:4243 setting
[]then launch CrasPlan from my laptop
[
]I enter in my crashplan account info
[/list]
My Drobo 5N is at a “Waiting for backup” state and will not kick off no matter what I do. Another thing to note in I have some machine on my LAN that I have set to backup to the Drobo for crash plan backups and they show a “Destination unavailable - backup location not accessible” message.

[size=medium]Help! Not sure what else to do here! Please let me know what logs I can post, etc to help get this going.[/size]

The log file is /tmp/DroboApps/crashplan/log.txt.

I am not seeing anything of note in that log (I thinking maybe there was some other log(s) to check in addition). Here is the contents of that log.

[code]2015-05-22 05-02-22: /mnt/DroboFS/Shares/DroboApps/crashplan/service.sh start

  • main start
  • local _operation=start
  • shift
  • start_service
  • /usr/bin/realpath /mnt/DroboFS/Shares/DroboApps/crashplan/service.sh
  • /usr/bin/dirname /mnt/DroboFS/Shares/DroboApps/crashplan/service.sh
  • local _appDir=/mnt/DroboFS/Shares/DroboApps/crashplan
  • _get_app_name /mnt/DroboFS/Shares/DroboApps/crashplan
  • /usr/bin/basename /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _appName=crashplan
  • _prestart_app /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _appDir=/mnt/DroboFS/Shares/DroboApps/crashplan
  • _get_app_name /mnt/DroboFS/Shares/DroboApps/crashplan
  • /usr/bin/basename /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _appName=crashplan
  • _create_files /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _appName=
  • local _name=
  • local _version=
  • local _description=
  • local _framework_version=
  • local _depends=
  • local _webui=
  • local _appTmpDir=
  • [ ! -f /mnt/DroboFS/Shares/DroboApps/crashplan/service.sh ]
  • _get_app_name /mnt/DroboFS/Shares/DroboApps/crashplan
  • /usr/bin/basename /mnt/DroboFS/Shares/DroboApps/crashplan
  • _appName=crashplan
  • _get_name /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _name=
  • [ -n isset ]
  • _name=crashplan
  • [ -z crashplan ]
  • echo crashplan
  • _name=crashplan
  • _get_version /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _version=
  • [ -n isset ]
  • _version=4.2.0
  • echo 4.2.0
  • _version=4.2.0
  • _get_description /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _description=
  • [ -n isset ]
  • _description=Cloud backup service
  • echo Cloud backup service
  • _description=Cloud backup service
  • _get_framework_version /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _framework_version=
  • [ -n isset ]
  • _framework_version=2.1
  • echo 2.1
  • _framework_version=2.1
  • _get_depends /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _appName=
  • local _depends=
  • _get_app_name /mnt/DroboFS/Shares/DroboApps/crashplan
  • /usr/bin/basename /mnt/DroboFS/Shares/DroboApps/crashplan
  • _appName=crashplan
  • [ -n isset ]
  • _depends=java8 locale
  • echo java8 locale
  • _depends=java8 locale
  • _get_webui /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _webui=
  • local _appName=
  • [ -n isset ]
  • _webui=
  • [ -z ]
  • _get_app_name /mnt/DroboFS/Shares/DroboApps/crashplan
  • /usr/bin/basename /mnt/DroboFS/Shares/DroboApps/crashplan
  • _appName=crashplan
  • eval _webui=${crashplan_webui:-}
  • _webui=
  • echo
  • _webui=
  • _get_app_tmpdir crashplan
  • echo /tmp/DroboApps/crashplan
  • _appTmpDir=/tmp/DroboApps/crashplan
  • [ ! -d /tmp/DroboApps/crashplan ]
  • [ -n crashplan ]
  • echo crashplan
  • [ -n 4.2.0 ]
  • echo 4.2.0
  • [ -n Cloud backup service ]
  • echo Cloud backup service
  • [ -n 2.1 ]
  • echo 2.1
  • [ -n java8 locale ]
  • echo java8 locale
  • [ -n ]
  • _set_enabled crashplan YES
  • local _appName=crashplan
  • local _value=
  • /usr/bin/awk -F = -v name=crashplan_enable $1 == name { gsub(/"/, “”, $2); print $2 } /mnt/DroboFS/Shares/DroboApps/.serv
  • _value=YES
  • [ -z YES ]
  • /bin/sed -i s/crashplan_enable=.*/crashplan_enable=“YES”/g /mnt/DroboFS/Shares/DroboApps/.servicerc
  • _file_equals /sys/devices/dri_dnas_primary/dnas_adp_1/driver/serial /mnt/DroboFS/Shares/DroboApps/crashplan/host_uid.txt
  • /usr/bin/diff -q /sys/devices/dri_dnas_primary/dnas_adp_1/driver/serial /mnt/DroboFS/Shares/DroboApps/crashplan/host_uid.
  • is_running /tmp/DroboApps/crashplan/pid.txt /mnt/DroboFS/Shares/DroboApps/java8/bin/java
  • local _pidfile=/tmp/DroboApps/crashplan/pid.txt
  • local _daemon=/mnt/DroboFS/Shares/DroboApps/java8/bin/java
  • _function_exists _is_running
  • type _is_running
  • /bin/grep -q function
  • _is_running /tmp/DroboApps/crashplan/pid.txt /mnt/DroboFS/Shares/DroboApps/java8/bin/java
  • eval _pidfile=/tmp/DroboApps/crashplan/pid.txt
  • _pidfile=/tmp/DroboApps/crashplan/pid.txt
  • [ -r /tmp/DroboApps/crashplan/pid.txt ]
  • return 1
  • [ -f /mnt/DroboFS/Shares/DroboApps/crashplan/crashplan.conf ]
  • _get_depends /mnt/DroboFS/Shares/DroboApps/crashplan
  • local _appName=
  • local _depends=
  • _get_app_name /mnt/DroboFS/Shares/DroboApps/crashplan
  • /usr/bin/basename /mnt/DroboFS/Shares/DroboApps/crashplan
  • _appName=crashplan
  • [ -n isset ]
  • _depends=java8 locale
  • echo java8 locale
  • _depends=java8 locale
  • [ -n java8 locale ]
  • _start_depends java8 locale
  • local _depend
  • _start_depend java8
  • local _appName=java8
  • _get_app_dir java8
  • echo /mnt/DroboFS/Shares/DroboApps/java8
  • local _appDir=/mnt/DroboFS/Shares/DroboApps/java8
  • local _foundApp=
  • local _oldStack=
  • _count
  • echo 0
  • [ 0 -ge 10 ]
  • _DEPENDS_STACK= java8
  • [ ! -d /mnt/DroboFS/Shares/DroboApps/java8 ]
  • _is_enabled java8
  • local _appName=java8
  • local _value=
  • /usr/bin/awk -F = -v name=java8_enable $1 == name { gsub(/"/, “”, $2); print $2 } /mnt/DroboFS/Shares/DroboApps/.servicer
  • _value=YES
  • [ -z YES ]
  • return 0
  • _is_app_running /mnt/DroboFS/Shares/DroboApps/java8
  • /bin/grep -q running+
    _status_app /mnt/DroboFS/Shares/DroboApps/java8
  • local _appDir=/mnt/DroboFS/Shares/DroboApps/java8
  • _get_app_name /mnt/DroboFS/Shares/DroboApps/java8
  • /usr/bin/basename /mnt/DroboFS/Shares/DroboApps/java8
  • local _appName=java8
  • _get_app_tmpdir java8
  • echo /tmp/DroboApps/java8
  • local _appTmpDir=/tmp/DroboApps/java8
  • local _status
  • local _enabled
  • local _running
  • [ ! -d /mnt/DroboFS/Shares/DroboApps/java8 ]
  • [ ! -f /mnt/DroboFS/Shares/DroboApps/java8/service.sh ]
  • cd /mnt/DroboFS/Shares/DroboApps/java8
  • /bin/sh /mnt/DroboFS/Shares/DroboApps/java8/service.sh status
  • _status=java8 is enabled and running
  • [ -z java8 is enabled and running ]
  • echo java8 is enabled and running
  • /bin/grep -q stopped
  • echo java8 is enabled and running
  • /bin/grep -q running
  • echo java8 is enabled and running
  • /bin/grep .* is .* and .*
  • _status=java8 is enabled and running
  • echo java8 is enabled and running
    /bin/grep -q stopped
  • echo java8 is enabled and running
  • /bin/grep -q running
  • echo java8 is enabled and running
  • /bin/grep .* is .* and .*
  • _status=java8 is enabled and running
  • echo java8 is enabled and running
  • echo java8 is enabled and running
  • _DEPENDS_STACK=
  • _start_depend locale
  • local _appName=locale
  • _get_app_dir locale
  • echo /mnt/DroboFS/Shares/DroboApps/locale
  • local _appDir=/mnt/DroboFS/Shares/DroboApps/locale
  • local _foundApp=
  • local _oldStack=
  • _count
  • echo 0
  • [ 0 -ge 10 ]
  • _DEPENDS_STACK= locale
  • [ ! -d /mnt/DroboFS/Shares/DroboApps/locale ]
  • _is_enabled locale
  • local _appName=locale
  • local _value=
  • /usr/bin/awk -F = -v name=locale_enable $1 == name { gsub(/"/, “”, $2); print $2 } /mnt/DroboFS/Shares/DroboApps/.service
  • _value=YES
  • [ -z YES ]
  • return 0
  • _is_app_running /mnt/DroboFS/Shares/DroboApps/locale
  • /bin/grep -q running
  • _status_app /mnt/DroboFS/Shares/DroboApps/locale
  • local _appDir=/mnt/DroboFS/Shares/DroboApps/locale
  • _get_app_name /mnt/DroboFS/Shares/DroboApps/locale
  • /usr/bin/basename /mnt/DroboFS/Shares/DroboApps/locale
  • local _appName=locale
  • _get_app_tmpdir locale
  • echo /tmp/DroboApps/locale
  • local _appTmpDir=/tmp/DroboApps/locale
  • local _status
  • local _enabled
  • local _running
  • [ ! -d /mnt/DroboFS/Shares/DroboApps/locale ]
  • [ ! -f /mnt/DroboFS/Shares/DroboApps/locale/service.sh ]
  • cd /mnt/DroboFS/Shares/DroboApps/locale
  • /bin/sh /mnt/DroboFS/Shares/DroboApps/locale/service.sh status
  • _status=locale is enabled and running
  • [ -z locale is enabled and running ]
  • echo locale is enabled and running
  • /bin/grep -q stopped
  • echo locale is enabled and running
  • /bin/grep -q running
  • echo locale is enabled and running
  • /bin/grep .* is .* and .*
  • _status=locale is enabled and running
  • echo locale is enabled and running
  • echo locale is enabled and running
  • _DEPENDS_STACK=
  • _function_exists start
  • type start
  • /bin/grep -q function
  • start
  • echo 1048576
  • /mnt/DroboFS/Shares/DroboApps/locale/bin/locale -a
  • grep -q ^en_US.utf8
  • [ ! -d /mnt/DroboFS/Shares/DroboApps/crashplan/tmp ]
  • . /mnt/DroboFS/Shares/DroboApps/crashplan/app/bin/run.conf
  • SRV_JAVA_OPTS=-Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4
  • GUI_JAVA_OPTS=-Dfile.encoding=UTF-8 -Dapp=CrashPlanDesktop -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4
  • SRV_JAVA_OPTS=-Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4
  • export LC_ALL=en_US.UTF-8
  • export LANG=en_US.UTF-8
  • export LD_LIBRARY_PATH=/mnt/DroboFS/Shares/DroboApps/crashplan/lib:/mnt/DroboFS/Shares/DroboApps/crashplan/app:
  • cd /mnt/DroboFS/Shares/DroboApps/crashplan/app
  • [ 1512 -gt 0 ]
    • setsidlocal /mnt/DroboFS/Shares/DroboApps/java8/bin/java pid=1512
      -Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m+ -Xmx512m -Djava.net.preferIPv4Stack=trueech
      -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0+ -Dnetworkaddress.cache.negative.ttl=0 -Dc42.native.md5.
      /mnt/DroboFS/Shares/DroboApps/crashplan/app/lib/com.backup42.desktop.jar:/mnt/DroboFS/Shares/DroboApps/crashplan/app/lang
      [05.22.15 12:02:24.525 INFO main root ] Locale changed to English
      [05.22.15 12:02:24.530 INFO main root ] *****************************
      [05.22.15 12:02:24.531 INFO main root ] *****************************
      [05.22.15 12:02:24.532 INFO main root ] STARTED CrashPlanService
      [05.22.15 12:02:24.537 INFO main root ] CPVERSION = 4.2.0 - 142527600
      [05.22.15 12:02:24.538 INFO main root ] LOCALE = English
      [05.22.15 12:02:24.541 INFO main root ] ARGS = [ ]
      [05.22.15 12:02:24.542 INFO main root ] *****************************
      [05.22.15 12:02:24.903 INFO main root ] Adding shutdown hook.
      [05.22.15 12:02:24.927 INFO main root ] BEGIN Loading Configuration
      [05.22.15 12:02:24.964 WARN main com.code42.utils.UniqueId ] critical error converting IP
      [05.22.15 12:02:25.108 INFO main root ] BEGIN Copy Custom
      [05.22.15 12:02:25.109 INFO main root ] Directories: [.Custom, cust
      [05.22.15 12:02:25.110 INFO main root ] NOT waiting for custom skin
      [05.22.15 12:02:25.113 INFO main root ] NO customizations found.
      [05.22.15 12:02:25.113 INFO main root ] END Copy Custom
      [05.22.15 12:02:25.129 INFO main root ] Loading from default: /mnt/
      [05.22.15 12:02:25.671 INFO main root ] Loading from my xml file=co
      [05.22.15 12:02:25.867 INFO main root ] Loading ServiceConfig, newI
      [05.22.15 12:02:25.899 INFO main root ] OS = Linux
      [05.22.15 12:02:26.290 INFO main root ] AuthorityLocation@27276388[
      [05.22.15 12:02:26.295 INFO main root ] Checking Java memory heap m
      [05.22.15 12:02:26.303 INFO main root ] Previous Java memory max
      [05.22.15 12:02:26.314 INFO main root ] END Loading Configuration
      jtux Loaded.[/code]

Yeah, that log is saying that crashplan is running ok. What is the output of ‘netstat -anp | grep :42…’ ? It should be something like:

tcp        0      0 0.0.0.0:4242            0.0.0.0:*               LISTEN      6269/java
tcp        0      0 127.0.0.1:4243          0.0.0.0:*               LISTEN      6269/java
tcp        0      0 192.168.1.32:4242       192.168.1.25:49445      ESTABLISHED 6269/java

Ricardo - I am only seeing these 2 lines:

# netstat -anp | grep :42.. tcp 0 0 0.0.0.0:4242 0.0.0.0:* LISTEN 1512/java tcp 0 0 127.0.0.1:4243 0.0.0.0:* LISTEN 1512/java

Yep, crashplan is running fine on your Drobo. Any problems you might have are somewhere else.

FYI: I think I fixed a problem that was preventing CrashPlan from backing up. Please re-download 4.2.0 for your Drobo from https://github.com/droboports/crashplan/releases.

Your latest 4.2.0 release resolves the issue. Thank you. The only thing that stinks is I have to re-backup all 1.5 TB of my files back to CrashPlan Central servers :frowning:

hi its cool that the new version gets things going again, and while i dont have crashplan i was wondering this:

what is it that is causing the existing files to not be recognised by crashplan having them on their servers already?
eg even if crashplan updates their version, i would think that it would use some kind of similar hashing process that it is familar with, so that it doesnt tie up its servers backing up the same files?

maybe there is 1 existing file which is like a table of contents locally that is getting overwritten, that might save you from having to reupload?

This could have been my fault. I honestly don’t know 100% for sure. I thought I was being very careful not to delete my CrashPlan Central data for my Drobo, but it seems not to be the case. As of now, it looks like it is re-uploading everything. I hope to document the ‘correct’ way to update crashplan on the Drobo so this doesn’t happen to me again. It takes me a few months to backup my ~1.5 TB of data as I have it pretty much running over nighttime hours so it doesn’t interfere with my daytime traffic bandwidth.

oh thats fair enough - maybe it was or maybe it wasnt :slight_smile:
either way its good that its backing up again for you, and it would be handy for you and all others if you find out that ideal method indeed.

btw maybe there is a way to limit the bandwidth that it uses during the day, so that you can run it all the time and reduce the amount of days it will take you catch up?

I do see there is a bandwidth throttle settings within the CrashPlan gui for the Drobo but I honestly don’t know how that really works seeing this is a headless ‘dumb’ device (“present” vs. “away”). I have it set to “None” for sending over the WAN which takes place over night hours, so that helps a little. I also kick the backup off over weekends where I’m not around so it gets more process during that time as well.

hmm am not sure, though maybe your crashplan main account (on crashplan itself) might have some settings to help control the speed of uploads from their side, which might help.
if not - then you might have to view less google vids during the day to do more backups (only joking) :smiley:

I don’t see anything on the CrashPlan side of things that allow one to throttle back bandwidth just during off-business hours (either from the client or from their website/console). I’ve just been manually changing the throttling in the evening/on weekends… if I remember!

I work out of my home so having a backup running during the day (especially when its set to use a high bandwidth) affects when I use my VOIP softphone and just throughput trying to get day-to-day work done. I am sure I could pin this all down via my ASUS router by defining limits and QoS but thats too much of a headache for me and this situation :wink:

oh thats fair enough - if your router supports bandwidth management per ip address, there might be a way to simply slow down the drobos ip. (but it might take longer to setup and test than just letting the backups run)

this website makes it look really easy: (but finding out in europe how much it costs or the exact model seems hard)
http://www.oring-networking.com/doc/view/sn/198/IP%20based%20Bandwidth%20Management