Posts by erik

    I also have a "bad" drive:



    seems due to Available_Reserved_Space and Media_Wearout_Indicator.
    After 5000 h of utilization and total host writes of 4,2 TB, I am neither going to scrap it nor to make a RMA.


    To me the indicator is false positive.
    To check this, I passed this to Chrystal Disk Info, which said: Good(99%).

    Scheint eher ein Netzwerk- als ein Serverproblem zu sein.


    1.) mit dem Installations-ISO file (also von CD-Rom oder bootfähigem USB-Stick) sollte sich Grub installieren lassen. Wenn nicht stimmt was nicht mit der Reihenfolge, wie die Installtionsroutine die Laufwerke sieht, also wie sie versucht, Grub auf den Stick zu schreiben.
    Abhilfe: Bei der Installation sollten nur System-Laufwerk und Stick angeschlossen sein, und wenn die Routine zickt, kurz vor Schreiben des Grubs den Stick rausziehen.
    Aber wenn bei Dir LILO funktioniert, ok.


    2.) Das muss am Router eingestellt werden. Stichworte sind Portforwarding und Dienste wie dyndns, no-ip.biz oder andere. Die bessere Alternative ist, den externen Rechner per VPN an den Router zu binden. VPN kann auch auf den OMV-Server installiert werden, aber die Konfiguration am Router ist meistens einfacher.


    3.) SSH musst Du in OMV explizit aktivieren, danach kannst Du darauf im internen Netz mit Programmen wie Putty mit der lokalen IP zugreifen (wenn das läuft, direkt den MC auf der Kommandozeile installieren (apt-get install mc)).
    Externer Zugriff mit SSh ist dann ähnlich wie unter 2)

    I agree, the data is important and backups are mandatory.


    Actual I have no backup of system, as I guess that installation from scratch is faster than dealing with old system-copies. But the more you play with plugins, container and virtual machines, the more demand is to save the setup.

    But what are potential downsides to storing data on the same drive the OS is installed on (two partitions).
    Some people advise against this practice and I would like to know why, so I can make my own "educated" decision.


    The only downside I see is, that after installation of OMV, you have to connect your SSD to another Linux-OS to re-partition it. After this there are no further obstacles and you can use this additional partition as data. I did this for testing (re-sizing system to 16 GiB) and it works flawless.


    Some people just re-map the free space of system to data by means of symbolic links.
    This also works, but there is always danger, that data is eating up the space of system.


    To my understanding, the 2-partition solution should be safe.

    If you have a spare Sata-Port or a usb to sata adapter, a HDD or SSD is better than a USB Stick. However, since we have the flashmemory plugin like erik said, you can use USB Sticks, too.


    I had serious problems with an USA-Sata-adapter, bought for this purposes. Anytime I tried to switch on Smart-reading, the GUI froze. Another side effect, setting of time or time zone was impossible. The adapter itself was ok, transfer speed and stability were good.
    Nice welcome for OMV-beginner!
    Then I switched to USB-flash stick as system and everything worked.


    Funny, for testing I put the same SSD with the old 'faulty' installation in a 2,5"-external case and plugged this to internal USB, this worked flawless. But as the stick still I arrived, I stayed with this solution. So USB-Sata may work, but this can cause strange problems.

    1a) USB Stick with SLC (single level cell), not cheaper than a small SSD
    1b) Standard quality stick with MLC (the normal ones), to get it reliable, the flashmemory plugin is mandatory.


    2) OMV out of the box takes the whole drive. It is possible to repartion (GPArted) the SSD after installation, leaving at least 8 GB of system and an additional partition with the remaining space for data.


    Option 1 and using the SSD straight for data seems to be easier, but both ways are no rocket science.

    AS GParted Live also comes with the backup plugin, would it be possible to use GParted to clone the system drive (ok its headless, two times a year one have to connect keyboard and monitor)?


    GParted has a GUI and can be utilized by normal home users. Clonezilla is fine for software engineers, but for everyone using this tool every six month, it is a pain in...


    Since I am using OMV, backup and restore is a neverending issue. I like the Landrover feeling of OMV, but sometimes the convenience of an SUV would be appreciated.

    Sounds like a problem, one guy here in Germany had recently. During the installation, you have to choose a mirror server, from where actual updates for debian are pulled.


    So I went for this files:
    openmediavault_2.1_amd64.iso
    from sourceforge.net/projects/openmediavault/files/


    copy to bootable Flash-drive (USB) or just easier, burn it on CD-Rom if your Dell has CD-Rom and let it run.
    After this:

    openmediavault-omvextrasorg_latest_all.deb
    from omv-extras.org/simple/index.php?id=how-to-install-omv-extras-plugin
    to be installed inside OMV.


    Whats wrong with Grub?
    OM-installation will copy itself on your 160GB-hdd and sets all parameter for Grub. Please be aware that this hdd is only for system, you need additional hdd's for data. (there are tricks to utilize free space on system, but I wouldn't do it in the beginning).


    If you are installing with Flash-drive and problems with Grub remain, you can do the following:
    Do the installation until the routine wants to install Grub (very late). At this moment pull out the stick, so that the hdd is the only drive in your computer. Normally this workaround helps to write Grub on the correct drive.


    erik

    Thanks for the hint. I have tried out all of these options.


    I guess the error is in the way the container data path are linked to the host, as the alternative approach with nginx worked (but causes other problems to me). So I asked for a template on working docker settings.

    Just the plugin or the whole OMV from scratch?


    Purging (for beginners) always incorporates the danger to wipe the dependencies and to blame the system.
    And even as it works, it has no learning effect.


    So I prefer to test out new thinks in a VM, but sometimes ok in VM, anyway causing problems on bare metal.

    Yes!


    Normally first call of OC sets up the database (user and database name) in mySQL by means of the root@localhost (password) access, but starting OC as a docker container, I am just getting error codes from mySQL.

    kann das daran liegen, das du nicht das Passwort von dem Datenbank-Benutzer -den du vorher anlegen musstest- eingibst, sondern das Passwort um als Admin in mysql zu kommen?


    Meine Vorgehensweise (mal in Ebenen ausgedrückt):


    Ebene 1:
    Installation on OMV, darin webGUI admin mit zugehörigem admin Passwort zum Anmelden an die Gui.


    Ebene 2:
    Installation des mySQL-Plugins, erzeugt den root (genau genommen root@localhost, root@127.0.0.1,...) mit zugehörigem Passwort.
    Vom Plugin aus kann man über Fenster oder neuen Tab in phpMyAdmin mit o.g. root-Zugang erreichen. Hier sind auch alle Datenbanken sichtbar (bis hierhin noch nichts von OC)


    Ebene 3:
    Installation von OC nach Howto mit nginx usw,
    Erster Start,
    Festlegen des admin und eigenem Passwort,
    Angabe der Datenbank (mySQL) und des Nutzers root@localhost nebst entsprechendem Passwort von root.
    Angabe eines Datenbanknamens (z.B. "owncloud")
    Dabei wird in mySQL die Datenbank "owncloud" und der Nutzer (von admin von owncloud) als oc_admin angelegt.
    Das kann man in phpMyAdmin überprüfen.


    Beim nächsten Aufruf von OC mit dem angelegten admin und passwort passiert nichts, setzt man das oc_admin-passwort nochmal in phpMyAdmin, schmiert OC beim nächsten Aufruf ab.


    Ich habe bisher in mySQL keine Datenbank oder Nutzer vor Erstaufruf von Owncloud angelegt und denke das ist auch nicht nötig da Owncloud das selber macht.


    In der VM zum Testen haben alle admins und roots eh das gleiche Passwort um Verwechslungen auszuschließen.

    Es gibt ein sehr gutes Howto der alternativen Lösung (Owncloud-8-and-MySQL-alternative-approach).
    Leider hat es bei mir in der VM nicht funktioniert, möglicherweise da der Ursprungspost 2 Jahre alt ist und sich seither was geändert haben könnte. Die 12 Seiten Folgeposts sind relativ schwer zu lesen.


    Owncloud/Docker hat sofort funktioniert. Ich muss aber noch über die Klippe, bei der Initialisierung von OC die entsprechenden Datenbanken in mySQL zu setzen. Bisher nur Fehlermeldungen, wahrscheinlich stimmen die Rechtevergaben bzw. die Ordnerstrukturen im Setup des Containers nicht.


    Deshalb habe ich parallel gefragt, ob das jemand in dieser Form am Laufen hat.

    Wie ist denn jetzt der aktuelle stand bezüglich Owncloud?


    Bisher bin ich dreimal strecken gebleiben:


    Owncloud als Plugin:
    Nur Version 6.x, langsam da nur SQLite, Update mehr oder weniger nicht möglich. Läuft, aber nicht praktikabel.
    Wenn man dieses Plugin nicht weiterentwickelt und es in dieser Form nur wenig Nutzen hat, sollte man es zurückziehen.


    Owncloud als Direktinstallation mit nginx (Owncloud-8-and-MySQL-alternative-approach)
    In VM gestestet: Installation hat im Prinzip funktioniert, nach erstem Start wurde aber das Admin-Paßwort nicht akzeptiert. Dieses konnte auf der mySQl-Managementseite gesetzt werden. Nach Aufruf von OC hing sich das System auf.
    Der Thread hierzu ist mittlerweile 2 Jahre alt und 12 Seiten lang. Wahrscheinlich steht sogar irgendwo eine Lösung drin. Die muss man dann wie die Nadel im Heuhaufen suchen.
    Eine Aktualisierugn des ansonsten sehr guten Howto mit Zusammenfassen der Erkenntnisse wäre hier eine echte Bereicherung.


    Owncloud im Docker-Plugin
    Eigentlich eine elegante Lösung. Der Container funktioniert und OC läßt sich auch mit der eigenen (langsamen) SQLite-Datenbank starten und betreiben.
    An der Initialisierung mit mySQL bin ich aber bisher gescheitert.
    Also so auch nicht direkt praktikabel.


    Was einwandfrei geht und easy zu installieren war, ist DS-Cloud unter XPEnolgy in einer virtuellen Box unter OMV.
    Aber das kanns doch nicht sein!

    Is anybody running an actual owncloud (8.x) inside a docker container (docker-plugin) connected to the mysql-plugin?
    Would be nice to get a template for the docker settings of the owncloud-container for this standard configuration.


    Thanks in advance.

    I have two Synology's, one series 09, sticked with DSM 4, never got DSM 5, but still doing its job very well as internal backup.
    The second one, series 12 became too small. If I'd go for a Synology with the performance of an Hp Gen8 Mikroserver with OMV and 4 bays, the price would be three times as high.


    So in the unlikely event that everybody at OMV stops his (her) work, I would be happy with the latest available version, getting further Debian updates for a long time, just lacking newer features. And if I'd be missing some of the newer features, there would be always an alternative.
    But that's theoretical, actual for me no need to have heavy thoughts about this.

    Error with plugin openmediavault-mysql


    After installing the plugin openmediavault-mysql 1.0.16, I am unable to activate the plugin.
    The following error code pops up:


    Fehler #4000:
    exception 'OMVException' with message 'Failed to execute command 'omv-mkconf mysql 2>&1': Unable to find any database files in /var/lib/mysql.
    Unable to find any database files in /media/34fd0dde-93fe-427a-953f-xxx/mysql/.' in /usr/share/openmediavault/engined/module/mysql.inc:88
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModuleMySQL->applyConfig()
    #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
    #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
    #4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
    #6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
    #9 {main}



    What can I do?
    Thanks
    erik

    two different issues, which really can't be solved in this forum because its leaving OMV relation.


    Firstly, an ISO file can be written on a stick to act like a CD-Rom-drive by means of a software like dd or unetbootin. For me it didn't work with smaller USB-stick so I used an 4 GiB-stick. But I can't make a rule out of it. So if it doesn't work in your case, try another stick or try another software.


    Second question, where to place the system disk (whether it is a stick or a SSD) in an HP gen8 microserver. I read a lot in advance and there was commen understanding, that port 5 (internal sata for CD-Rom) is not working as bootable device. So I used the internal USB-plug and I am fine. But if you get your system on a SSD and this works on port 5, good for you.

    I also had several issues when starting with OMV on HP mS gen8.
    What seems mandatory to me is: the booting USB stick with the installation software should have 4 GiB. I failed using an 2 GiB stick. And the booting stick should be attached to one of the USB-2.0 ports in the back.
    An empty system stick (8 GiB or more) or SSD to be placed inside.


    Then anything should be smooth (of course correct installation file and correct software for copy and setting the USB drive bootable).


    If you use a SSD as system, it works only in one of the data ports or with USB-Sata-Adapter inside. In this case, take care that the USB-Sata-Adapter works correctly, some don't pass the smart data properly, which can cause strange issues.
    The internal port 5 (used for CD-Rom) normally is not suitable (bootable) for the systems disk. Special measures (USB starting stick with Grub) has to be taken to make port 5 working as system.
    Hope that helps
    Erik



    my setup:
    USB (SLC)-stick with 16 GiB internal as system
    120 GB SSD on port 5 as data-SSD, for anything what needs speed
    rotating hdd in the bays (port 1-4) for data