[Support] ich777 - Application Dockers


ich777

1002 posts in this topic Last Reply

Recommended Posts

 

Hi,

 

thanks for the Fast Response (nix zu tun am Feiertag ? :-)).

Regarding the Container.... That's why I wrote "your Package of ... ".

Anyway. Where do I habe to add (-f"").

 

 

Link to post
  • Replies 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

@6of6 & @rockard Please force a update of the Container, was completely my fault in the case of luckyBackup! Everything is now working again.

I had a *lot* of issues with the SQLite database in photoprism actually, lots of "database is locked" errors. After switching it out to MariaDB it just works and everything is much much faster now as

Dockers Available so far:   DirSyncPro: very strong synchronization tool that's highly customizable and schedulable (Docker comes with WebGUI, SMB, FTP & WebDAV support and with encry

Posted Images

7 minutes ago, batesman73 said:

Anyway. Where do I habe to add (-f"").

Don't forget the space between f and ".

In the template switch on the top right corner to the advanced view and insert it at "Post Arguments".

 

9 minutes ago, batesman73 said:

nix zu tun am Feiertag

Chillen mit meinem kleinen Sohn. ;)

Link to post

Hi, there.

Still not finished with the OpenVPN-Client. ;-(

Is there a way to submit the Variable "NORDVPN_COUNTRY" ?

I tried to do that as additional Host key but is has no effect.

Any ideas ?

Link to post
7 minutes ago, batesman73 said:

Is there a way to submit the Variable "NORDVPN_COUNTRY" ?

No because the container doesn't support that.

I'm really not that familiar with NordVPN but haven't they not also got preconfigured OpenVPN configs that you can drop in the Containers folder and then simply start up the container with the config for lets say PaloAlto or something?

Link to post
Posted (edited)

Hi,

 

I think what you mean are the data for the server you are connected to.

But what I want to achieve is to set the "exit" from the VPN. Usually it's used to fake your location, let's say to get better access to Netflix or something.

 

EDIT I read through the NordVPN Pages and it seems that what you wrote ist generally the way for it. However. When I use a configuration file from Switzerland the Container receives an IP from there. But when using "checkmyipaddress" with a "testTorrent" I'm presented a UK based IP.

Strange.

Edited by batesman73
Updates
Link to post
29 minutes ago, batesman73 said:

think what you mean are the data for the server you are connected to.

But what I want to achieve is to set the "exit" from the VPN. Usually it's used to fake your location, let's say to get better access to Netflix or something.

As said above I'm not really familiar with NordVPN but it would be best to ask this question on the Github from the Container maintainer.

 

But if you choose a ovpn profile for lets say Palo Alto then you are "in" Palo Alto and if you quit the connection the other containers are not allowed to communicate anymore.

Link to post
On 4/30/2021 at 10:34 AM, stamina77 said:

surely i can wait, now I switch back to firefox docker to use vnc passwd certifacate, also thanks for the future update 

Please update the container and the method described earlier should just work fine, also the container now supports remote scaling for a sharper picture. ;)

Link to post
On 4/22/2021 at 11:26 AM, ich777 said:

I'm currently looking into this and this will take some time since I'm really busy at the moment, the permission issue is actually because I tried a workaround and that did not fix it, anyways you can ignore that for now.

 

EDIT: In one word, Cron isn't working for now with luckyBackup.

 

Just leaving a comment here, in hopes of getting notified once this gets fixed! :)

Just got into LuckyBackup myself, to create a remote backup for our main server. So far it's been working wonders.

 

Though, one thing I'd like to suggest, if it was possible to achieve:

Some kind of a progress bar per-file, or something similar?

When I backed up my AddData folder, which is a huge mess of multiple folders and a ton of smaller files, the timer of LuckyBackup got stuck for 10 hours. I wasn't completely sure if the whole thing was stuck, or if it was doing everything correctly in the background. (It was, but it just took a really long time)

 

Thanks! :)

Link to post
3 minutes ago, REllU said:

Just leaving a comment here, in hopes of getting notified once this gets fixed!

Yep, I will notify all that are posting here.

 

4 minutes ago, REllU said:

Some kind of a progress bar per-file, or something similar?

When I backed up my AddData folder, which is a huge mess of multiple folders and a ton of smaller files, the timer of LuckyBackup got stuck for 10 hours. I wasn't completely sure if the whole thing was stuck, or if it was doing everything correctly in the background. (It was, but it just took a really long time)

I only made the container for luckyBackup the source from luckyBackup is hosted on Sourceforge.

 

Have you disabled that checkbox: grafik.png.bab7223670bdf230489152d9b39172eb.png

 

If you disable this checkbox you see every single file that is transferred.

 

Trust me luckyBackup is very good at syncing the files and folders because it uses rsync as backend.

I backup my whole server with luckyBackup with the builtin ssh option itself and never had a single problem.

Link to post
3 minutes ago, ich777 said:

Yep, I will notify all that are posting here.

 

I only made the container for luckyBackup the source from luckyBackup is hosted on Sourceforge.

 

Have you disabled that checkbox: grafik.png.bab7223670bdf230489152d9b39172eb.png

 

If you disable this checkbox you see every single file that is transferred.

 

Trust me luckyBackup is very good at syncing the files and folders because it uses rsync as backend.

I backup my whole server with luckyBackup with the builtin ssh option itself and never had a single problem.

 

I think one of the main reasons I went with LuckyBackup, was rsync hah! (And also the fact that, this app seems to have been around for a long time)

 

Quiet mode was disabled, and now that I think of it, I don't think it was a file progress bar I was missing..

The main progress bar was showing 99%, I'm not quite sure what the app is doing at that point (checking the backed up files for changes or something?), but that's the point where it got stuck for 10 hours. File sizes don't seem to matter on this.

 

But, since you're not the one working on the app itself, I'll let you be! Thanks for the fast response, and I'll wait for the docker update :)

Link to post
6 minutes ago, REllU said:

Thanks for the fast response, and I'll wait for the docker update :)

No ETA on that but I try my best... :D

Got many other projects behind the curtains... :D

 

6 minutes ago, REllU said:

but that's the point where it got stuck for 10 hours. File sizes don't seem to matter on this.

That's really strange that shouldn't have happened, can you try to sync the files again, a incremental sync should not take that long...

Eventually something was blocking it from copying over a file or something similar?

To what did you backup the files over SMB with Unassigned Devices or on a direct attached storage device?

 

I went with the ssh connection because it's way more reliable but you have to put a little more work into it to get it going but when it runs it is rock solid. :)

Link to post
Posted (edited)
39 minutes ago, ich777 said:

No ETA on that but I try my best... :D

Got many other projects behind the curtains... :D

 

That's really strange that shouldn't have happened, can you try to sync the files again, a incremental sync should not take that long...

Eventually something was blocking it from copying over a file or something similar?

To what did you backup the files over SMB with Unassigned Devices or on a direct attached storage device?

 

I went with the ssh connection because it's way more reliable but you have to put a little more work into it to get it going but when it runs it is rock solid. :)

 

The AppData folder is a monster, and I'm not doing a backup for it on a daily basis, so it's _fine_

 

I'm running LuckyBackup between two UnRaid servers, that are on different locations.

The connection between the two is achieved with WireGuard (Server to Server configuration), and I'm using Unassigned Devices to mount the drive from the backup server.

 

I was reading through this tutorial:

https://www.spxlabs.com/blog/2020/10/2/unraid-to-remote-unraid-backup-server-with-wireguard-and-rsync

 

and it is showing you how to get the SSH connection to work, but I kind of want to have a GUI to easily see what's going on, and since I'm still rather new with server and network stuff in general (and the fact that I have a business to run!) I kind of just wanted to get things to work haha!

 

Wait no, the tutorial is not for SSH, BUT! The point still stands hah!

Edited by REllU
Link to post
14 minutes ago, REllU said:

and it is showing you how to get the SSH connection to work, but I kind of want to have a GUI to easily see what's going on, and since I'm still rather new with server and network stuff in general (and the fact that I have a business to run!) I kind of just wanted to get things to work haha!

Actually this is how I run luckyBackup, you also have a GUI but it is way more stable, at least in my experience (but I think it's a little slower but that's a minor annoyance, stability over speed :) ).

You take the key that is generated from the container that lives in ~/.ssh and install it on the remote machine and in luckyBackup you define also the keyfile for that key and now luckyBackup handles everything and you even don't need Unassigned Devices because it's transferred all over ssh. :)

 

EDIT: The tutorial is for ssh in combination with rsync, if you got time give it a try with luckyBackup. ;)

Link to post
4 minutes ago, ich777 said:

Actually this is how I run luckyBackup, you also have a GUI but it is way more stable, at least in my experience (but I think it's a little slower but that's a minor annoyance, stability over speed :) ).

You take the key that is generated from the container that lives in ~/.ssh and install it on the remote machine and in luckyBackup you define also the keyfile for that key and now luckyBackup handles everything and you even don't need Unassigned Devices because it's transferred all over ssh. :)

 

EDIT: The tutorial is for ssh in combination with rsync, if you got time give it a try with luckyBackup. ;)

 

Oh, I was wondering what all of that jazz was about the remote buttons within LuckyBackup!

I'll look into this more! (I'm not too big of a fan with the Unassigned Devices going through the internet, as that seems a bit sketchy to me at best)

 

Thanks!

Link to post
2 hours ago, ich777 said:

Actually this is how I run luckyBackup, you also have a GUI but it is way more stable, at least in my experience (but I think it's a little slower but that's a minor annoyance, stability over speed :) ).

You take the key that is generated from the container that lives in ~/.ssh and install it on the remote machine and in luckyBackup you define also the keyfile for that key and now luckyBackup handles everything and you even don't need Unassigned Devices because it's transferred all over ssh. :)

 

EDIT: The tutorial is for ssh in combination with rsync, if you got time give it a try with luckyBackup. ;)

 

Sorry for double posting!

I guess I need to do what you suggested here, since it looks like Unassigned Devices disconnects the mount randomly :(

I've just had it on for a few hours now, in a mounted state, and it has disconnected twice already.

 

I suppose you wouldn't have some extra time in your hands to do a bit of spoonfeeding for me on how to get the remote access to work within the LuckyBackup?

 

I've pretty much done everything within the tutorial I sent you the link for, up until the "Running RSYNC" section. So, if I've understood correctly, I pretty much already have an SSH connection between the two servers, and now I just need to setup LuckyBackup..

Link to post
25 minutes ago, REllU said:

I've pretty much done everything within the tutorial I sent you the link for, up until the "Running RSYNC" section. So, if I've understood correctly, I pretty much already have an SSH connection between the two servers, and now I just need to setup LuckyBackup..

Okay, sounds good if you can connect without a password from one server.

But what you have to actually do is that you take the key that is generated within the directory from luckyBackup, then not the server's talk to each other then luckyBackup talks to the other server.

 

+-----------+       +--------------+
|luckybackup| <---> |foreign server|
+-----------+       +--------------+

 

instead of:

 

+-----------+       +--------------+
|localserver| <---> |foreign server|
+-----------+       +--------------+

 

Hope that makes sense to you...

 

I run the luckyBackup on the server that is actually creating the backup from my local server but it will also work in the other direction.

 

EDIT: The keys should be located in .../appdata/luckybackup/.ssh

Hope that makes sense to you.

Link to post
Posted (edited)
24 minutes ago, ich777 said:

Okay, sounds good if you can connect without a password from one server.

But what you have to actually do is that you take the key that is generated within the directory from luckyBackup, then not the server's talk to each other then luckyBackup talks to the other server.

 



+-----------+       +--------------+
|luckybackup| <---> |foreign server|
+-----------+       +--------------+

 

instead of:

 



+-----------+       +--------------+
|localserver| <---> |foreign server|
+-----------+       +--------------+

 

Hope that makes sense to you...

 

I run the luckyBackup on the server that is actually creating the backup from my local server but it will also work in the other direction.

 

EDIT: The keys should be located in .../appdata/luckybackup/.ssh

Hope that makes sense to you.

 

Again, I'd just like to point out I'm still quite a noob when it comes to UnRaid stuff, so apologies!

 

I just found out that the .ssh folder is located within the flash-drive, instead of any share (which makes sense, I just wasn't aware of how to find these files before)

 

From there, I was able to find the "SiteA-rsync-key" file, which was generated from the tutorial, like so:

ssh-keygen -t rsa -b 2048 -f /root/.ssh/siteA-rsync-key

cp /root/.ssh/* /boot/config/ssh/

printf "#Copies all files needed for authorized ssh connections \nmkdir /root/.ssh \ncp /boot/config/ssh/* /root/.ssh/ \ncd /root/.ssh \nchmod 600 * \n" >> /boot/config/go

scp /root/.ssh/siteA-rsync-key.pub root@10.253.0.2:/root/

 

 

I'm guessing these would work fine with LuckyBackup as well, since this is how I got the WireGuard set up with Unassigned Devices.

 

And this is currently how I've set-up LuckyBackup:

LuckyBackup.thumb.PNG.602d505226318e38a1b15fab23904e2e.PNG

 

I'm sure I'm doing something silly here, and I'm just not seeing it.

With this kind of setup, the message I'm getting  into the log, is as follows:

Errors.thumb.PNG.5acc889f8b61351cb4aef20748571c4b.PNG

 

Thank you for the help so far, really appreciate it! :)

 

EDIT: Trying to SSH to the remote server does require a password from me. So I suppose that might be an issue here..?

Edited by REllU
Link to post
8 minutes ago, REllU said:

With this kind of setup, the message I'm getting  into the log, is as follows

Yes, there is something wrong with the setup of the ssh keys... :)

 

Can you give me a little more details where luckyBackup runs? Does it run on the side where you want to backup the files to or do you run luckyBackup on the machine where the files that you want to backup?

But I think the remote is the destination in your case?

 

Please keep in mind your Site A is luckyBackup (don't take the keys from the Host - you have to take the keys that are luckyBackup generated) and you have to give Site B the public key from Site A and within luckyBackup you have to choose your private certificate file.

Link to post
Posted (edited)
1 hour ago, ich777 said:

Yes, there is something wrong with the setup of the ssh keys... :)

 

Can you give me a little more details where luckyBackup runs? Does it run on the side where you want to backup the files to or do you run luckyBackup on the machine where the files that you want to backup?

But I think the remote is the destination in your case?

 

Please keep in mind your Site A is luckyBackup (don't take the keys from the Host - you have to take the keys that are luckyBackup generated) and you have to give Site B the public key from Site A and within luckyBackup you have to choose your private certificate file.

 

Server #1 is the Site A, and that's the one within the office. LuckyBackup is installed on this one. (Source)

Server #2 is the "dummy" server, that basically "just" has UnRaid on it, and that's about it. (Destination)

 

Do I actually need to install LuckyBackup on both machines to get this to work? 🤔

 

EDIT: I tried to do a quick test with just rsync through the terminal, and that seemed to work beautifully!

I'm thinking I might go with user-scripts and just create a few scripts for backing up everything.. But if I go that route, I need to figure out how to add excluded files/folders into those, as I don't want to backup _everything_

Edited by REllU
Link to post
17 hours ago, ich777 said:

Please update the container and the method described earlier should just work fine, also the container now supports remote scaling for a sharper picture. ;)

Thanks man, I update the image and follow the method, after I edit the password and the parameters, the docker seems failed to start, I couldn't connect to the server (before the password config, the containter is ok) .

Please check the log of the docker, it seems the docker fall into a loop but I cant figure out where the problem is. 

error.png

Link to post
26 minutes ago, stamina77 said:

Thanks man, I update the image and follow the method, after I edit the password and the parameters, the docker seems failed to start, I couldn't connect to the server (before the password config, the containter is ok) .

Please remove the created variable and try again, the container should then start fine, you have to create the password before you create the variable.

 

EDIT: Also are you sure that you entered: '$USER' (without quotes) before creating the password?

Link to post
46 minutes ago, REllU said:

Do I actually need to install LuckyBackup on both machines to get this to work? 🤔

No, why should you, luckyBackup is only a frontend for rsync.

Which files and from where have you put on which machines and in which folder?

 

I think you don't put the right files in the right place, that's the only error. ;)

 

46 minutes ago, REllU said:

I tried to do a quick test with just rsync through the terminal

That's because you are doing it from the terminal and you haven't read my message above at least not fully... :D

You have to put the ssh files that luckyBackup created on the other machine and you don't need all the files that you created with this tutorial, luckyBackup creates the files for location A on it's own. ;)

Link to post
20 minutes ago, ich777 said:

Please remove the created variable and try again, the container should then start fine, you have to create the password before you create the variable.

 

EDIT: Also are you sure that you entered: '$USER' (without quotes) before creating the password?

I tried to remove the variable and still couldnt connect , I strictly follow the process as the Firefox docker ( first su $user, than vncpassword, then add the variable) 

Link to post
9 minutes ago, stamina77 said:

$user

Not '$user' it have to be in capitals '$USER' and also not 'vncpassword' it has to be 'vncpasswd'.

 

You did it like in the Firefox container? Or like the new method?

The new method is described here:

 

 

If you can't connect anymore I would like to recommend to start over and delete the chrome directory that was created in your appdata directory and also in the first place the whole container, after that pull a fresh copy from the CA App.

Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.