Package Details: crashplan-pro 11.2.1-1

Git Clone URL: https://aur.archlinux.org/crashplan-pro.git (read-only, click to copy)
Package Base: crashplan-pro
Description: A business online/offsite backup solution
Upstream URL: https://www.crashplan.com/en-us/small-business/
Keywords: backup crashplan
Licenses: custom
Conflicts: crashplan
Submitter: glittershark
Maintainer: achilleas
Last Packager: achilleas
Votes: 29
Popularity: 0.88
First Submitted: 2013-08-27 17:10 (UTC)
Last Updated: 2024-01-13 17:50 (UTC)

Dependencies (8)

Required by (0)

Sources (5)

Pinned Comments

achilleas commented on 2022-10-02 20:21 (UTC) (edited on 2022-10-25 07:45 (UTC) by achilleas)

Direct download links page: https://support.crashplan.com/hc/en-us/articles/8717685436173#Direct_download_links

SmashedSqwurl commented on 2018-12-19 15:10 (UTC) (edited on 2018-12-19 15:14 (UTC) by SmashedSqwurl)

@gadicc, I added some pacman hooks to handle setting/unsetting the immutable flag:

Sets immutable flag after install/upgrade:

[Trigger]
Operation = Upgrade
Operation = Install
Type = Package
Target = crashplan-pro

[Action]
Description = Set immutability of Crashplan Pro upgrade directory
When = PostTransaction
Exec = /usr/bin/bash -c "rm -rf /opt/crashplan/upgrade/*; chattr +i /opt/crashplan/upgrade"`

Unsets immutable flag before upgrade/remove:

[Trigger]
Operation = Upgrade
Operation = Remove
Type = Package
Target = crashplan-pro

[Action]
Description = Undo immutability of Crashplan Pro upgrade directory
When = PreTransaction
Exec = /usr/bin/bash -c "chattr -i /opt/crashplan/upgrade"```

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 23 Next › Last »

legodfrey commented on 2022-01-20 15:32 (UTC)

It looks like crashplan / Code42 might have changed their required packages / forgotten to put something in their java bundles.

I am currently seeing the engine fail a small time after startup, with:

ERROR main                                         ] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[01.20.22 14:54:08.642 ERROR main                                         ] SLF4J: Defaulting to no-operation (NOP) logger implementation
[01.20.22 14:54:08.643 ERROR main                                         ] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[01.20.22 14:54:08.648 ERROR main           com.backup42.service.CPService] Error starting up, java.lang.UnsatisfiedLinkError: 'int org.mozilla.jss.CryptoManager.getJSSMajorVersion()'
STACKTRACE:: java.lang.UnsatisfiedLinkError: 'int org.mozilla.jss.CryptoManager.getJSSMajorVersion()'

I will look into this later, but let me know if you also see this.

P_wandelwall commented on 2022-01-19 20:12 (UTC)

@gr211 and anyone else. Dont implement my comments from below, just use the AUR and read pinned comments by legodfrey/

@legodfrey, I reinstalled completely a couple of weeks back to enjoy your auto-upgrade units fresh.

Alas, today I see it is trying to update, but unsuccessful. I forced it clicking the link in the gui and watched the 'upgrade' directory in /opt/crashplan/upgrade/ but nothing came into existence there... what a drag.

Besides this, my crashplan kept trying to want to verify about half of my backup, cauing it to re-upload (verify) about 3tb every day.... bothersome.

I made the switch for now and gonna try the docker version of crashplan.

Good luck all, and maybe till later if I return.

gr211 commented on 2021-12-29 10:25 (UTC) (edited on 2021-12-29 10:27 (UTC) by gr211)

Hi. Thx a lot for this pkg.

Could be just me, but thought I'd put it out there for others just in case.

On a fresh install of crashplan (ie no /opt/crashplan dir), the cmd

/usr/bin/chattr -i /opt/crashplan/conf/tmp

failed (as in directory did not exist yet).

P_wandelwall commented on 2021-12-28 15:26 (UTC)

Good catch, Merry Christmas! to you all.

Thanks a bunch for keeping this product alive for me on a linux VM.

Further more, updated the AUR. Will let you know the results at some point in the future when the disk is full again or if I notice there has been an update installed ... all by itself.

Will it not try to install the upgrade possibly without waiting for it to be fully downloaded? .. a well, what do i know.

Muncrief commented on 2021-12-28 00:15 (UTC)

Ha!

That's freakin' brilliant @legodfrey!

Thank you.

I'll give it a try and let you know how it goes with the next update.

legodfrey commented on 2021-12-27 23:58 (UTC)

I have added a second systemd unit, this is a path monitor, which if a file is detected in the upgrade directory will try to run an update. This might fail, or require a different glob. Please report any issues you have with this.

This should be enabled through:

systemctl enable crashplan-pro_upgrade.path
systemctl start crashplan-pro_upgrade.path

legodfrey commented on 2021-12-27 15:22 (UTC)

@muncrief and @p_wandelwall - Merry Christmas! I have adopted those changes while I look into fixing the auto update... I agree it is annoying, especially as it should still backup with the older version (or at least did on windoze).

Muncrief commented on 2021-12-27 14:38 (UTC)

@P_wandelwall, I'm not the maintainer of this package so I can't change it. I just chime in from time to time if there are easy changes that users can make to get them by until the package is updated.

The maintainer is @legodfrey, so hopefully he can adopt the changes so CrashPlan can self update. It certainly is annoying having to constantly check! :)

P_wandelwall commented on 2021-12-27 11:19 (UTC) (edited on 2021-12-27 11:23 (UTC) by P_wandelwall)

Comment to myself. My last post did not really work very well. Changed some things and this seems to work, even after reboot.


crashplan-pro.service
.....
ExecStartPre=/bin/bash /usr/local/sbin/crashplan.sh
ExecStart=/opt/crashplan/bin/CrashPlanEngine start
ExecStartPost=/bin/bash /usr/local/sbin/crashplan-i.sh
.....

crashplan.sh

#!/bin/bash
/usr/bin/chattr -i /opt/crashplan/conf/tmp


crashplan-i.sh

#!/bin/bash
sleep 30
/usr/bin/chattr +i /opt/crashplan/conf/tmp

P_wandelwall commented on 2021-12-26 13:45 (UTC) (edited on 2021-12-27 10:49 (UTC) by P_wandelwall)

@muncrief Thx.

I have the disk being flooded with *.dl files again where crashplan tries to upgrade itself, fails and downloads the upgrade file again.

It downloads the upgrade files to: /opt/crashplan/conf/tmp (mmmm, change in plans by code42?)

So sudo chattr +i /opt/crashplan/conf/tmp helps, but leaving it like that will have the crashplan service crash at start (or lock, whatever, it wont work ;-)

Could we alter the systemd service in such a way that it -i at start and +i after? I made this change for test, but that will be altered again i reckon after I update, and i am nothing but a hacker, i fiddle, maybe you can integrate at least the idea?

Or am I missing something? I know for sure that my drive is completely filled after a day or so (30GB ;(

Cheers

crashplan-pro.service: [Service] ..... ExecStartPre=/bin/bash /usr/local/sbin/crashplan.sh .....

/usr/local/sbin/crashplan.sh

/usr/bin/chattr -i /opt/crashplan/conf/tmp sleep 60 /usr/bin/chattr +i /opt/crashplan/conf/tmp