Posts by definately-a-n00b

    Been running omv 5 on my odroid hc4 since July 2021. It works well since the initial problems were sorted. Ive kept it updated.

    After 2-3 months I noticed it would no longer reboot. If i schedule a reboot or reboot manually it gets stuck. I have to pull the power and then insert the power to get it to boot back.


    Is this a problem due to an update or is this a problem due to some kind of corruption?


    Is there a fix? Where do I look?


    I prefer my devices to have a reboot schedule to keep them fresh.


    Please note my skills on omv are limited and im learning. 8)

    I will try and explain. This will be fun

    These server setups have multiple parts or layers if you like.


    The OS (armbian, debian) has config and log files

    OMV has config and log files

    Docker has config and log files

    Containers whith in has config and log files

    The list goes on depending on the setup..............


    Rather than running commands and looking for files

    Would'nt it be easier and more efficient to have a scipt that periodically collects a copy of each config and log file and put the copy in a set folder. A log and config sentinel or settings snapshot.


    Do you understand?

    Im sure there is a suggestions area around here. From a clueless point of view it would be extremely helpful if all these important log files and configs were somehow automatically copied and synced into a centralised folder area. Then when someone needs help it would be super easy to pull these files up. The helpers would just need to say "go to configs and log sync folder and put up XYZ.log or ABC.cfg" rather than running commands and digging around in folders and apps.


    definately-a-n00b

    One last thing before I duck out of this thread. You need to get that fan moving. If it's running all the time, fine. While the HC4 has vent openings, I believe the case will be too hot for the CPU if you run it hard without the fan.

    The fan is on my to do list. Its another thing i have to setup.


    Thanks to all for your time and effort

    Just to be clear, so that other readers will understand;

    The SanDisk SD-card worked, where the other generic cards were going read-only, correct?

    Correct :) Sandisk ultra 16GB is a definate buy


    No I couldn't understand why you kept referencing Yacht, but were posting pics of Portainer (I don't think Portainer is required to use Yacht... and vice versa I'm sure of).


    I usually use stacks in Portainer and have very limited experience with Yacht, but something isn't right. Yacht is still under pretty heavy development as I recall, so it could be a problem they are aware of and haven't fixed yet... as I said I don't follow it. I would try to fix the problem rather than just "taking a stab in the dark" and waiting on it to break again.


    What all are you trying to install? I assume Lidarr, Sonarr, etc.?

    Agreed im not the best at explaining, I mainly use yacht for because its easy once the templates are setup. I use portainer as a more in depth view of things even tho half of it I know zip about. Yes im trying to setup a torrent and file share server. I will probably do some other things with it.



    The above quote is from post #10 or so. Based on the setup links in it I think the op is on a totally different wavelength from those of us who are trying to help him.


    definately-a-n00b my advice to you is to perform a fresh install using this tutorial. Don’t mix in how-tos from Odroid/Hardkernel or any video tutorials. Stick to this one guide, first to last.

    Of course im on a different wavelength. You are all pros and im a n00b. You ask for configs and logs and I dont know where they are or how to get them half the time. Your help is appreciated though.


    I think ive tried every guide around multiple times with limited success. When that happens yes I cherry pick out what works and try and mash it together out of desperation. I bet others do aswell.


    Weekends are busy for me but i will try what ive got working and go from there. I think I will change the /srv bind to read only and see how that pans out aswell. Got a few things to try.


    It would be great if someone could make a script and gui on OMV for fan controls.

    How you ask?

    Install OMV

    Setup OMV

    Install docker

    Install Portainer

    Install yacht

    Setup yacht templates in settings

    Setup yacht selfhosted

    Browse apps and install apps required

    ---------------------------------------------------------

    At this point open all apps and they have had the same problem causing me to run this setup like 5 times a day for the last 2 weeks getting nowhere because I know next to nothing about armbian, linux and debian systems. I dont even know where all these logfiles you request are. Sifting through oceans of guides and docuementation just to get it running in some shape or form.

    --------------------------------------------------------

    After the memory card problems I was pretty sure it was software and permissions related so I went and looked around in portainer. Selected the app and hit edit. Looked at the settings over and over and took a logical guess to put /srv in those boxes with bind. Then saved and redeployed.


    Bingo I made progress.

    Is it a longterm fix or just going to create other problems? I will tell you after the weekend.


    Is it a bug in yacht with permissions? Or the apps? Is it specific to odroid hc4?

    No idea but it sure has caused me alot grief along with bad sd cards.


    If there is some specific log you want you need to tell me how to get it because im clueless compared to most of you on here.

    That makes no sense. I guess what you did works, but you're essentially putting all your data in that container.


    A user could likely delete everything from the webui. Can you show your complete path for tv, download and config


    Im just a n00b taking shots in the dark wearing a blindfold. When all the apps are running it might all fall apart and go wrong.


    Also what container is this. Can you post a stack or docker-compose you're using

    I installed the apps with yacht. It was what i thought the easy way. I will put info up. But so far its worked for lidarr, sonarr and radarr. They can now all see the harddrive folders. If you know a safer or better way let me know. I will finish the setup and test at some point in the next few days.

    It seems to be software now. I can smb transfer data to the hc4 and it stores it.

    How is it symlinks can see the drives in /srv but apps running in docker cannot see the drives in /srv.

    Apps in docker just see a limited version of the memory card.

    I went to the store earlier and got 3 brand new sandisk ultras 16gb. First one i formated and tested....all clear.

    Flashed it and done the setup again same thing happens, cannot select root (music) folder. I can browse the sd card drive but not the harddrives.

    Done dmesg in Putty and now i only have this in red:


    1.971933] thermal thermal_zone0: binding zone cpu-thermal with cdev thermal -cpufreq-0 failed:-17

    2.020862] meson-pcie fc000000.pcie: invalid resource

    7.087549] panfrost ffe40000.gpu: dev_pm_opp_set_regulators: no regulator (m ali) found: -19


    And found some info on the fan

    https://docs.linuxfactory.or.k…-control-using-fancontrol


    https://forum.odroid.com/viewtopic.php?f=205&t=41070

    Ok ive done the #dmesg command in putty. Here are the red bits:


    [ 1.969645] thermal thermal_zone0: binding zone cpu-thermal with cdev thermal -cpufreq-0 failed:-17


    [ 2.017175] meson-pcie fc000000.pcie: invalid resource


    [ 7.631452] panfrost ffe40000.gpu: dev_pm_opp_set_regulators: no regulator (m ali) found: -19


    [35452.225074] EXT4-fs error (device mmcblk0p1): htree_dirblock_to_tree:1030: in ode #15233: block 10503: comm (sd-executor): bad entry in directory: rec_len is smaller than minimal - offset=0, inode=456392, rec_len=0, name_len=0, size=4096

    [35452.264930] Aborting journal on device mmcblk0p1-8.

    [35452.270182] EXT4-fs (mmcblk0p1): Remounting filesystem read-only



    mmcblk0p1 is a 16gb sd card with with 4.39gb in use

    Im starting to wonder if the hardware is faulty. Is there some kind of self test for the odroid hc4? The harddrives are green pass on the smart test.


    Or what if I reinstall petitboot. Install Debian onto the harddrives? Make the smb folder in /srv ? would that work?

    Paying special attention to the Armbian instructions for -> removing petitboot, try the installation guide found -> here.

    Installed again following this method. Same result. I cannot appoint root in lidarr. Not sure which file is the docker compose file. I think its the inspect file in portainer? Here it is in text mode and a screenshot.


    I thought my username made things obvious :)

    Everytime i start over i do this:


    Wipe sd card in laptop

    Go to odroid hc4 and turn it on

    Odroid exit to console

    netboot_default then exit

    Install debian buster 10 (not sure on partition setup)

    Install debian

    Install OMV as instructed HERE

    Then follow this setup HERE for the OMV part not the debian bit

    Tried hard drives in RAID 0 mode and 1 at a time and side by side

    Then install Yacht like this HERE

    Install apps using yacht


    I have also been trying THIS debian setup

    and this OMV SETUP


    Ive also tried removing petitboot and used debian and armbian

    Ive also updated petitboot from HERE


    Hardware:

    Odroid HC4

    16gb micro sd UHS-1 U1 80mb/s -- got 3 of these 2 weeks old

    toshiba 1.8TB -- mechanical passes smart test

    western digital 1.8tb -- mechanical passes smart test

    It sees the music folder but i cannot appoint it as root folder


    Can it be changed or made to work in the config.xml file found in appdata? Is mine correct?



    - <Config>

    <LogLevel>info</LogLevel>

    <BindAddress>*</BindAddress>

    <EnableSsl>False</EnableSsl>

    <SslCertPath />

    <Port>8686</Port>

    <UrlBase />

    <ApiKey>e9312ca5246a4932b9edb5013f06</ApiKey>

    <AuthenticationMethod>None</AuthenticationMethod>

    <UpdateMechanism>Docker</UpdateMechanism>

    <SslPort>6868</SslPort>

    <LaunchBrowser>True</LaunchBrowser>

    <Branch>master</Branch>

    <SslCertPassword />

    </Config>