Posts by Danceswithcats

    Okay, I've sorted out several errors and letsencrypt is now running. I've got the 'Welcome to our server' screen:


    Letsencrypt success screenshot.png


    Woohoo!


    That does mean I've fixed it, doesn't it?


    I did a lot of messing about with config files, following suggestions I found on other threads, particularly with the Nextcloud configs. I'm not sure I can trace back all my blundering about, even though I did try to keep notes. So, things are messy. This raises a few questions:


    • Would I be best off just deleting the Nextcloud container and setting it up again?
    • If so, do I also need to replace my nextcloud mariadb container?
    • And will deleting the container completely replace everything related to Nextcloud back to default?


    I've got letsencrypt set up with ports forwarded as per @'TechnoDadLife's newest letsencrypt video (bless you, Sir: I will Patreon you when this is all over, even though I am now hearing your voice in my dreams and pronouncing 'data' with a short American 'a').


    So, now to search for a guide to installing Nextcloud AFTER having set up Letsencrypt. Specifically, I need to work out which ports to use for NC.

    Hello all,


    I've got myself in a muddle and don't know how to proceed or even what to ask.


    I have OMV set up, OMV extras and Docker up and running. I managed to issue a certificate with linuxserverlestsencrypt docker container. I also installed Nextcloud docker and had it working until I installed the letsencrypt setup.


    Now, I have three docker containers running but they are not showing ports in the port column as shown in the screenshot below.



    On this thread, Morlan very kindly pointed me to another thread that seems to address a similar quagmire, but I have some difficulties. I am trying to do this without using DuckDNS, as I already have my own static WAN IP for which I pay my ISP. I also have a domain name pointing to my IP with A name records set up for a couple of subsdomains: cloudi for nextcloud and vaulti for the OMV server.


    Please could anyone give me some advice on what to do next, what information I need to gather or what logs I might post to make the situation clearer to kind advisers. I had nextcloud working on a devoted server, but turned it off to transfer it to OMV. I am missing having my calendars, tasks, contacts and files available and I only have limited time in the week to figure this out.


    I've dug around the logs for the containers and have this error in the Nextcloud logs:


    Code
    ifelse: fatal: unable to exec --network: No such file or directory


    and in the lestsencrypt log, I have this error:


    Code
    ifelse: fatal: unable to exec --cap-add=NET_ADMIN: No such file or directory

    I recognise the NET_ADMIN thing from the install video, so I'm going to dig into that and try some searches.

    Hi,


    I'm following @'TechnoDadLife''s video 'Securely Login to Nexcloud' and have got as far as editing my nextcloud.subdomains.conf.sample file to add in my domain name. However, when I try to save it, I get a permission error. I set up my Samba share with 'everyone read/write' in the 'permissions' drop-down.


    I am accessing it on a linux machine (Ubuntu with xcfe desktop), using Leafpad as the editor. I do have a WIndows machine (very old, 32 bit, running Windows 7) and I tried it on there, but with no luck.It opens okay, but it won't save.


    I've searched edit conf files in these forums and did a web search for change permissions omv, but it's all a bit muddy. I'd appreciate pointers.

    Setting up Nextcloud Docker to work with Letsencrypt, I cleared my config file without having made a copy (I know, I know).


    So, I deleted the Docker container and the folders ( or I thought I had) intending to start again, but have fallen at the first hurdle: I can't recreate the folders I need for nextcloud. When I try, I get the following message:


    I have deleted the shares in smb/cfs, and can't think what else to do. I tried searching for similar posts, but nothing quite matches this.

    Hi,


    I've set up my OMV (third time's the charm!) and am following TDL's video and referring to the docs pages, but I have a few variations that make me wonder whether I should change some things.


    In particular, I have a static I.P. address, with a domain name pointing to it.


    I had to do a net install of Debian, because of my hardware's UEFI setup, and put my domain name in during the installation. I also gave my server a hostname. Should I change the hostname in OMV General Settings to agree with that? Also, should I put my domain name in the same page? (Home/system/network)


    Additionally, I'd like to make a local static I.P. address, as the docs say that is best. If I set the static address in Home/system/network/interfaces, do I need to also make the IP address a reserved client on my router?

    If you can SSH as root, but you cannot as a user, then there's about a 99.8% chance your user is not in the SSH group. In OMV go to Access Rights Mgmt/Users. Look at the groups that your user is a member of. One of them should be "ssh"... Assuming that is the case, click the user, click Edit, Click Groups, go through the list and find ssh, and put a check mark next to it. Save/Apply the changes.

    Genius! Thank you. That's it fixed.


    As for your cat story, I'm in the sad category. I'm devastated for your sister, even though it is years ago. We lost a dog to an accident just before Christmas. I'm still having trouble getting over it. I never wanted a dog, but my wife did, and it turned out to be a really wonderful idea, until the moment she ran onto a road. I've written a blog post about our awful winter here: http://www.danceswithcats.uk/?p=2303


    I've been using the name Danceswithcats for various forums and log-ins since 2001. I was single then, and had heard about message boards where you could meet people and chat. It seemed whizzy, and I signed up for one. My automatically-generated username would have been petermason9328 or something equally undistinguished, but the site had a link to an 'advanced' username generator, where you entered a couple of things you liked and it suggested a name. I put in dancing and cats and it spat out catdancer, which I thought was a slight underuse of technical wizardry. Anyway, I had the TV on and there was a trailer for a broadcast of the film, Dances With Wolves, and inspiration struck.


    About a decade ago, I registered the domain name danceswithcats.net, and five or so years ago, I bought danceswithcats.uk. About twice a year, I get an email form a very nice gentleman in New York, trying to sell me danceswithcats.com. His initial offer was several tens of thousands of dollars. Each time he contacts me, I counter-offer $5. I wish him well with it. He's currently got it up for sale for $3395. Times must be hard.




    Thanks again for your help. I have had nothing but good experiences on this forum. I love computers and have been playing with and using Linux computers for over ten years, but I am one of those people for whom technical stuff just does not stick. Even though the internet drifts ever closer to being a market rather than the library I assumed it would be when it began, forums like this preserve its original promise, by being a pool of knowledge, shared with friendship.

    I can log in as root, but not as user in ssh, so I've run apt-get update. I'm afraid there's a lot of it.


    root@vaulti:~# apt-get update
    Get:1 file:/var/cache/openmediavault/archives InRelease
    Ign:1 file:/var/cache/openmediavault/archives InRelease
    Get:2 file:/var/cache/openmediavault/archives Release
    Ign:2 file:/var/cache/openmediavault/archives Release
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Ign:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Get:5 file:/var/cache/openmediavault/archives Translation-en
    Ign:5 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Ign:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Get:5 file:/var/cache/openmediavault/archives Translation-en
    Ign:5 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Ign:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Get:5 file:/var/cache/openmediavault/archives Translation-en
    Ign:5 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Ign:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Get:5 file:/var/cache/openmediavault/archives Translation-en
    Ign:5 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Ign:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Get:5 file:/var/cache/openmediavault/archives Translation-en
    Ign:5 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages [1,100 B]
    Get:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Ign:4 file:/var/cache/openmediavault/archives Translation-en_GB
    Get:5 file:/var/cache/openmediavault/archives Translation-en
    Ign:5 file:/var/cache/openmediavault/archives Translation-en
    Ign:6 http://ftp.uk.debian.org/debian stretch InRelease
    Hit:7 http://packages.openmediavault.org/public arrakis InRelease
    Hit:8 http://ftp.uk.debian.org/debian stretch-updates InRelease
    Hit:9 http://ftp.uk.debian.org/debian stretch Release
    Hit:10 http://security.debian.org/debian-security stretch/updates InRelease
    Get:11 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
    Get:12 https://openmediavault.github.io/packages arrakis InRelease [12.8 kB]
    Ign:13 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
    Get:14 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release [4,389 B]
    Get:15 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release.gpg [821 B]
    Get:17 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 Packages [573 kB]
    Get:18 http://cdn-fastly.deb.debian.org/debian stretch-backports/main Translation-en [447 kB]
    Get:19 https://openmediavault.github.io/packages arrakis/main amd64 Packages [6,486 B]
    Get:20 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib amd64 Packages [11.1 kB]
    Get:21 http://cdn-fastly.deb.debian.org/debian stretch-backports/contrib Translation-en [7,540 B]
    Get:22 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free amd64 Packages [32.6 kB]
    Get:23 http://cdn-fastly.deb.debian.org/debian stretch-backports/non-free Translation-en [37.5 kB]
    Get:24 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main amd64 Packages [22.1 kB]
    Fetched 1,247 kB in 2s (557 kB/s)
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f13cf3bd598>
    Traceback (most recent call last):
    File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f13cf3bd598>
    Traceback (most recent call last):
    File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
    Reading package lists... Done


    I haven't tried to plug in a monitor yet, as I only have one.


    Thanks again.

    Hi Ryecoaaton,


    I've done that. I was worried because TechnoDad's video said there would be loads of updates and I've got none. I've just realised that the way I had to install (because of the UEFI setup on my motherboard) probably means t downloaded the latest packages anyway, during the installation process. Would I be correct?


    The user you are trying to login with is a member of the ssh group?


    Yes, I'm logging in as me. SSH was fine during the install (after I'd installed the Debian netinstall). I've changed my OMV admin password, but otherwise that's it. I've a feeling I'm being stupid, but I cant think what I'm missing. I've just tried to ssh into my old nextcloud server (on another machine) and I'm blocked in that as well. I think I have made a mess of my ssh keygen thingies, which I only ever partially understood anyway. I am vexed. I'm half hoping that when I get to installing the ssh addon to OMV it will sort itself out.


    Thanks for getting back to me.

    Hi,


    I had to install using the Debian net install method described here: Installing OMV on EUFI (J4105) Tutorial Available?


    The install scripts, which I copied to a text file before copying them from there into my Debian install, were here: Install OMV4 on Debian 9 (Stretch)


    Everything looked good, until I clicked on Update Management and got this error message:



    The index of upgradeable packages does not exist. Please re-synchronize the package index files from their sources.
    Error #0:OMV\Exception: The index of upgradeable packages does not exist. Please re-synchronize the package index files from their sources. in /usr/share/openmediavault/engined/rpc/apt.inc:114Stack trace:
    #0 [internal function]: OMVRpcServiceApt->enumerateUpgraded(Array, Array)
    #1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('enumerateUpgrad...', Array, Array)
    #3 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Apt', 'enumerateUpgrad...', Array, Array, 1)
    #4 {main}


    ?(


    To add to my woes, I can't now log in to my server via ssh. I've no idea whether this is a related problem.


    ;(


    Help!

    @flmaxey


    I want to say a HUGE thank you for this. I got my new machine home this morning, all excited about setting up OMV (which I'd tried out in another machine that wasn't suitable for using with a RAID setup) and thought I'd blown £200 on an unuseable piece of junk.You have saved the day. I've got a few weeks of playing with OMV ahead of me, but when things settle down, I'd like to do an illustrated version of your instructions and put them up. I've been using linux for about a decade, inexpertly, but this was on the edge of my abilities. A few pictures might hold the hand of anyone who falls victim to this snag in the future.


    I am very unimpressed with Intel's policy of blocking revert to BIOS. I noted in my panicked search that Debian are working on UEFI installs, and I assume it's on the cards for OpenMediaVault.


    Well done, SIr, and thank you again, and thanks to @Jozi for blazing the trail. :thumbsup:

    Hi,


    OMV is set up and reachable. I have three SSDs in a powered caddy with both USB and eSATA ports. I can read all three disks via USB and have wiped them, ready to create a RAID array. All good. However, I read in the OMV docs that you mustn't use a USB connection for OMV, so I connected via eSATA and now I can only see one of the drives.


    I'm guessing that my computer, a ZOTAC micro-pc with a celeron quad core and a small SSD, on which I have installed OMV, can only read one external SATA. Am I right? If so, is there a fix for this? And will it be expensive or involve screw drivers? Also, what's the problem with USB connection of drives?


    Edit: I've found this, which answers the question about USB connection. Cool.Not sure about 'RAID-like', though. I'd still like to connect a full external RAID array to my existing machine.

    Hi,
    I'm a pretty basic linux user, so please be patient with me.
    I've installed the OMV extras and, through that, installed the letsencrypt plugin. I've set up an A record and am waiting for it to propogate. I looked at the plugin and it asks for the following: "The root directory of the files served by your internet facing webserver". ?( I'm not sure what this means. Is it the DNS server?
    I've waded through quite a lot of different pages, manuals, etc over the last few days, to get to this stage. Now I'm bogged down. Can anyone help?