m4heshd / ufc-ripper

📹 Video downloader tool for UFC Fight Pass 🥊
MIT License
31 stars 2 forks source link

Files not available in downloads folder #11

Open shameez-struggles-to-commit opened 3 weeks ago

shameez-struggles-to-commit commented 3 weeks ago

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:

thank you in advance! -Shameez

m4heshd commented 3 weeks ago

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.

shameez-struggles-to-commit commented 3 weeks ago

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 commented 3 weeks ago

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.