January 21, 20188 yr Just now, CHBMB said: Not really a fan of starting to add random plugins to containers. You could create a subfolder in duplicati appdata called dupreport and call the script using user.scripts docker exec -it duplicati /path/to/python /config/dupreport/dupReport.py Never though of doing it that way - have user.scripts already - will be easty to do - thanks for the idea Myk
January 23, 20188 yr ended up running it on unRaid instead of in the docker - since it does not have to be on the same machine, I didn't check if python3 was installed in the docker, but was easy with nerd tools and the user scripts plugin Myk
January 24, 20188 yr ended up running it on unRaid instead of in the docker - since it does not have to be on the same machine, I didn't check if python3 was installed in the docker, but was easy with nerd tools and the user scripts plugin Myk IIRC python is installed in the container, but it may not be apparent as it's in the base image.Sent from my LG-H815 using Tapatalk
January 24, 20188 yr is it better to run it in or outside the docker container?Dude, half my free time is taken up being involved in a docker centric project....What do you think my answer is going to be? Although in all seriousness, as long as it works it shouldn't matter, but I'd feel better personally if it were sandboxed to a degree within the container, and I suppose that has some advantages so if the container isn't running you won't have a script on your host os running that doesn't need to be.Sent from my LG-H815 using Tapatalk
January 24, 20188 yr will have to run it outside - does not look like python3 is installed in the container root@729a54ad7f7d:/usr/bin# ls -la py* -rwxr-xr-x 1 root root 4123 Dec 10 2015 pyclean -rwxr-xr-x 1 root root 11894 Dec 10 2015 pycompile lrwxrwxrwx 1 root root 8 Dec 10 2015 pydoc -> pydoc2.7 -rwxr-xr-x 1 root root 79 Dec 4 18:11 pydoc2.7 lrwxrwxrwx 1 root root 12 Dec 10 2015 pygettext -> pygettext2.7 -rwxr-xr-x 1 root root 22097 Dec 4 18:11 pygettext2.7 lrwxrwxrwx 1 root root 9 Dec 10 2015 python -> python2.7 lrwxrwxrwx 1 root root 9 Dec 10 2015 python2 -> python2.7 -rwxr-xr-x 1 root root 3492656 Dec 4 18:14 python2.7 lrwxrwxrwx 1 root root 29 Dec 10 2015 pyversions -> ../share/python/pyversions.py root@729a54ad7f7d:/usr/bin# pyversions --installed python2.7 myk
January 24, 20188 yr 6 minutes ago, MyKroFt said: will have to run it outside - does not look like python3 is installed in the container root@729a54ad7f7d:/usr/bin# ls -la py* -rwxr-xr-x 1 root root 4123 Dec 10 2015 pyclean -rwxr-xr-x 1 root root 11894 Dec 10 2015 pycompile lrwxrwxrwx 1 root root 8 Dec 10 2015 pydoc -> pydoc2.7 -rwxr-xr-x 1 root root 79 Dec 4 18:11 pydoc2.7 lrwxrwxrwx 1 root root 12 Dec 10 2015 pygettext -> pygettext2.7 -rwxr-xr-x 1 root root 22097 Dec 4 18:11 pygettext2.7 lrwxrwxrwx 1 root root 9 Dec 10 2015 python -> python2.7 lrwxrwxrwx 1 root root 9 Dec 10 2015 python2 -> python2.7 -rwxr-xr-x 1 root root 3492656 Dec 4 18:14 python2.7 lrwxrwxrwx 1 root root 29 Dec 10 2015 pyversions -> ../share/python/pyversions.py root@729a54ad7f7d:/usr/bin# pyversions --installed python2.7 myk Hey Myk, Could try apt update && apt install python3 -y as the first line of your script Edited January 24, 20188 yr by CHBMB
January 24, 20188 yr 1 minute ago, MyKroFt said: apk not installed My bad, container is based on Xenial not Alpine. Edited my above post, try that.
January 24, 20188 yr So make a script in /config = script.sh apt update && apt install python3 -y /usr/bin/python3 /config/dupreport/dupReport.py docker exec -it duplicati /config/script.sh Think that should work.
February 19, 20188 yr Hi all, I am trying to get Duplicati working, however upon creation, when i go the the web ui the page just sits there spinning logs belowhttps://pastebin.com/MmnC43Gv https://pastebin.com/dzVX6Ld3 https://pastebin.com/hudfi9EL
February 19, 20188 yr 15 hours ago, Brettv said: Hi all, I am trying to get Duplicati working, however upon creation, when i go the the web ui the page just sits there spinning logs belowhttps://pastebin.com/MmnC43Gv https://pastebin.com/dzVX6Ld3 https://pastebin.com/hudfi9EL Not sure what to say, everything looks ok in the logs, fresh pull on my machine works fine. Tried a different browser?
February 19, 20188 yr of course......... explorer works fine.......! any reason you could think of why it's cracking it with chrome?
February 19, 20188 yr disregard, something to do with cookies, i cleared them and now its ok thanks! and sorry for the trouble, hate it when its something so simple
February 20, 20188 yr Hey, I'm wanting to backup my Share of 1.09Tb of Photos to the cloud. I have come across Duplicati that looks like it could do this but I am confused with the install. When installing, the form is asking me to enter locations for each of the following. Where do I point them to and what is each one for? - /tmp- /backup- /source Thanks,Neil Edited February 21, 20188 yr by rctneil Fix typo
February 22, 20188 yr Tmp = temporary storage Source = location of files you want to back upBackup = Destination of any incoming backups You can call these mount points anything you want, add more or remove them as you see fit. Take a look at the docker FAQ if you're struggling to get your head around mount points.Sent from my LG-H815 using Tapatalk
February 26, 20188 yr ... regarding a saved backup job, obviously its first run would be a full, but is each scheduled run after that an incremental type backup or is it running a full backup each time?
March 4, 20188 yr I think the latest update is competing with threads. I'm getting this error. Quote SIGABRT: abortPC=0x760397 m=3 sigcode=18446744073709551610goroutine 0 [idle]:goroutine 1 [chan receive, locked to thread]:runtime.gopark(0x859a90, 0xc42005c058, 0x8460e2, 0xc, 0xc420014017, 0x3)/usr/local/go/src/runtime/proc.go:271 +0x13aruntime.goparkunlock(0xc42005c058, 0x8460e2, 0xc, 0x17, 0x3)/usr/local/go/src/runtime/proc.go:277 +0x5eruntime.chanrecv(0x7c5a80, 0xc42005c000, 0x0, 0xc42004ff01, 0x417881)/usr/local/go/src/runtime/chan.go:513 +0x371runtime.chanrecv1(0x7c5a80, 0xc42005c000, 0x0)/usr/local/go/src/runtime/chan.go:395 +0x35runtime.gcenable()/usr/local/go/src/runtime/mgc.go:213 +0x84runtime.main()/usr/local/go/src/runtime/proc.go:151 +0x12aruntime.goexit()/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1goroutine 17 [syscall, locked to thread]:runtime.goexit()/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1rax 0x0rbx 0xc257c8rcx 0x760397rdx 0x6rdi 0x2d74rsi 0x3a01rbp 0x877ae2rsp 0x14645f046868r8 0xar9 0x14645f047700r10 0x8r11 0x206r12 0x1464580008c0r13 0x34r14 0x0r15 0xf3rip 0x760397rflags 0x206cs 0x33fs 0x0gs 0x0runtime/cgo: pthread_create failed: Resource temporarily unavailable
March 11, 20188 yr On 22/2/2018 at 7:09 PM, CHBMB said: Tmp = temporary storage Source = location of files you want to back up Backup = Destination of any incoming backups You can call these mount points anything you want, add more or remove them as you see fit. Take a look at the docker FAQ if you're struggling to get your head around mount points. Sent from my LG-H815 using Tapatalk What would be the best strategy to bakcup the files to a local share (NFS) or to an external HDD? I guess the first case would work out of the box but what about the second? Do I have to passthrough the HD to the container? How?
March 12, 20188 yr On 11/03/2018 at 7:15 PM, L0rdRaiden said: What would be the best strategy to bakcup the files to a local share (NFS) or to an external HDD? I guess the first case would work out of the box but what about the second? Do I have to passthrough the HD to the container? How? Mount the HDD with UD and then edit the docker container template and add a new mapping with this the mount point of the ext drive.
March 13, 20188 yr 12 hours ago, CHBMB said: Mount the HDD with UD and then edit the docker container template and add a new mapping with this the mount point of the ext drive. I have found how how to do it for a VM but can I passthrough a USB port to a docker container?
March 13, 20188 yr I have found how how to do it for a VM but can I passthrough a USB port to a docker container?You don't need to I don't think, mount the drive with Unassigned Devices.Sent from my LG-H815 using Tapatalk
March 13, 20188 yr 5 hours ago, CHBMB said: You don't need to I don't think, mount the drive with Unassigned Devices. Sent from my LG-H815 using Tapatalk I know but I don't want to have it as part of the array, I want to have it as an external HDD in NTFS probably. Is this possible?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.