SOLVED Tested CrashPlan 4.5 setup

Status
Not open for further replies.

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
Well now it's working with the tunnel. I had started from scratch trying Andrew076's method without the tunnel, which wouldn't connect to the jail.

Tried again with the SSH tunnel and it's working and backing up now. Does anyone know of any way to create a script to automatically check the .ui_info file for the proper GID and start the SSH tunnel before launching the CrashPlan desktop app?
I take it that it is working now? I can't really help with the Tunnel, but if you would please verify the following :

1) from jails verify the IP Address for the Crashplan Jail (Mine is 192.168.1.2)
2) launch the shell from the jail and type "ee /var/lib/crashplan/.ui_info" (copy and save that info, mine is for example 4338,[key],192.168.1.2 if the IP isn't your Jail IP from above update it then save and exit, stop and restart crashplan and verify it stuck.
3) Check "ee /usr/pbi/crashplan-amd64/share/crashplan/conf/my.service.xml" as follows:
Under the first section, i.e.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
scroll down to
<serviceHost>192.168.1.2</serviceHost>

then a little further down (half a page or so)

<serviceUIConfig>
<serviceHost>192.168.1.2</serviceHost>
<servicePort>4338</servicePort>

4) Check C:\ProgramData\CrashPlan\.ui_info (on my computer)
Verify that it is the same as #2 above, i.e. 4338,[key],192.168.1.2

Once you have saved all of this. Then reboot your computer, stop and start the plugin and verify that the info above.

Oh, you also need to be sure your desktop software is running the same version as your FreeNas side. So be sure to install the latest version. Also, don't force the port to be 4243 or 4342 I used to do that and kept having issues. Finally when I went with what FreeNAS kept using and changed it on my windows side it worked just fine.

Hope this helps.
 

S1RC

Dabbler
Joined
Jul 28, 2016
Messages
28
The tunnel is still working.

I tried your steps also and it also worked without the tunnel. I think maybe what I was missing before was not switching the IP on the jail from 127.0.0.1 to the jail IP.
 

Andrew076

Patron
Joined
Apr 5, 2015
Messages
206
Good to hear. If you change the properties of the Windows file so it is read only - even the system can't change it then you shouldn't have to edit anything and it will just work I.e. You will not have to change the key constantly. At least that has been my experience.
 

JoeB

Contributor
Joined
Oct 16, 2014
Messages
121
I hate to be a broken record, but use a Linux VM (any flavor will work) with a lightweight GUI. The fundamental problem is that CrashPlan wasn't designed to be headless, and it looks like they're doing whatever they can to prevent it from being used headlessly (a secondary problem is that it really isn't designed to run under FreeBSD). I don't know why they'd be trying to deliberately sabotage this capability, but I'm having trouble thinking of any alternate explanation for the frequent and major changes that have been made in the way it's configured.

Export the datasets you want to back up using NFS (or share via CIFS if you prefer, but NFS is simpler). Mount them (read-only, if you prefer) in the Linux VM. Install CrashPlan in the VM. Use VNC to connect to the VM as necessary or desired to see what's going on with it. Since the GUI client is running locally to the "server", you don't have any of the headless problems that plague us when we try to use the FreeNAS plugin. You can install the VM in a VirtualBox jail, or on a separate VM host, as you prefer.

Are you able to elaborate on this? I'd like to admin crashplan on a windows PC, so this sounds like a good way to do it.
 
Joined
Feb 5, 2015
Messages
9
Are you able to elaborate on this? I'd like to admin crashplan on a windows PC, so this sounds like a good way to do it.

I too am going to end my long nightmare of headless configuration of CrashPlan. Here's generally what I did:

1) Create an Ubuntu VM - I used these instructions: http://www.instructables.com/id/Introduction-38/
I would suggest using a dynamically sized hard drive as CrashPlan will slowly fill it up as it syncs. I also used 3GB memory to make sure it CrashPlan would have plenty at its disposal.

2) Mount your FreeNAS share in Ubuntu - I used my existing CIFS share and these instructions: https://wiki.ubuntu.com/MountWindowsSharesPermanently

3) Download and install CrashPlan. You'll need to un-archive the download and run "./install.ch" in the directory.

That's it. Sorry it's not more in depth. Ask if there's something you'd like elaborated on.
 

roblorduk

Cadet
Joined
Sep 23, 2015
Messages
3
Hi guys,

I've successfully installed using this method however I always get the following in the logs: -

Code:
NFO  erTimeoutWrk e42.messaging.peer.PeerConnector] PC:: Cancelling connection attempt due to timeout - pending connection=PendingConnection[timeout(ms) = 10000, startTime = Wed Dec 21 17:59:55 GMT 2016, remotePeer = RemotePeer-[guid=774417719742169089, state=CONNECTING, mode=PRIVATE, location=192.168.86.2:4242, public=213.137.9.11:4242, transportPbK=X509.checksum(671edcf374b0349e48e1a3e18a6145de), transportPbKRequestable=false, connecting=2016-12-21T17:59:55:244, connected=0, disconnected=2016-12-21T17:59:22:917, attempts=2, connectActivity=2016-12-21T17:59:55:244, keepAliveSent=0, minRetry=26648, retryDelay=0, reflector=na, #nat=0, session=null], sessionData = MessageConnection[ sessionInfo=Session[ null], readBuffer=com.code42.messaging.nio.MessageConnection$MessageBuffer@da6d6, maxBufferSize = 65536, currentSize = 0, enqueued = false, #items = 0, Connection[4468142, state=0, context = Context@20533861[/192.168.86.2:50563->/192.168.86.2:4242connectionState=0], SendBufferQueue[closed=false, queueSize=0, maxSize=1310720, enqueueTimeout=60000, numItems=0, waitingCount=0, waitingPriorityCount=0, items.size()=0, priorityItems.size()=0, lastEnqueueTS=0]]]]



And the backup always says "waiting for backup" in the client. Any help would be great!

I'm also seeing this..

Code:
INFO  Thread-29	backup42.service.ui.UIController] UserActionResponse: SaveDestinationResponseMessage@33239030[ session=774430155086548093, errors=[CPErrors.Global.CPC_UNAVAILABLE : [central.crashplan.com:443]] ]


But I can telnet okay.


Thanks.
 
Last edited:

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
All these problems go away with FreeNAS10 and the docker based crashplan, right?
Right?
RIGHT? (please?)
 

gaikokujinch

Cadet
Joined
Dec 27, 2016
Messages
4
Running FreeNAS-9.10.2-U1 (86c7ef5) I followed your instructions and updated to Crashplan 4.8.0. Unfortunately there is no .ui_info in the folder. I only get

Code:
root@crashplan_2:/var/lib/crashplan # ls
.identity


Where is the .ui_info file?
 

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
can't get this updated... i get all kind of errors. biggest i can not start the crashplan service i get
Code:
crashplan does not exist in /etc/rc.d or the local startup					
directories (/etc/ix.rc.d /usr/local/etc/rc.d)


And i can not start it in the freenas gui.....
next problem i already checked too i can not find the .ui_info file

When i get this working i will switch from Corral back to 9.10 but i am working on FN10/Corral for almost a year now.
I don't know what i am doing wrong, tried with 4.5.0 and with latest 4.8.2 but i can not get it to work.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I wouldn't bother with this anymore people, wait for VMs / docker - it's a joke to get crashplan working, a real nightmare.
 

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
I wouldn't bother with this anymore people, wait for VMs / docker - it's a joke to get crashplan working, a real nightmare.
esxi and freenas with nfs share and ubuntu with crashplan maybe the best option....
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
can't get this updated... i get all kind of errors. biggest i can not start the crashplan service i get
Code:
crashplan does not exist in /etc/rc.d or the local startup					
directories (/etc/ix.rc.d /usr/local/etc/rc.d)


And i can not start it in the freenas gui.....
next problem i already checked too i can not find the .ui_info file

When i get this working i will switch from Corral back to 9.10 but i am working on FN10/Corral for almost a year now.
I don't know what i am doing wrong, tried with 4.5.0 and with latest 4.8.2 but i can not get it to work.
What version of FreeNAS are your running, as there's a problem with the pluginjail template on FreeNAS 11, in respect to CrashPlan (see bug #23779)
 

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
What version of FreeNAS are your running, as there's a problem with the pluginjail template on FreeNAS 11, in respect to CrashPlan (see bug #23779)
Ah ok! That is why ;-) however i think i did try it also in 9.10.2 but i am not sure anymore but this was indeed on FN11
 

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
Running FreeNAS-9.10.2-U1 (86c7ef5) I followed your instructions and updated to Crashplan 4.8.0. Unfortunately there is no .ui_info in the folder. I only get

Code:
root@crashplan_2:/var/lib/crashplan # ls
.identity


Where is the .ui_info file?
on 9.10.2 i have this problem also
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
Last edited:

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
Per @Kris Moore, it's recommended to use the [iXsystems] iocage GitHub repo for crashplan due to how ancient the crashplan plugin is.
  • iocage (TOC) is replacing warden for plugin (as well as jail IIRC) management in FreeNAS 11.
does not work...

i can not make the iocage port install
Code:
make: don't know how to make install. Stop									
																				
make: stopped in /usr/src


EDIT:
After a while i got a little step further, i got iocage installed (with errors.... for what they worth.... we will find out)...

next problem......
Code:
[root@fn11 ~]# iocage fetch --plugins ip4_addr="em0|192.168.178.48/24"		
Username for 'https://github.com':											
Password for 'https://ajschot@github.com':									
Cloning into '/mnt/iocage/.plugin_index'...									
remote: Repository not found.												  
fatal: repository 'https://github.com/iXsystems/iocage-ix-plugins.git/' not found																			  
[root@fn11 ~]#


It is just showing jails are really a old clucky way of working and all that shell shit.... common...

I think i do a lot wrong but all this FN9 and FN11 is stuff is easier than Corral's docker people say?? sorry but this is a hell and it was before and it will be in the future! I had setup some FN10 and Corral installs and it was much much much quicker and a lot less clunkier to get all dockers working. Really the best is just use FreeNAS for data and all the rest in a other VM. So ESXi host with some vm's one is FN and only use it for SMB, FTP, NFS and for the rest just use Windows or Linux VM's because this is really a hell
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I think i do a lot wrong but all this FN9 and FN11 is stuff is easier than Corral's docker people say?
No, nobody's saying that. The docker implementation in FN10 was great. It's just that everything else was broken beyond repair.
 

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
i need to get this fixed in 9.10 or 10 i have them now both running beside Corral, i hope FN 11.1 will be released soon
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
@ajschot Per @Kris Moore's reply:

You aren't supposed to checkout the entire repo. Instead look at the README and you can use a command like the following:
  • iocage fetch --plugins ip4_addr="igb0|192.168.0.91/24"
    • Replace igb0 and the IP address with your preference.

Just an FYI: Corral is shelved and it is not stable, and even more importantly, will not receive any bug fixes or security patches from 4/12 forward.


@ajschot This is what should be output:
  • NOTE: The IP should be the IP you want the jail to have, NOT the IP of the FreeNAS server.
    • If the IP of the server is used, and you employ a decent router firewall, it's likely the traffic for the fetch command will be rejected/dropped due to spoofing of the server's IP.
Code:
[root@teMe] /mnt/nas-system # iocage fetch --plugins ip4_addr="igb1|192.168.2.10"
[0] BitTorrent Sync - Resilient, fast and scalable file sync software for enterprises and individuals. (btsync)
[1] CouchPotato - CouchPotato is an automatic NZB and torrent downloader. (couchpotato)
[2] Crashplan - Computer backup and data storage made simple. (crashplan)
[3] Emby - Home media server built using mono and other open source technologies (emby)
[4] GitLab - Powerful features for modern software development (gitlab)
[5] Jenkins - Jenkins CI (jenkins)
[6] Jenkins (LTS) - Jenkins CI (Long Term Support Version) (jenkins-lts)
[7] NextCloud - Access, share and protect your files, calendars, contacts, communication & more at home and in your enterprise. (nextcloud)
[8] Plex Media Server - The Plex media server system (plexmediaserver)
[9] Plex Media Server (PlexPass) - The Plex media server system (plexmediaserver-plexpass)
[10] Quasselcore - Quassel Core is a daemon/headless IRC client, part of Quassel, that supports 24/7 connectivity. Quassel Client can be attached to it to. (quasselcore)
[11] SubSonic - Open-source web-based media streamer and jukebox. (subsonic)
[12] Syncthing - Personal cloud sync (syncthing)

Which plugin do you want to create? (EXIT) 2
Plugin: Crashplan
  Using RELEASE: 11.0-RELEASE
  Post-install Artifact: https://github.com/freenas/iocage-plugin-crashplan.git
  These pkgs will be installed:
	- sysutils/linux-crashplan
Release 11.0-RELEASE missing, will attempt to fetch it.
Fetching: 11.0-RELEASE

Downloading: MANIFEST: 100% 5.26Kbit/s Elapsed: 00:00 Remaining: 00:00
Downloading: base.txz: 100% 4.42Mbit/s Elapsed: 00:21 Remaining: 00:00
Downloading: lib32.txz: 100% 3.86Mbit/s Elapsed: 00:04 Remaining: 00:00
Downloading: doc.txz: 100% 1.27Mbit/s Elapsed: 00:01 Remaining: 00:00
Extracting: base.txz...
Extracting: lib32.txz...
Extracting: doc.txz...

* Updating 11.0-RELEASE to the latest patch level...
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from update4.freebsd.org... done.
Fetching metadata signature for 11.0-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 984 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600....610....620....630....640....650....660....670....680....690....700....710....720....730....740....750....760....770....780....790....800....810....820....830....840....850....860....870....880....890....900....910....920....930....940....950....960....970....980.. done.
Applying patches... done.
Fetching 6 files... done.

The following files will be removed as part of updating to 11.0-RELEASE-p10:
/usr/share/zoneinfo/America/Santa_Isabel
/usr/share/zoneinfo/Asia/Rangoon

The following files will be added as part of updating to 11.0-RELEASE-p10:
/usr/share/zoneinfo/Asia/Barnaul
/usr/share/zoneinfo/Asia/Famagusta
/usr/share/zoneinfo/Asia/Tomsk
/usr/share/zoneinfo/Asia/Yangon
/usr/share/zoneinfo/Europe/Astrakhan
/usr/share/zoneinfo/Europe/Kirov
/usr/share/zoneinfo/Europe/Ulyanovsk

The following files will be updated as part of updating to 11.0-RELEASE-p10:
/bin/freebsd-version
/boot/gptboot
/boot/gptzfsboot
/boot/loader
/boot/pxeboot
/boot/zfsloader
/lib/libc.so.7
/lib/libcrypto.so.8
/rescue/[
/rescue/atmconfig
/rescue/badsect
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
/rescue/fdisk
/rescue/fsck
/rescue/fsck_4.2bsd
/rescue/fsck_ffs
/rescue/fsck_msdosfs
/rescue/fsck_ufs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/getfacl
/rescue/glabel
/rescue/gpart
/rescue/groups
/rescue/gunzip
/rescue/gzcat
/rescue/gzip
/rescue/halt
/rescue/head
/rescue/hostname
/rescue/id
/rescue/ifconfig
/rescue/init
/rescue/ipf
/rescue/iscsictl
/rescue/iscsid
/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rcp
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/sleep
/rescue/spppcontrol
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zpool
/sbin/ifconfig
/sbin/ipftest
/sbin/route
/usr/bin/apropos
/usr/bin/dc
/usr/bin/factor
/usr/bin/hxtool
/usr/bin/localedef
/usr/bin/makewhatis
/usr/bin/mandoc
/usr/bin/ntpq
/usr/bin/openssl
/usr/bin/slogin
/usr/bin/ssh
/usr/bin/ssh-agent
/usr/bin/svnlite
/usr/bin/svnlitebench
/usr/bin/svnlitemucc
/usr/bin/svnliterdump
/usr/bin/svnlitesync
/usr/bin/whatis
/usr/include/openssl/evp.h
/usr/include/openssl/opensslv.h
/usr/include/sys/eventhandler.h
/usr/lib/libc.a
/usr/lib/libc_p.a
/usr/lib/libc_pic.a
/usr/lib/libcrypto.a
/usr/lib/libcrypto_p.a
/usr/lib/libfetch.so.6
/usr/lib/libhx509.so.11
/usr/lib/libmp.so.7
/usr/lib/libprivatessh.a
/usr/lib/libprivatessh.so.5
/usr/lib/libprivatessh_p.a
/usr/lib/libprivateunbound.so.5
/usr/lib/libssl.a
/usr/lib/libssl.so.8
/usr/lib/libssl_p.a
/usr/lib/libvmmapi.a
/usr/lib/libvmmapi.so.5
/usr/lib/libvmmapi_p.a
/usr/lib32/libc.a
/usr/lib32/libc.so.7
/usr/lib32/libc_p.a
/usr/lib32/libcrypto.a
/usr/lib32/libcrypto.so.8
/usr/lib32/libcrypto_p.a
/usr/lib32/libfetch.so.6
/usr/lib32/libhx509.so.11
/usr/lib32/libmp.so.7
/usr/lib32/libprivatessh.a
/usr/lib32/libprivatessh.so.5
/usr/lib32/libprivatessh_p.a
/usr/lib32/libprivateunbound.so.5
/usr/lib32/libssl.a
/usr/lib32/libssl.so.8
/usr/lib32/libssl_p.a
/usr/libexec/dma
/usr/libexec/sendmail/sendmail
/usr/libexec/telnetd
/usr/libexec/ypxfr
/usr/sbin/arp
/usr/sbin/auditdistd
/usr/sbin/bhyve
/usr/sbin/bhyveload
/usr/sbin/hostapd
/usr/sbin/ifmcstat
/usr/sbin/ndp
/usr/sbin/ntp-keygen
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc
/usr/sbin/ntptime
/usr/sbin/sntp
/usr/sbin/sshd
/usr/sbin/unbound
/usr/sbin/unbound-anchor
/usr/sbin/unbound-control
/usr/sbin/wpa_supplicant
/usr/sbin/yppush
/usr/sbin/zdump
/usr/sbin/zic
/usr/share/doc/ntp/copyright.html
/usr/share/doc/ntp/drivers/driver40.html
/usr/share/doc/ntp/miscopt.html
/usr/share/doc/ntp/ntp-keygen.html
/usr/share/doc/ntp/ntp.conf.html
/usr/share/doc/ntp/ntp.keys.html
/usr/share/doc/ntp/ntpsnmpd.html
/usr/share/locale/en_US.UTF-8/LC_CTYPE
/usr/share/locale/ja_JP.SJIS/LC_CTYPE
/usr/share/locale/ja_JP.eucJP/LC_CTYPE
/usr/share/locale/ko_KR.eucKR/LC_CTYPE
/usr/share/locale/zh_CN.GB18030/LC_CTYPE
/usr/share/locale/zh_CN.GB2312/LC_CTYPE
/usr/share/locale/zh_CN.GBK/LC_CTYPE
/usr/share/locale/zh_CN.eucCN/LC_CTYPE
/usr/share/locale/zh_TW.Big5/LC_CTYPE
/usr/share/man/man1/ssh-agent.1.gz
/usr/share/man/man5/ntp.conf.5.gz
/usr/share/man/man5/ntp.keys.5.gz
/usr/share/man/man8/ntp-keygen.8.gz
/usr/share/man/man8/ntpd.8.gz
/usr/share/man/man8/ntpdc.8.gz
/usr/share/man/man8/ntpq.8.gz
/usr/share/man/man8/sntp.8.gz
/usr/share/man/mandoc.db
/usr/share/openssl/man/*

---- [snipped] An additional ~2000 man pages installed ---

src component not installed, skipped
Installing updates... done.
Testing SRV response to iocage-plugins
Testing DNSSEC response to iocage-plugins

Installing pkg...
Installing supplied packages:
  - sysutils/linux-crashplan...
b'Message from linux_base-c6-6.8_12:\nSome programs need linprocfs mounted on /compat/linux/proc.  Add the\nfollowing line to /etc/fstab:\n\nlinprocfs   /compat/linux/proc\tlinprocfs\trw\t0\t0\n\nThen run "mount /compat/linux/proc".\n\nSome programs need tmpfs mounted on /compat/linux/dev/shm.  Add the\nfollowing line to /etc/fstab:\n\ntmpfs	/compat/linux/dev/shm\ttmpfs\trw,mode=1777\t0\t0\n\nThen run "mount /compat/linux/dev/shm".\nMessage from linux-oracle-jdk18-8.131:\n======================================================================\n\nWarning: This JDK may be unstable. You are advised to use the native\nFreeBSD 1.8 JDK, in ports/java/openjdk8.\n\nThis Java VM will attempt to obtain some system information by\naccessing files in linux\'s procfs.  You must install the Linux\nemulation procfs filesystem for this to work correctly.  The JVM\nwill exhibit various problems otherwise.  This can be accomplished\nby adding the following line to your /etc/fstab file:\n\n linprocfs   /compat/linux/proc   linprocfs   rw   0  0\n\nand then, as root, executing the commands:\n\nkldload linprocfs\nmount /compat/linux/proc\n\n======================================================================\nMessage from linux-crashplan-4.7.0_1:\nFor users upgrading from previous versions of CrashPlan, note that the headless\nmode configuration has been changed significantly and older clients will no\nlonger connect. Please check the Code42 website for up to date instructions on\nsetting up a headless CrashPlan server.\n\nOn FreeBSD, the authentication token file can be found in\n/compat/linux/var/lib/CrashPlan/.ui_info\n'
Fetching artifact...
Running post_install.sh

Command output:
sshd_enable: NO -> YES
crashplan_enable:  -> YES
Root Password: IF02u79CurUZrtYI
Generating RSA host key.
2048 SHA256:stdhF/JXyzc9/cYWk00a82l40CMurxp86Ok8xf4KkLI root@42a9cc90-88f8-4158-ad9b-e7102709b4a8 (RSA)
Generating ECDSA host key.
256 SHA256:BIWk/ySS9tdSMYilTmJDVgV43gWusXoi95HnccR3LW4 root@42a9cc90-88f8-4158-ad9b-e7102709b4a8 (ECDSA)
Generating ED25519 host key.
256 SHA256:CR+ID3WoNMiCwy6ZA7YMtAMAN6h7KmvZdCqMiX99SQw root@42a9cc90-88f8-4158-ad9b-e7102709b4a8 (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
Starting CrashPlan Engine ... Using standard startup
OK
 
Last edited:

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
@ajschot Per @Kris Moore's reply:

You aren't supposed to checkout the entire repo. Instead look at the README and you can use a command like the following:
  • iocage fetch --plugins ip4_addr="igb0|192.168.0.91/24"
    • Replace igb0 and the IP address with your preference.

Just an FYI: Corral is shelved and it is not stable, and even more importantly, will not receive any bug fixes or security patches from 4/12 forward.


@ajschot This is what should be output:
  • NOTE: The IP should be the IP you want the jail to have, NOT the IP of the FreeNAS server.
    • If the IP of the server is used, and you employ a decent router firewall, it's likely the traffic for the fetch command will be rejected/dropped due to spoofing of the server's IP.
Code:
[root@teMe] /mnt/nas-system # iocage fetch --plugins ip4_addr="igb1|192.168.2.10"
[0] BitTorrent Sync - Resilient, fast and scalable file sync software for enterprises and individuals. (btsync)
[1] CouchPotato - CouchPotato is an automatic NZB and torrent downloader. (couchpotato)
[2] Crashplan - Computer backup and data storage made simple. (crashplan)
[3] Emby - Home media server built using mono and other open source technologies (emby)
[4] GitLab - Powerful features for modern software development (gitlab)
[5] Jenkins - Jenkins CI (jenkins)
[6] Jenkins (LTS) - Jenkins CI (Long Term Support Version) (jenkins-lts)
[7] NextCloud - Access, share and protect your files, calendars, contacts, communication & more at home and in your enterprise. (nextcloud)
[8] Plex Media Server - The Plex media server system (plexmediaserver)
[9] Plex Media Server (PlexPass) - The Plex media server system (plexmediaserver-plexpass)
[10] Quasselcore - Quassel Core is a daemon/headless IRC client, part of Quassel, that supports 24/7 connectivity. Quassel Client can be attached to it to. (quasselcore)
[11] SubSonic - Open-source web-based media streamer and jukebox. (subsonic)
[12] Syncthing - Personal cloud sync (syncthing)

Which plugin do you want to create? (EXIT) 2
Plugin: Crashplan
  Using RELEASE: 11.0-RELEASE
  Post-install Artifact: https://github.com/freenas/iocage-plugin-crashplan.git
  These pkgs will be installed:
	- sysutils/linux-crashplan
Release 11.0-RELEASE missing, will attempt to fetch it.
Fetching: 11.0-RELEASE

Downloading: MANIFEST: 100% 5.26Kbit/s Elapsed: 00:00 Remaining: 00:00
Downloading: base.txz: 100% 4.42Mbit/s Elapsed: 00:21 Remaining: 00:00
Downloading: lib32.txz: 100% 3.86Mbit/s Elapsed: 00:04 Remaining: 00:00
Downloading: doc.txz: 100% 1.27Mbit/s Elapsed: 00:01 Remaining: 00:00
Extracting: base.txz...
Extracting: lib32.txz...
Extracting: doc.txz...

* Updating 11.0-RELEASE to the latest patch level...
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from update4.freebsd.org... done.
Fetching metadata signature for 11.0-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 984 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600....610....620....630....640....650....660....670....680....690....700....710....720....730....740....750....760....770....780....790....800....810....820....830....840....850....860....870....880....890....900....910....920....930....940....950....960....970....980.. done.
Applying patches... done.
Fetching 6 files... done.

The following files will be removed as part of updating to 11.0-RELEASE-p10:
/usr/share/zoneinfo/America/Santa_Isabel
/usr/share/zoneinfo/Asia/Rangoon

The following files will be added as part of updating to 11.0-RELEASE-p10:
/usr/share/zoneinfo/Asia/Barnaul
/usr/share/zoneinfo/Asia/Famagusta
/usr/share/zoneinfo/Asia/Tomsk
/usr/share/zoneinfo/Asia/Yangon
/usr/share/zoneinfo/Europe/Astrakhan
/usr/share/zoneinfo/Europe/Kirov
/usr/share/zoneinfo/Europe/Ulyanovsk

The following files will be updated as part of updating to 11.0-RELEASE-p10:
/bin/freebsd-version
/boot/gptboot
/boot/gptzfsboot
/boot/loader
/boot/pxeboot
/boot/zfsloader
/lib/libc.so.7
/lib/libcrypto.so.8
/rescue/[
/rescue/atmconfig
/rescue/badsect
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
/rescue/fdisk
/rescue/fsck
/rescue/fsck_4.2bsd
/rescue/fsck_ffs
/rescue/fsck_msdosfs
/rescue/fsck_ufs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/getfacl
/rescue/glabel
/rescue/gpart
/rescue/groups
/rescue/gunzip
/rescue/gzcat
/rescue/gzip
/rescue/halt
/rescue/head
/rescue/hostname
/rescue/id
/rescue/ifconfig
/rescue/init
/rescue/ipf
/rescue/iscsictl
/rescue/iscsid
/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rcp
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/sleep
/rescue/spppcontrol
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zpool
/sbin/ifconfig
/sbin/ipftest
/sbin/route
/usr/bin/apropos
/usr/bin/dc
/usr/bin/factor
/usr/bin/hxtool
/usr/bin/localedef
/usr/bin/makewhatis
/usr/bin/mandoc
/usr/bin/ntpq
/usr/bin/openssl
/usr/bin/slogin
/usr/bin/ssh
/usr/bin/ssh-agent
/usr/bin/svnlite
/usr/bin/svnlitebench
/usr/bin/svnlitemucc
/usr/bin/svnliterdump
/usr/bin/svnlitesync
/usr/bin/whatis
/usr/include/openssl/evp.h
/usr/include/openssl/opensslv.h
/usr/include/sys/eventhandler.h
/usr/lib/libc.a
/usr/lib/libc_p.a
/usr/lib/libc_pic.a
/usr/lib/libcrypto.a
/usr/lib/libcrypto_p.a
/usr/lib/libfetch.so.6
/usr/lib/libhx509.so.11
/usr/lib/libmp.so.7
/usr/lib/libprivatessh.a
/usr/lib/libprivatessh.so.5
/usr/lib/libprivatessh_p.a
/usr/lib/libprivateunbound.so.5
/usr/lib/libssl.a
/usr/lib/libssl.so.8
/usr/lib/libssl_p.a
/usr/lib/libvmmapi.a
/usr/lib/libvmmapi.so.5
/usr/lib/libvmmapi_p.a
/usr/lib32/libc.a
/usr/lib32/libc.so.7
/usr/lib32/libc_p.a
/usr/lib32/libcrypto.a
/usr/lib32/libcrypto.so.8
/usr/lib32/libcrypto_p.a
/usr/lib32/libfetch.so.6
/usr/lib32/libhx509.so.11
/usr/lib32/libmp.so.7
/usr/lib32/libprivatessh.a
/usr/lib32/libprivatessh.so.5
/usr/lib32/libprivatessh_p.a
/usr/lib32/libprivateunbound.so.5
/usr/lib32/libssl.a
/usr/lib32/libssl.so.8
/usr/lib32/libssl_p.a
/usr/libexec/dma
/usr/libexec/sendmail/sendmail
/usr/libexec/telnetd
/usr/libexec/ypxfr
/usr/sbin/arp
/usr/sbin/auditdistd
/usr/sbin/bhyve
/usr/sbin/bhyveload
/usr/sbin/hostapd
/usr/sbin/ifmcstat
/usr/sbin/ndp
/usr/sbin/ntp-keygen
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc
/usr/sbin/ntptime
/usr/sbin/sntp
/usr/sbin/sshd
/usr/sbin/unbound
/usr/sbin/unbound-anchor
/usr/sbin/unbound-control
/usr/sbin/wpa_supplicant
/usr/sbin/yppush
/usr/sbin/zdump
/usr/sbin/zic
/usr/share/doc/ntp/copyright.html
/usr/share/doc/ntp/drivers/driver40.html
/usr/share/doc/ntp/miscopt.html
/usr/share/doc/ntp/ntp-keygen.html
/usr/share/doc/ntp/ntp.conf.html
/usr/share/doc/ntp/ntp.keys.html
/usr/share/doc/ntp/ntpsnmpd.html
/usr/share/locale/en_US.UTF-8/LC_CTYPE
/usr/share/locale/ja_JP.SJIS/LC_CTYPE
/usr/share/locale/ja_JP.eucJP/LC_CTYPE
/usr/share/locale/ko_KR.eucKR/LC_CTYPE
/usr/share/locale/zh_CN.GB18030/LC_CTYPE
/usr/share/locale/zh_CN.GB2312/LC_CTYPE
/usr/share/locale/zh_CN.GBK/LC_CTYPE
/usr/share/locale/zh_CN.eucCN/LC_CTYPE
/usr/share/locale/zh_TW.Big5/LC_CTYPE
/usr/share/man/man1/ssh-agent.1.gz
/usr/share/man/man5/ntp.conf.5.gz
/usr/share/man/man5/ntp.keys.5.gz
/usr/share/man/man8/ntp-keygen.8.gz
/usr/share/man/man8/ntpd.8.gz
/usr/share/man/man8/ntpdc.8.gz
/usr/share/man/man8/ntpq.8.gz
/usr/share/man/man8/sntp.8.gz
/usr/share/man/mandoc.db
/usr/share/openssl/man/*

---- [snipped] An additional ~2000 man pages installed ---

src component not installed, skipped
Installing updates... done.
Testing SRV response to iocage-plugins
Testing DNSSEC response to iocage-plugins

Installing pkg...
Installing supplied packages:
  - sysutils/linux-crashplan...
b'Message from linux_base-c6-6.8_12:\nSome programs need linprocfs mounted on /compat/linux/proc.  Add the\nfollowing line to /etc/fstab:\n\nlinprocfs   /compat/linux/proc\tlinprocfs\trw\t0\t0\n\nThen run "mount /compat/linux/proc".\n\nSome programs need tmpfs mounted on /compat/linux/dev/shm.  Add the\nfollowing line to /etc/fstab:\n\ntmpfs	/compat/linux/dev/shm\ttmpfs\trw,mode=1777\t0\t0\n\nThen run "mount /compat/linux/dev/shm".\nMessage from linux-oracle-jdk18-8.131:\n======================================================================\n\nWarning: This JDK may be unstable. You are advised to use the native\nFreeBSD 1.8 JDK, in ports/java/openjdk8.\n\nThis Java VM will attempt to obtain some system information by\naccessing files in linux\'s procfs.  You must install the Linux\nemulation procfs filesystem for this to work correctly.  The JVM\nwill exhibit various problems otherwise.  This can be accomplished\nby adding the following line to your /etc/fstab file:\n\n linprocfs   /compat/linux/proc   linprocfs   rw   0  0\n\nand then, as root, executing the commands:\n\nkldload linprocfs\nmount /compat/linux/proc\n\n======================================================================\nMessage from linux-crashplan-4.7.0_1:\nFor users upgrading from previous versions of CrashPlan, note that the headless\nmode configuration has been changed significantly and older clients will no\nlonger connect. Please check the Code42 website for up to date instructions on\nsetting up a headless CrashPlan server.\n\nOn FreeBSD, the authentication token file can be found in\n/compat/linux/var/lib/CrashPlan/.ui_info\n'
Fetching artifact...
Running post_install.sh

Command output:
sshd_enable: NO -> YES
crashplan_enable:  -> YES
Root Password: IF02u79CurUZrtYI
Generating RSA host key.
2048 SHA256:stdhF/JXyzc9/cYWk00a82l40CMurxp86Ok8xf4KkLI root@42a9cc90-88f8-4158-ad9b-e7102709b4a8 (RSA)
Generating ECDSA host key.
256 SHA256:BIWk/ySS9tdSMYilTmJDVgV43gWusXoi95HnccR3LW4 root@42a9cc90-88f8-4158-ad9b-e7102709b4a8 (ECDSA)
Generating ED25519 host key.
256 SHA256:CR+ID3WoNMiCwy6ZA7YMtAMAN6h7KmvZdCqMiX99SQw root@42a9cc90-88f8-4158-ad9b-e7102709b4a8 (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
Starting CrashPlan Engine ... Using standard startup
OK
@zoomzoom
wow... stupid mistake! ip of the jail that is were i made the mistake indeed i filled in the FreeNAS ip, thanks!

EDIT:
Still getting an error when trying to install crashplan... I will try other plugins

EDIT2: Looks like some problem with missing linux base system... i do'nt understand but i will try with clean install of fn11

EDIT3: clean fn11 (RC2) does not make any difference
Code:
Testing DNSSEC response to iocage-plugins									
																				
Installing pkg...															
Installing supplied packages:												
  - sysutils/linux-crashplan...												
ELF binary type "3" not known.												
ELF binary type "0" not known.												
ELF binary type "0" not known.												
Cannot install package: kernel missing 64-bit Linux support					
/bin/sh: /compat/linux/usr/sbin/ldconfig: Exec format error					
/bin/sh: /compat/linux/usr/bin/gio-querymodules-32: Exec format error		
/bin/sh: /compat/linux/usr/bin/gio-querymodules-64: Exec format error		
pkg: POST-INSTALL script failed												
Cannot install package: kernel missing Linux support							
pkg: PRE-INSTALL script failed												
pkg error, refusing to fetch artifact and run post_install.sh!	
 
Last edited:
Status
Not open for further replies.
Top