500 internal server error when mounting drive

  • KM0201

    Hat das Thema freigeschaltet.
  • Error message too long cannot post in here,



    Your drive is Read-Only.


    Post each of the outputs inside CODE boxes (symbol </> on the BLUE banner)


    cat /etc/fstab

    sudo omv-showkey fstab

    blkid

    lsblk

    sudo fdisk -l | grep "Disk "

  • Code
    blkid
    /dev/mmcblk0p1: LABEL_FATBOOT="bootfs" LABEL="bootfs" UUID="0B22-2966" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="ddf64389-01"
    /dev/mmcblk0p2: LABEL="rootfs" UUID="3ad7386b-e1ae-4032-ae33-0c40f5ecc4ac" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ddf64389-02"
    /dev/sda1: UUID="a5509997-df6f-4388-a9b3-d62a33020c9e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0949b162-bbc5-40e2-9d36-1b7eb60dddc3"
    /dev/sdb1: UUID="96cf22db-14dd-40ae-b917-60e1110dc32e" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d95f2c65-e969-4873-88ef-283bedbcc663"
    /dev/sdc1: UUID="d779c748-c8a7-4e34-9240-da5c5a3917dc" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d9a3748a-4fbf-46d3-bb1f-9e79fe1f4a23"
    /dev/sdd1: UUID="e69bdfc6-9d0f-4f54-a780-a400120d4859" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="02b11d05-d65a-4b07-8792-91bfbaf67d3e"






  • Will sudden power outage will cause this issue? because I never shut down my NAS and recently just found out it was offline


    At first, I thought it was sd card corrupted and I switched to a new sd card for the os drive. Then I encountered this error.

  • Will sudden power outage will cause this issue?

    What do you think? No electronics component like to be cut out of power without a proper shutdown.

    A UPS save a lot of problems.


    Onward with the issue:

    You didn't post the output of lsblk


    Nonetheless, your system is borked. The picture you posted of your FS doesn't match the outputs you posted.

    According to the showkey, you only have 2 drives referenced + the rootFS (which is the SDcard) but on the picture, you have the 32Gb drive as VFAT which should be a /dev/mmcblk and NOT a /dev/sdd.


    Also, your fstab shows 3x drives that also don't match the showkey output.

    Fixing this requires too much back and forth posts which I don't have time for it.

    Maybe someone else will be willing to.


    Honestly, you'll be better off starting with a fresh install with the drives unplugged.

    After OMV is installed and running, power down and reconnect the drives.

    All it's needed is to go to the File Systems page and mount them (NOT create)

  • Will try fresh install without those drives, thanks.


    Hopefully can fix

  • Now able to share drive but smb asked for network credential, it does not work when I entered username and password based on the pi

  • Still have 500 internal server error when I try to compose docker

    Please, stick to post errors here.


    You need to set your time correct first.

    Make sure that the time on the GUI is correct.


    As for SMB, see the wiki guides because everything is explained there.

    I don't use SMB so, can't help you there.

  • Sorry for the troubles... fixed by multiple times fresh install but SMB still have issue when comes to network credential. Maybe is because of the drives or somehow ...


    Feel free to close this thread... thanks for the help.

  • Sorry for the troubles... fixed by multiple times fresh install but SMB still have issue when comes to network credential. Maybe is because of the drives or somehow ...


    Feel free to close this thread... thanks for the help

    On the CLI try setting/resetting the SMB password of the user you use for login credentials with the command smbpasswd

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!