dorucrisan
Verified User
It does work normally with Centos 7 though. When using AL8 it does not connect to NAS using exactly same settings and credentials. Ideas? Anybody tried? I am referring to Admin/Backup Transfer function in Admin mode.
I did not specifically open any port but i tried to ping the nas from the server and it responds. It just do not connect during restore procedure using correct credentials. Will do another fresh install today. I can't understand why I have so much trouble now, as I have done dozens of DA installs, all without any issue. Will do another fresh install of AL8+DA and report. Will also check anything requiered. If not solved, I will pass the credentials to anybody may help to test. Thank you so much in advance.Ports in Firewall are open?
It is weird. I need the restore from NAS to work, I installed Centos 7 and it works. Does not work with Alma 8, does not connect.Could be due to a lot of different things. It “should” work. The most likely issue is either a firewall blocking port(s) or a passive/active misconfiguration.
Please where exactly can I find the relevant lines in Alma 8? Thank you. On the other hand there is a Synology NAS that works fine with anything else. On Centos 7 there was no need for any manual setting for FTP restore to work after basic default install.The OS is irrelevant other than any default packages and their default configuration. For example the ftp client on one might default to active ftp vs passive and that would cause it to fail. I think the ONLY to help you, is for you to post the relevant lines ftp the log file on both sides of the transaction so we can see the actual error.
In another OS it might be that some instance of firewalld or nftables is active.Does not work with Alma 8, does not connect.
systemctl status firewalld
systemctl status nftables
iptables -L
Thanks yes I know but Synology provides public name, like myname.synology.me. There is no need to port forward. It works with Centos 7 both with Direct Admin and Cpanel. I don't know what the problem is. I brought from office another machine (the 3-rd) to make another install of Alma8+DA. Will see how it works but I do not think problem is machine related. I don't know what I am doing wrong if I am the only one that fails with Alma8 +DA. Any Centos7 install I am doing fully works. On Alma, the green "NEXT STEP" button is grey, inactive, as server cannot connect to NAS. Screen shot is taken from Centos install that works.In another OS it might be that some instance of firewalld or nftables is active.
You have to check that as root in SSH like this for example:
systemctl status firewalld systemctl status nftables
Could be some iptables default is running, check like this:
iptables -L
Normally to connect to a NAS at home, you need port forwards and PASV ports for FTP.
A public name is something totally different than port forwards.There is no need to port forward.
Hello, I thought about that but that is only possible with port forward as server is connected before the router, in public network, connected to a switch and NAS is on a router output port, on local network. The NAS has local IP, like 192.168.... If it does work with Centos & why does not work on Alma, that is my problem, Installing Alma now again on another machine.A public name is something totally different than port forwards.
If you don't need port forwards, then you probably have uPnP active on your modem, which is not the best idea.
If this is a screenshot of a DA Centos 7 server then it looks good. However, I wonder why the Synology uses a /root/ path.
I'm also doing backups to a NAS, but in my case I just have a seperate user account on the NAS, purely for FTP backup from the server.
So in my case the backups go to remote path /user/mycompany/backups so to speak.
Which is also safer, because I don't have to use a root or admin account on my NAS. This goes for both my Qnap and my Asustor NAS. The Qnap can be fairly compared to the Synology. Asustor is not much different though.
Have you tried changing your domain.synology.me to your ip address (just to test) and see if the "next step" is getting green in that case?
Anyway, what you have to do to fix this, is go into SSH and try commands and see whats wrong. Try to make an FTP connection manually to your NAS, see what error notices you get if any. That can point to the cause.
When a cause is known, then a fix probably will be not difficult.
There may be in some logs but I do not know where to look for them. Any idea which log to check? Thanks.Do you have any log files that show the ftp attempting to connect? Knowing EXACTLY what the error is will help in determining what your issue is, or at least help us to pinpoint if it is a firewall issue or something else. I do not think reinstalling the OS is going to do anything to help fix the issue if the same wrong configuration is installed again. Look at ALL of your log files, without them everyone can only guess what your issue is.
First of all, please don't quote all full posts. Just use the quick reply box below instead of the "reply" link.There may be in some logs but I do not know where to look for them. Any idea which log to check? Thanks.
Yes, which makes it necessary to create a port forward from your public (internet) ip to your local ip the NAS is running on.The NAS has local IP, like 192.168....
I tried that before and it is working. It is strange, I use the public name for the Synology NAS (xxxx.synology.me), and here, at home, with Alma 8, it can connect to local NAS, but it cannot connect to exactly same NAS I have at the office. The Centos 7 DA server I have at the office can connect both to the NAS there and the one I have at home.That is odd. If you installed and used the same way, it should not give any issues as DA is using the same ports on Alma 8 and Centos 7.
Could you try to see if it makes any difference if you use /home/admin/admin_backups as the restore path?
Maybe that can narrow the issue a bit.
If that won't help either, I would suggest sending in a ticket.
Problem is that you can't compare systems on different locations, because the office and home can have different firewall or other settings.The Centos 7 DA server I have at the office can connect both to the NAS there and the one I have at home.
If that works, then it looks as if it some user/owner/permission issue. As the problem is not that no connection is made, the problem is that curl can't change to a different directory.I tried that before and it is working.