Posts by dbell

    I'm absolutely flummoxed.


    I was pretty sure that I'd narrowed down the login issue when I found that DEFAULT_HOME in in /etc/login.deps had to be "yes", I booted into recovery mode, went digging and found that it looked fine.


    So I let recovery mode finish the boot process...and now everything works. Why was it broken? I don't know! Why does it work now? Equally clueless.

    So after not getting anywhere with this (I opened a separate thread here regarding other login issues) I've decided to try a fresh install of OMV 4 - which might help me remember what installation settings I'd chosen and such.


    Things that I've observed:
    1. /home is not given a separate partition by default, it's all under / in the main partition.
    2. A user created in the OMV GUI will not have a /home/[user] folder, by default they log in with HOME=/.


    Given #2, why did my logins suddenly appear to attempt to chdir to my home directory?

    I'm going through a fresh install of OMV 4 and I noticed that the IP address after installation is not shown on the terminal login page. (Where the documentation says it will be).
    After logging in it seems the ifconfig command is also absent, so running ip a or ip addr is the way to go.


    I know to the seasoned folks this may not seem like a big deal, but keep in mind this is the first impression most noobies will have of OMV.
    I went to the bugtracker to add this but didn't see a label for OMV 4, where should I send this sort of thing?

    @flmaxey


    Sounds like you're saying 'use OMV 4', unless there was a typo somewhere in that paragraph. I don't see a positive argument for OMV3 in there. As for plugins I believe I was using a bare minimum, miniDLNA is the only one coming to mind.


    I certainly did have the flashmemory plugin enabled, however for the rebuild I had thought to use an SSD instead - though cloning then might be even less appealing. I'd appreciate your thoughts on this - force the install on a small partition and clone that?
    I don't suppose OMV has a 'settings backup' option in the GUI? It's not the installation I mind, it's that I need to go through the steps of reconfiguring something that had been working so nicely.



    I've used Win32Disk in the past as a way to create a bootable USB, I was not aware it would perform a clone as well, thanks for making me aware of that easy approach. For simple creation of bootable USBs I've now taken to using Etcher.io it's wonderfully simply for those who occasionally feel a little braindead.


    Also a huge thanks for the additional utilities tips, I made an img of the USB drive as it currently exists and I plan on trying out some detective work, so running h2testw sounds like a good place to start.



    Interestingly, I've run the installer for OMV3 (which I'll run again to go with your recommendation of OMV4) and after a clean install it seems the default behaviour is to keep /home folder in the / partition rather than separating it. There goes my suspicion that I'd lost simply lost the home partition.

    Thanks @flmaxey,


    Unfortunately I was caught by my own laziness, kept meaning to clone the boot drive as a backup, never got to it.
    OMV had been working so nicely without intervention that I kept moving that lower on the priority list.


    As for rebuilding, is OMV 3 or 4 preferred at this point? It seems the life cycle on versions is fairly short for an open source offering of this nature.


    Also to clarify, you suggest leaving the SATA connectors attached to ensure the drives mount to the same names?


    Cheers,
    dbell

    Hi all,
    I'm stuck.


    About a month ago (20th Dec 2017) I could ssh in on my username without issue, life was good.
    Now I am greeted in putty with "Could not chdir to home directory /home/<username-here>: No such file or directory"

    Code
    Could not chdir to home directory /home/dbe: No such file or directory


    I posted on here when I realized, and then forgot about it until I had time to try fix things. (What happened? No idea, I have not been installing anything new for months.)
    I am however, booting off USB, and we've had some power-outages due to severe weather.


    So here's where I'm stuck, I've forgotten the root password, and the web gui admin password is not working (don't think I changed it...)
    To reset the root password I've edited the recovery boot options in grub to drop me into /bin/bash, mounted the drive, set password, and then reboot caused a kernel panic.


    Thinking things are not going very well, I tried to login as root locally, it accepts the password but immediately loops back to the login screen, same thing from putty - immediate logout.
    Reading that an empty home dir is not a good omen, I connected the USB stick to an Ubuntu machine, and tried to fsck the partition, it comes up clean.
    I have 0 files or folders in /home.


    I rebooted OMV, took recovery mode in grub, entered the password to perform maintenance (JOY, it is accepted) and tried to run omv-firstaid. It fails to execute RPC, webgui password seems to remain unchanged.


    I'm currently stuck with a brick of a system that I have no idea how to recover.


    Worst case, will I be able to reconnect my raid drives if it turns out I need to re-install?



    Thanks for reading,
    dbell

    Hi,
    I've run into an issue where I've had reliable ssh access for months and suddenly:


    Could not chdir to home directory /home/[username]: No such file or directory


    Then the connection drops.


    I have not changed anything in many months, occasionally I ssh in to wget something.
    The last time I connected (2 weeks ago via PuTTY) it was on a device I rarely use, I don't recall if I closed the session gracefully.
    There have been several power outages since that connection.


    Any chance my username is locked up due to a bad disconnect?
    I have been able to create many simultaneous connections with the same username in the past, so that seems an unlikely culprit.


    This is my main method for accessing the server, so I'll have to fight with forgotten passwords, dragging out a monitor/keyboard, etc.


    Simple fix anyone? :P