Git Product home page Git Product logo

Comments (6)

kloon15 avatar kloon15 commented on June 9, 2024 1

U didnt specify a target for the first 2 mounts, heres an example with 2 different locations mounted under /srv:

services:
  filebrowser:
    volumes:
      - /home/nginx/filebrowser:/srv
      - /home/qbittorrent/Downloads:/srv/Torrents

from filebrowser.

Reoga avatar Reoga commented on June 9, 2024 1

Resolved by update on repository side + script example. Thank you.

from filebrowser.

Reoga avatar Reoga commented on June 9, 2024

Oh yeah, using v2.29.0 of FileBrowser

from filebrowser.

kloon15 avatar kloon15 commented on June 9, 2024

Did u create the database.db file beforehand? Docker has a habit or creating directory mount if no such file exists.
Also u didnt mount ur 2 shares under /srv which is most likely ur issue.

from filebrowser.

Reoga avatar Reoga commented on June 9, 2024

Did u create the database.db file beforehand? Docker has a habit or creating directory mount if no such file exists. Also u didnt mount ur 2 shares under /srv which is most likely ur issue.

Thank you for the response.
I am trying to figure out what you are talking about.
So, I verified the database.db exists. It is in the FileBrowser dir; but just in case, I made another using the same code at the root as the starting point. The tutorial is unclear on the place to run the script from. I just assumed it was from the FileBrowser dir as that is were you are when you get to the step.

I have never opened the database.db file, so i don't know what is in it.

I am 100% sure it is mounted, but, if you think that will help, I unmounted the drive, and created a new mount.

No change to FileBrowser, still no function, or second drive.

some screenshots to show the changes. At this point, I think I would benefit from some examples if I did something wrong.

As far as the drives: no mater how I mount them, nothing changes.
As far as the database.db: It seems to be none functional. I even tried installing mysql to see if that would solve it. I know it is not in the instructions to do so, but I am pulling my hair out at this point.

1
2
3
4

from filebrowser.

Reoga avatar Reoga commented on June 9, 2024

You are absolutely correct. (thank you for the example, that helped a lot!)
I have good news!
Last night around 2am I was getting ready to try and follow another tutorial for an alternate file share, and started with update, as you do. Well, I do it first, then again after right before deployment.

Anyways: It pulled a 33kb update from FileManager master repository. So I tried to deploy it again, just to see if something changed, and got an error for drive mounting. My second drive had been unmounted. (never got any errors for mounting prior to this, even when it was absurdly wrong). Saw your post, and corrected the mount pointer. (Thank you)
So I mounted it again, and got another error for a file permission/access denied. Remember, I elevated main user to root. (i know, bad idea) The error said it couldn't write to user profile for permissions. So, i changed the account back to a sudo user. Rebooted.

These are all new errors I was not getting before, so I am getting exited at this point. I can work with errors. No errors are a pain.

Well, I ran the server, and tried to upload a photo, and it worked. Tried to make a folder, and success! Made new users.... and no 500 error!!!
AND: My second drive is there!!, however the main drive with the OS is no longer showing up, but who cares!! It is just a 128gb main drive. The second one is the one i wanted to use as the repository for my files, 8TB. Works great now. I have no idea what was done in that 33kb update, but i suspect it was someone on the repository side that saw something wrong, then corrected it. That person is my hero!

from filebrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.