Beiträge von Jaime

    I opened a terminal under winscp and ran that. I'm still not used to login into the nas command prompt so bear with me. If this is not correct let me know. This is what I got from here.


    /etc/apt$ apt-cache policy urbackup-server sqlite3
    urbackup-server:
    Installed: (none)
    Candidate: 2.1.19.1764-1
    Version table:
    2.1.19.1764-1 0
    500 https://dl.bintray.com/openmed…lugin-developers/erasmus/ jessie/main amd64 Packages
    2.0.38.1655-1 0
    500 https://dl.bintray.com/openmed…lugin-developers/erasmus/ jessie/main amd64 Packages
    2.0.36.1628-1 0
    500 https://dl.bintray.com/openmed…lugin-developers/erasmus/ jessie/main amd64 Packages
    sqlite3:
    Installed: (none)
    Candidate: 3.8.7.1-1+deb8u2
    Version table:
    3.16.2-3~bpo8+1 0
    100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
    3.8.7.1-1+deb8u2 0
    500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
    3.8.7.1-1+deb8u1 0
    500 http://security.debian.org/ jessie/updates/main amd64 Packages

    This is what it has. It looks like the same example above except I'm in the US.
    #



    # deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20161229-12:48]/ jessie contrib main non-free



    #deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20161229-12:48]/ jessie contrib main non-free



    deb http://ftp.us.debian.org/debian/ jessie main
    deb-src http://ftp.us.debian.org/debian/ jessie main



    deb http://security.debian.org/ jessie/updates main contrib non-free
    deb-src http://security.debian.org/ jessie/updates main contrib non-free



    # jessie-updates, previously known as 'volatile'
    deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
    deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free

    Nice, I finally got some problems sorted out here on my side. I got a new UPS, the old one was not staying on battery power, then I found out that the actual outlet was bad and had to be changed because it was just very old and too lose. After this, I notice with the nas on, tv, camera dvr and cameras, and chrome, and AP and the small switch, total power is about 90w. So it's nowhere near yours but I did have more things running. Now I just keep the nas and tv off until I need them. So it looks like it's only sipping 27 watts of power. So I guess it's not bad if I leave it off since I don't need it on all the time.

    I found my way here as I have built out a similar solution that you had listed in your blog (can't post comments there btw). Norco ITX-S8, AS-Rock C236. 400WPSU, 5x4TB HGST NAS drives.


    I'm able to get the BIOS screen (and I was able to install FreeNAS on a 2nd USB), but no drives are recognized. All the drives are lit, everything is plugged in...but the BIOS doesn't recognize them (I did do a direct connect to SATA Port 8 and it did see the drive).


    Did you have a similar issue when building out your solution?

    Hey slayer, the only thing I can think of when you say none of the hard drives are recognized is that maybe you got the wrong cable from the back plane to the sata ports. Make sure that you have the reverse cable for this case. If you don't then it will never see any of the drives. If that is correct make sure that you update the bios, it's the first thing I do just to make sure. Once you are there make sure to use the optimum defaults to start with. The other setting to check would be the drives in the bios. Don't turn that raid setting in the bios, just the sata settings. Use the software raid that comes with openmedia vault. I'm just going by memory, but you'll see the settings in the bios. If the drives work, then it's just something like what I mentioned. I would also check all the bays with the same sata cable to make sure all are working, then plug all the rest. You just have to make sure your back plane is fine before assuming it's all good. This is just what I did, so make sure you do too. Most likely it's fine, but I like to know for sure. I hope this helps.
    As for the comments on there, yeah I had problems with that too, I told them but I have no idea why that no longer works unfortunately.

    Thank you! I tried that before stopping the service and after. Neither worked, but this was my fault. I apparently forgot to enable job after creating it. I just noticed this and changed it. Everything worked fine after that. Man, I'm feeling old today. LOL. So for those are are just starting to use this, make sure that little circle is green before you start the scan.

    I was trying to scan one of my shares with the anivirus plugin and I got an error instead. This is the very first time I try scan anything. The settings are pretty much the defaults.
    Here's the text part since I can't get all of it in the window no matter how wide I make it.


    Error #0:exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export SHELL=/bin/sh; sudo --shell --non-interactive -- /var/lib/openmediavault/cron.d/clamdscan-46cbfa84-ff4a-41fe-aaaa-fb49d0813bf9 2>&1' with exit code '127': /bin/sh: 1: /var/lib/openmediavault/cron.d/clamdscan-46cbfa84-ff4a-41fe-aaaa-fb49d0813bf9: not found' in /usr/share/openmediavault/engined/rpc/clamav.inc:272Stack trace:#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMVRpcServiceClamAV->{closure}('/tmp/bgstatusVQ...', '/tmp/bgoutputYX...')#1 /usr/share/openmediavault/engined/rpc/clamav.inc(274): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#2 [internal function]: OMVRpcServiceClamAV->executeJob(Array, Array)#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('executeJob', Array, Array)#5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ClamAV', 'executeJob', Array, Array, 1)#6 {main}

    Hey guys! I finally got my friend to test out the ftp, but I was wondering, is there any way to get ftp stats? Meaning I have no way of seeing their connection or anything like that. I was trying to figure out how fast the transfers were, but there's nothing in the ftp plugin. He also said that when he tried it on from the browser, it also didn't tell him anything about the speed. So this is why I'm asking if we can get something like that on here. We did try a slightly bigger file and he said it would take about 20 minutes for like a 170 meg file which I thought was slow, but that may just be my internet connection. Well that was my deduction since the server is new and he has a faster line than I do. I also can't see who connected or when. So I just thought I mention it.

    I haven't tested that yet, but I think it will be fine. I need to go fix the clutch cylinder in my car so I haven't tested anything at the moment.

    Thanks Macom. Well I feel stupid now I think the router may have been what I used to get it at first, but that won't work if the server is off and I'm just thinking of the worst case scenario that I'm away somewhere and have to turn the server on and can't access the local desktop if I forget my password. :) You can't ssh to a server that is off either. I wanted to make an icon for the second nic and since this one didn't show in the OMV gui, I thought I ask. I'll see if the tool shows me the second nic. Thanks for the heads up on the search tool. I haven't used it that much so that looks pretty useful. The reason for trying to get the second nic set up is in case the cable ever gets plugged into the other port instead of where it was or if I ever need to have someone change it to the other port if I'm on the other side of the moon and need tech support. Again, assuming I'm somewhere else but you get the point.

    I was looking for the mac address under the webgui/network/interfaces, but when I hit edit, I don't see it anywhere. I noticed there is a "note" space there so I was trying to add it in there and got this message. I can't remember how I looked it up last time, but I wanted to have it in case I accidentally delete my WOL icon and have to re-create that again. I also have two nics and I'm only using one but I wanted to make another WOL icon for the second one as well. The WOL is the other program I use in windows. I'm attaching the error after trying to save that note with the mac address. I think I manged to revert back to what it was but I thought I show you this since I thought I note was just any text. Or if the mac address shows somewhere else please let me know. Thanks. By the way even though my nas has two nics, only one shows in the GUI. I like to turn my nas on and off remotely so this is the reason I'm looking into this.

    Can you please forward in your router the ftp port and the passive port range to te server.
    Also fill in the masquerade address your current public IP address or if you have a personal domain dynamically mapped to your router is also fine.
    Report back if then works with ftps from wan. Is correct to use explicit. Don't use implicit.

    Subzero79, thanks for the info. I believe I got it working now. I went ahead and put all the info in one port forwarding entry in the router, but apparently this router doesn't like it like that. So I had to add the range in one line and the individual port on another. It worked right after that. The range is the one with the colon in between and that's how this router uses that. As for the client I think I tried all of the settings and maybe the implicit was the last one I tried. I found I don't need to put in a masquerade address once I did it this way and it just worked. I do have a question on that IP, does that refer to the dyndns.com address for example or the router ip address from the isp? I don't have a domain server at home so I'm still not clear on what that one may be. Anyway, now I was able to type ftp://dyndns address:port number and it works fine from there too, so this is how I was able to also test it here. I just have to try to remember all these port numbers I'm using.


    gderf, I don't think I was able to get to that folder using sftp last time I tried. I only used root and that only went to the system c drive if I remember correctly. I wouldn't mind trying that if you have a short write up I can look up. I'm just glad I can actually use it now, so thanks for your help, I really appreciate it. I do rather use a more secure connection whenever possible. Eventhough my certificate is expired it still pops up. Is that any good?

    Can you please post here your configuration, in terminal as root


    omv-confdbadm read --prettify co
    nf.service.ftp

    Sure. Here it is...


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.



    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Aug 18 23:09:39 2017 from desktop3d
    root@nas8:~# omv-confdbadm read --prettify conf.service.ftp
    {
    "allowforeignaddress": false,
    "allowrestart": false,
    "anonymous": false,
    "displaylogin": "",
    "dynmasqrefresh": 0,
    "enable": true,
    "extraoptions": "",
    "identlookups": false,
    "limittransferrate": false,
    "masqueradeaddress": "",
    "maxclients": 5,
    "maxconnectionsperhost": 4,
    "maxdowntransferrate": 0,
    "maxloginattempts": 5,
    "maxpassiveports": 65534,
    "maxuptransferrate": 0,
    "minpassiveports": 49152,
    "modules": {
    "mod_ban": {
    "rule": []
    },
    "mod_tls": {
    "enable": true,
    "extraoptions": "",
    "nocertrequest": false,
    "nosessionreuserequired": false,
    "required": false,
    "sslcertificateref": "fa8034fd-6b0e-4235-874b-334249fd0c4a",
    "useimplicitssl": false
    }
    },
    "port": 2121,
    "requirevalidshell": false,
    "rootlogin": false,
    "shares": {
    "share": [
    {
    "comment": "",
    "enable": true,
    "extraoptions": "",
    "sharedfolderref": "5b5d2bf4-a4ec-40df-b87b-7215c04173c3",
    "uuid": "fba9285f-1e25-4249-ab11-b1e5fd6e1922"
    }
    ]
    },
    "timeoutidle": 1200,
    "transferlog": false,
    "usepassiveports": false,
    "usereversedns": false
    }

    Hi guys. I have been trying to set up ftp access for a friend of mine to my server. I have the account setup, the share access and all that good stuff. I have been at this for a while now. I have tried a lot of different things and so I'll just tell you what I have done so far because I have tried many different combination of things and nothing. Before that, I can tell you that locally I can ftp to the share fine. If I use the internal IP that is. Once I change that to the domain name(ddns), no access. I have forwarded the individual port and also used a range for passive access which I also enabled on the server with no luck. I have tried with and without passive mode on. I was using just ssl access so I went back and added the other ports to the router so I could check the non ssl access to the server which works fine. So I have checked that. I have used port 21, and others just to see if the server would take it, but nothing worked. I did this because I noticed that filezilla automatically defaults to port 21 which makes sense but still didn't work when that port was forwarded. Now the default router ports are 20:21 so this is the reason I was using other port numbers and the range without the internal port so that it would just chose whatever port is available to prevent conflict with the router ftp. Still nothing. I went and read about changing some settings under the passive and active tab in filezilla but even then still nothing. So I thought I change to winscp just to test this out and here's the message I get there. I have also added the filezilla error I get when trying to connect.


    I also forgot to ask, is FTP a plugin? I wanted to uninstalled it but didn't find a plugin for it.


    I just got this other error on here after I hit submit.

    After the backup got to about 70 something percent it just stayed there so I went and hit cancel but nothing seemed to happen. I waited for that then I connected through ssh into the nas and deleted that folder with all those files. I then deleted that path and tried to use my own as mentioned earlier. Then I could not log into the nas. I then re-booted the nas and was able to get back in. I tried changing the path on both the server side and the client but no luck. The backup just no longer worked after this. So I have now uninstalled this plugin. I just thought I update this for anyone else trying to use this. It looked interesting but I had no luck with it since it wants to put the backup files in it's default path and not where I wanted them. I did scan through some of the documentation but just couldn't find an easy way to change that.

    I installed the UrBackup plugin to test out and I wanted to try it out with my laptop. I noticed that the default seems to be the system drive in the nas if I'm correct. I then downloaded the client and installed it on my laptop. Once the server was on and I logged in, it started the backup of the laptop, but I know it's not a shared because I haven't changed anything. I like that it seems to work almost automatically but it's definitely going into the wrong place. So what's the best way to change this to a share or on the other actual drives? I definitely have space on the drive but I don't want that getting full with the backups obviously.


    Now, can I just change this path to say \\IPaddress\backup since I already have a backup share for this to work? I have never used urbackup so I just thought check here first before changing or testing things. I'll let this backup finished and try later too. I'm not sure if it backs up to a single file or multiple files, I can always make a new folder. But I'm not sure what it does at the moment. This is the reason I'll let this back up to where it is now and check the file or files.