Posts by bergie5737

    LOL!
    I have two RPI 1's lying around. They are still great little machines. I personally would rather buy off the shelve NAS in stead of another RPI. But then I probably won't get OMV working and have 2TB hard drive collecting dust. I live in South Africa, $35 is too much as our exchange rate has effectively made the Raspi 3 times more expensive than when I first bought mine.


    The SD I use cost about as much as I initially paid for my RPi, and it's quite new. Anyway, I think the miniDLNA issue was related to mySQL. After removing both and re-installing miniDLNA, it worked. I add mySQL back again, and gone is miniDLNA.


    Its for you to decide if you want to check a bug. I am steering clear of mySQL now.


    Once again thank you so much for a great system. I really enjoy OMV enough to stick with it. I will try out new things, and revert if I break it. It's after all just a "WinDiskImager" away from fixing!

    I never see the php5-pam update in the gui . From another post I prevent updating php5-pam with this command.

    Quote

    apt-mark hold php5-pam


    I also ran some check, I can't recall the post or the command, that confirmed the package was as is, but the post was a bit dated, so I may be wrong.


    If my memory serve me right you said in some post I should do the below to manually update.

    Code
    wget http://omv-extras.org/debian/pool/main/p/php5-pam/php5-pam_1.0.3-2_armhf.deb
    dpkg -i php5-pam_1.0.3-2_armhf.deb

    After some advice on this post

    Quote


    I decided to start from scratch, by reflashing my working image.


    I did and update on all packages and then installed openmediavault-mysql.
    Just as a quick background:
    My previous attempts only started mysql seemingly at random. My biggest issue, was once I save and apply settings from the web interface, it failed to start. I've checked the my.cnf file and changes did seem to take effect, as the new values were in the file, but it won't start. Sometimes it start from command line and a reboot.


    So tonight I've started from a fresh pre-sql backed-up image. And when installing, I noticed the following warnings and errors:
    This is not the complete output, but just the lines around the warning or error. I copied warnings first, then errors.



    As you can see the same error repeat. My guess is that it try and start mysql at that stage.
    Then in the web gui I enable MySQL, and save and apply. A pop-up showing "Bad gateway" appear.
    Here is the full output of that.

    Quote


    I've left all settings at default.
    I can attach the full output of syslog and the install log if it will help.

    Thanks for all the help.
    MySQL has now stopped working altogether. I've completely removed all packages (I hope) and want to restart the installation. It's still too much touch and go for me to trust it yet. I don't know if its the Raspberrypi setup I am using.


    I will investigate the symlinks. I understand the principle but I seldom manage to get it working. It tends to bite me in the long run. LOL! It's actually the lack of Knowledge is what's biting me.

    I followed the instructions to move the files but when I activate MySQL and save and apply I get this error:



    After reboot, the gui is still there, even for MyWebSQL even though its not activated yet.
    The only change I made, is to leave the bind address in the gui as default. Previously I used my Raspberry's fixed IP.[color=rgb(0, 0, 0); font-family: tahoma, arial, verdana, sans-serif; font-size: 12px; line-height: normal; background-color: rgb(232, 232, 232)]Failed to execute command 'export LANG=C; invoke-rc.d 'mysql' start 2>&1': Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action "start" failed[/color]

    Apologies for restarting an old post.
    I've also installed mysql from plugins, and the web page (MyWebSQL) for it did pop up as expected.
    Then I wanted to move the database to the harddrive, as my setup is a RaspberryPI B+. I followed the instructions to move the database. Then I did a reboot.


    After that I get the "standard" "It worked web page..." trying to access the web admin of OMV. Trying to access "MyWebSQL", also failed with "404 Not found".


    It seems things only went wrong after copying the files or perhaps it was already messed prior to the reboot.


    Is there anything that I missed to not destroy the web gui?

    I hope this is the correct topic for posting.
    I've had a check on syslog thingy and see its filled up with hundreds of lines of the below:


    Quote

    Jun 28 06:25:13 raspberrypi rrdcached: queue_thread_main: rrd_update_r (/var/lib/rrdcached/db/localhost/memory/memory-free.rrd) failed with status -1. (/var/lib/rrdcached/db/localhost/memory/memory-free.rrd: illegal attempt to update using time 1467087323 when last update time is 1481819242 (minimum one second step))
    Jun 28 06:25:13 raspberrypi rrdcached: queue_thread_main: rrd_update_r (/var/lib/rrdcached/db/localhost/df-media-fa36508a-b3c4-4499-b30a-711dd5994225/df_complex-free.rrd) failed with status -1. (/var/lib/rrdcached/db/localhost/df-media-fa36508a-b3c4-4499-b30a-711dd5994225/df_complex-free.rrd: illegal attempt to update using time 1467087313 when last update time is 1481819242 (minimum one second step))
    Jun 28 06:25:13 raspberrypi rrdcached: queue_thread_main: rrd_update_r (/var/lib/rrdcached/db/localhost/df-media-fa36508a-b3c4-4499-b30a-711dd5994225/df_complex-used.rrd) failed with status -1. (/var/lib/rrdcached/db/localhost/df-media-fa36508a-b3c4-4499-b30a-711dd5994225/df_complex-used.rrd: illegal attempt to update using time 1467087313 when last update time is 1481819242 (minimum one second step))


    I've read that the time server could be an issue, but not sure how to procede, but it looks to my inexperienced eye as if something tries to update, but won't.
    My Raspberry constantly goes back to the wrong date, so the time issue may very well be the problem. I followed other posts to update the time, but after a reboot, it always goes back to January, although the actual time is sometimes correct.

    I'm not sure I follow. The DNS names do get resolved, and my router is linked via ADSL to a DNS server provided by my ISP.


    What should I point OMV DNS to?
    Must I use my router's IP (gateway address) as above or should I use an altogether different DNS address? My ISP provide 4 manual DNS servers if I need it, of which I can choose any two.

    Ok, I belive I've set the DNS server now.
    I've also tried four DNS IP's provided by my ISP. I've manually set the DNS servers in the ADSL router as well. All results are the same.

    Here it is.


    Thank you for helping.
    Here is the output. Remember its (only) a Raspberry Pi B+ that has been overclocked at 900MHz for years with one of the original Raspi images... So be gentle with it! LOL!


    I've deleted some line as I get a complaint that my message is too long. I'm attaching the full output.


    OK, I've done as you said and it is now working from at least one device! Too late at night now to check them all.
    Thank you sooo much.


    For now here is the run-down when adding existing folders.
    Create a "root" share and reset all permissions.
    Add other shares.
    Add users.
    Add privileges for users.
    Add CIFS/SMB shares.


    The only thing I seems to miss now, is to figure out the privileges and ACL permissions. I've left ACL as "root:user" but activated only the user privileges. The main thing is that each user get one "private" share only he/she has access to.


    regards

    Logging in as \\RASPBERRYPI\Media_folder\ has no effect.
    Strangely enough I can access the users folders from an Android device with ES File explorer using their credentials.
    From the word go, I can access with my name, Jacques, but I guess its only because I am administrator with root previleages.
    I've made the users owners of their own folder to no avail, I simply cannot access it with their credentials.


    Below is the output of ls -la.

    I've checked permissions on the file system itself, and found one or two mistakes. I used the "ls -l" command to see if permissions changed or not when I change it from the web interface, and it did. Below is some output, I've reset all permissions, so not all folders are set as wanted yet.


    Quote

    drwxrws---+ 14 Caira users 4096 Dec 9 21:57 Caira storage
    drwxrws---+ 2 Elmie users 4096 Jun 15 23:00 Elmie storage
    drwxrws---+ 4 Jacques users 4096 Dec 7 10:44 Jacques storage
    drwxr-s--- 2 root users 4096 Jun 15 21:55 Linux ISO
    drwxrws---+ 6 root users 4096 Dec 9 21:59 Media folder
    drwxr-s--- 5 root users 4096 Apr 18 2013 PC


    I am still unable to get access via any other user's credentials.
    I tried to map the network drive in the following way: Username: \\RASPBERRYPI\Caira and just Caira.
    Windows tell me username invalid.