Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files not available in downloads folder #11

Open
shameez-struggles-to-commit opened this issue Jun 8, 2024 · 3 comments
Open

Files not available in downloads folder #11

shameez-struggles-to-commit opened this issue Jun 8, 2024 · 3 comments
Labels
needs-debugging 🪲 This issue needs debugging to further narrow it down waiting-author-response ⏳ The issue is blocked till the author responds

Comments

@shameez-struggles-to-commit

Hi there!

First of all - thank you for developing and maintaining this project!

I installed through docker on a Mac. The application starts in my browser, my credentials load, and it shows the file has successfully downloaded, but the file is not in the download folder.

The download folder is successfully created when I spin up the container - which leads me to believe that my config is setup correctly, but no downloads appear within the folder.

Do you know what might be causing this?

My setup and config file below:
Mac OS Ventura 13.6.6
Docker version 24.0.6

Config File:
ufc-ripper:
image: m4heshd/ufc-ripper:latest # Using the latest version of the official image
container_name: ufc-ripper
restart: unless-stopped
volumes:
- /Users/shameez/Documents/Config/UFCRipper/:/ufcr/config # Any configuration files will be stored here
- /Users/shameez/Downloads/Complete/ufc-ripper/:/downloads # Downloaded videos will be stored here
ports:
- "8383:8383" # Web UI port

thank you in advance!
-Shameez

@m4heshd
Copy link
Owner

m4heshd commented Jun 8, 2024

Hi,

The download folder is successfully created when I spin up the container

This should happen because Docker will immediately create any non-existent mounted volumes on both ends, as soon as you start the container.

It seems like the files are being downloaded into a different directory inside the docker volume. The app's logic is written to determine the download path automatically depending on the environment it's running in. Can you start the process over and do the following?

  1. Spin up a new container without a config file (it should create a default config file).
  2. Try to download something and check if the downloaded files are there
  3. Copy and paste the content of your config here (make sure to remove sensitive information like authToken, refreshToken, and user from the config)

I need to check if the app is properly building the download location inside the container.

BTW, you can also browse the files inside a container's volume via the Docker desktop GUI. It highlights changed files or directories. You can check if the files are being downloaded into a different location using those updated directories on the file tree.

@m4heshd m4heshd added the waiting-author-response ⏳ The issue is blocked till the author responds label Jun 8, 2024
@shameez-struggles-to-commit
Copy link
Author

Thanks for the response! When I try loading the container without a config file, the webpage either doesn't load or says looking for backend.

I was able to find the files inside the container volume via the Docker desktop GUI - this was super helpful and I was able to use this method to transfer to my desktop!

Thanks,
Shameez

@m4heshd
Copy link
Owner

m4heshd commented Jun 9, 2024

I was able to find the files inside the container volume via the Docker desktop GUI - this was super helpful and I was able to use this method to transfer to my desktop!

Can you tell me where the files actually were? This is a bug which needs to be fixed. Also, when you start the application without a config file, what was the error that appeared in the docker console?

From what I can tell, it seems like the application is missing write permission for whatever directories you're mounting to it. It would be helpful to debug this and let the users know in such case.

@m4heshd m4heshd added the needs-debugging 🪲 This issue needs debugging to further narrow it down label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-debugging 🪲 This issue needs debugging to further narrow it down waiting-author-response ⏳ The issue is blocked till the author responds
Projects
None yet
Development

No branches or pull requests

2 participants