Posts by DaveOB

    I am completely lost.

    Replacing Pi3B+ ( OMV4 ) with Pi4 ( OMV5 ), and found that I can't simply move the SD card from Pi3 to Pi4.

    Followed TechnoDad videos to get a new image on to the SD and install OMV. OK to this point.


    On the OMV4 / Pi3, I had nginx running as a plugin.


    If I understand correctly now, with OMV5, these plugins ( which had system wide access ) should now be run in a self-containing bubble, Docker.

    I guess Docker is the OS for these bubbles, and Portainer is the User Interface for the bubbles / dockers.


    So using Portainer > App Templates, I found nginx and 'Deploy Container' ( I assume this is the equivalent of an install )


    Next, went to Portainer > Containers and I see the "PiWeb' named container in the list.


    I can browse ( on my PC on same network ) to the IP of the Pi4, and I get the " Welcome to nginx " screen.


    On the Pi3, I had the web folder that nginx set as a shared folder, so that I can access it from my local PC as a network folder.


    The nginx plugin listed the server root as : /dev-disk-by-label-NAShd1/www/


    How / where do I change the settings in nginx / Portainer to use that same specific folder for the web pages ?

    If you have everything up to date it should be fine. You might have to run omv-firstaid if the network adapter doesn't get an IP address.

    Thanks. I use a mikrotik router so I think I can just delete the existing Static IP / MAC link, and create a new Static IP for the Pi based on the Pi's new MAC Address..

    Does this sound correct ?


    Starting to set up a small web server on my Pi.


    Installed Nginx, mySQL and php7


    Testing using php to send mail ( code known to work on another online php server ) and found I need a mail server installed.


    Dug around and found that Postfix is already installed - I guess that was added as part of OMV as I was able to send mails from OMV when that was the only thing running on the Pi.


    Could not get php to send mails - nothing worked and ( completely clueless ) tried for hours to find a way to make it work.


    Eventually I thought - maybe I should test the mail sending from OMV > System > Notifications just to check the Pi can actually send mail.


    The 'General Settings' was disabled ( probably because I didn't understand the mails it was sending me anyway ).


    As soon as I enabled it, a load of mails arrived on my PC from the php script. They must have been sitting in a queue somewhere.


    So it appears that the 'enabled' setting in OMV, also controls the sending of mail from php scripts.

    ok. I think this is working now


    messing around with some google searches, and came across this :


    First, remove the symlink you just created by running:


    Code
    rm -rf /usr/share/nginx/www


    That won’t delete phpMyAdmin, it’ll just delete the symlink. Now we’ll create a new one using:


    Code
    sudo ln -s /usr/share/phpmyadmin/ /var/www/html/phpmyadmin


    which I edited to :

    Code
    sudo ln -s /usr/share/phpmyadmin/ /sharedfolders/www/phpmyadmin


    I can now browse to the myPhpAdmin page


    Hope this helps someone else in the future

    Hi all


    Raspberry Pi 3 Model B Plus Rev 1.3

    OMV 4.1.35.1

    Arm v7


    Needing to setup a simple web site at home to run some php code.


    Followed this video :

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.


    only saw at the end it was OMV3, but it appears to work with OMV4 - sort of :)


    Have updated the system, installed Plugins for mySQL and Nginx.

    Created a shared folder 'www'

    under ACL, permissions set to RW for Dave ( that's me ), adm, www-data and another www-data


    General Settings Port for OMV was changed to '90' so as to not conflict with the nginx port 80.


    Services > SMB - enabled for the www shared folder, and I can map to the folder from my win PC.


    Services > mySQL enabled and I can browse to mySQL and login to mySQL.


    Services > Nginx - Enabled and PHP ticked. URL shows as 192.168.1.135:80


    Click on the URL and get a new browser tab with "Welcome to nginx" message.


    phpMyAdmin - I can browse to http://192.168.1.135/phpmyadmin/ and get the login for phpMyAdmin, and can log in.


    BUT - when I try and go to http://192.168.1.135/index.html all I get is the 'Welcome to Ginx" page. Not the index.html page that's in the shared www folder


    IF - I go to Services > Nginx > Servers > Edit, and turn ON "Use root", Save & Apply, then I can see the correct page at http://192.168.1.135/index.html BUT then the phpMyAdmin page shows error 404 Not Found.


    What am I missing ?

    Advice please - what should I be using for this ?


    I have OMV running on a Raspberry Pi


    version : 4.1.35-1

    processor : ARMv7 Processor rev4(v71)


    I need to do 2 processes :


    Process 1 :


    schedule ( say every 15 minutes ) :

    Connect to an external / online FTP server ( requires Implicit FTP over TLS - I do have user and pass )

    Sync the files ( or copy new files ) from the online FTP site to a folder on the external mounted drive connected to the Pi.


    Process 2 :


    schedule ( say every 15 minutes to run just after the Process 1 above ) :

    Connect to an external / online FTP server ( I do have user and pass )

    Sync the files from the folder on the external mounted drive connected to the Pi, to the online FTP site.


    Would appreciate any pointers / info as to what plugins / addons / features I should be using for this.


    Regards

    Thanks Macom. Really appreciate the advice.


    Got it working.

    Wiped drive

    Created ext4 filesystem

    Installed USB Backup plugin

    Setup first backup and tested.


    Moved USB drive to Win 8 Laptop and installed ' DiskInternals Linux Reader ' and was able to mount the ext4 drive and see the files.


    Now I am a little stumped --


    Set up the second ( larger ) USB Backup profile and started the backup.


    I am using the OMV browser interface from my Win 8 Laptop.


    If I close the browser, and then re-open the browser and connect to the OMV web interface again, I can't seem to find anything that indicates the USB Backup is running, except for the 'used' value in Storage > File Systems is still changing.


    Is there a way to see the progress, as was sidplayed when I initially manually started / Ran the USB Backup profile ?

    Hi All.


    Running OMV on a Pi with a USB drive ( 500gb ). Working perfectly.


    Recently upgraded Laptop ( Win 8.1 ) HD to SSD and the old HD was Cloned to the new SSD ( both ~460Gb - I assume 500Gb with some reserved space ).


    Old Laptop HD has been returned in a USB enclosure.


    I can plug the old HD in to a different PC and use that drive, but not in to my Laptop - something to do with the ID of the SSD and the ID of the old HD being the same ( ? ).


    So wanting to use the old HD in the USB case to backup my OMV HD ( which is used as my NAS ).


    Want to do a 'once a month' backup / copy / clone and then remove the old HD and put in safe storage.


    What is the best solution that I can run on OMV ( on the Pi ) to do this ?


    Should I re-format the old HD on a different PC first ?
    What file system ?

    Should I add as a hard drive to OMV and format it there ?

    Should I be using some OMV Copy utility, Duplicati, or something else to copy ( or mirror ) the OMV drive to the old HD ( now in usb case ) ?


    And lastly, is there a way, in OMV, to change the ID ( or is it MAC address ? ) of the old HD so that I could access it on my laptop again if needed ?


    Appreciate any pointers. Regards

    Duplicati web browser interface is telling me there is an update available.



    Dialog message at the bottom of the screen :



    Found Update
    New Update Found 2.0.4.5_Beta_208-11-28
    Show Install Dismiss

    My current version on the 'About' page is 2.0.3.3_Beta_2018-04-02



    When I Click on the 'Install' a 'Downloading' bar flashes in the dialog, then reverts back to the initial dialog box.



    How do I update Duplicati ?



    I do have shellinabox installed.

    OMV4 on RPI3B+


    Need to sync my NAS folders to my GoogleOne Drive


    insync seems to be the right option, and located the RPI version : inanimate/rpi-insync


    No info on the DockerHub page, so looked at tiredofit/insync for the port numbers, and how to get the Auth Key from google at : https://goo.gl/jv797S


    All worked great and insync is connecting and sync'ing data to the online googleOne drive.


    BUT ...


    if I disconnect from the internet and change to another router, or even just restart the RPI for any reason, the insync container seems to forget it's settings.


    The 3 sets of Port Forward values ( 10050, 1025, 8025 ) all completely disappear.


    And the Auth Key appears to become invalid.
    To correct and get it connected again, I have to go in to Google Account and remove permission for insync, then generate a new Auth Key and only then will it connect again.


    What am I missing ?

    If I look at Services > Apple Filing, it shows General Settings > Enable > Off ( grey )


    But when I go to Diagnostics > Dashboard, in Services it shows Apple Filing as Not Enabled ( grey ) but also Running ( green )


    Is Apple Filing part of the core of OMV that it is running ?


    I only use Windows PCs on our home nexwork - do I need Apple Filing ?

    <quote>
    BTW: Etcher isn't destroying SD cards. Most probably a simple coincidence and your SD card died for the usual reasons (e.g. old or counterfeit card)
    <end quote>


    Yes, it was a reasonably aged card and had been used etensively in a 3D printer for around 3 years.


    My apologies to Etcher for implying it was at fault. The cause was most certainly either 'Murphy's Law' or a User "ID 10 T" error.


    Thanks for clearing up the confusion about the different platforms

    Hi All


    Using RPi 3B+ and OMV4


    Recently loaded Docker and Cloud Commander.


    After hours of struggling, the guru's educated me to understand the x86 apps, like Cloud Commander, are designed to run on x86 systems and not ARM systems.


    Googled a load but can't find a decent list of what apps can be used in Docker containers, and what they actually do. Many of the app names give little hint of what they actually do.


    Anyone able to suggest decent ARM apps that would work like a file explorer ?

    Thanks again.


    I think the problem with Etcher was that I bumped and dislodged the SD card adaptor on my PC during the verify process. After that the SD card was dead. So I wasn't wanting to risk destroying another SD card.


    For the 'exec format' problem, do I understand correctly that it isn't a problem related to the Docker platform itself, but actually a problem with the apps being loading in to the containers being for x86 instead of ARM ?


    Thank you again for your guidance

    Thanks tkaiser. Really appreciate the reply and insight


    I did use the RPi image you mentioned, but the first time I tried with Etcher, it brick'd my SD card.
    Had to buy a new card, so extracted the image and burned it using Rufus


    Ran the weakref fix you supplied and don't see any obvious errors :

    Code
    root@OMVpi1:~# wget -O /usr/lib/python3.5/weakref.py https://raw.githubusercontent.com/python/cpython/9cd7e17640a49635d1c1f8c2989578a8fc2c1de6/Li
    b/weakref.py                                                                                                                                     
    --2019-06-04 12:16:56--  https://raw.githubusercontent.com/python/cpython/9cd7e17640a49635d1c1f8c2989578a8fc2c1de6/Lib/weakref.py                
    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.172.133                                                               
    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.172.133|:443... connected.                                           
    HTTP request sent, awaiting response... 200 OK                                                                                                   
    Length: 20466 (20K) [text/plain]                                                                                                                 
    Saving to: ‘/usr/lib/python3.5/weakref.py’                                                                                                       
    /usr/lib/python3.5/weakref.py        100%[===================================================================>]  19.99K  --.-KB/s    in 0.05s    
    2019-06-04 12:16:57 (441 KB/s) - ‘/usr/lib/python3.5/weakref.py’ saved [20466/20466]


    <quote>
    You're trying to run an x86 container on ARM. You need an armhf variant instead.
    <end quote>


    Are you talking about the containers like filezilla and Cloud Commander ?
    If so, where would I search for a armhf variant for these ( most interesed in Cloud Commander to be able to move files on the PI USB HDD between folders without having to route thru the PC )