You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When adding a directory to scan, I can see the content in Nextcloud, but from the MediaDC tab I cannot see any files. On top of that it just pends forever, possibly because it thinks there are no files?
Oddly enough if I select it regardless it is showing that there are files in there, and the files are JPEG and PNG so there shouldn't be an issue with that.
While looking at the MediaDC log, I found the following.
Traceback (most recent call last):
File "/app/www/public/apps/mediadc/main.py", line 4, in
from nc_py_api import CONFIG
ModuleNotFoundError: No module named 'nc_py_api'
I'm not sure why this is happening since I am using docker-compose and the mods to install MediaDC. Here is the docker compose:
#########################################################
nextcloud:
image: lscr.io/linuxserver/nextcloud
container_name: nextcloud
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
- DOCKER_MODS=linuxserver/mods:nextcloud-mediadc
volumes:
- ${HomeLocation}/config/nextcloud/config:/config #this is config to the host server running ubuntu
- nextcloud:/data #this is to external storage on a windows machine
- pictures:/data/pictures #this is to external storage on a windows machine
depends_on:
- mariadb
networks:
- swag_default
restart: always
After running the docker compose and setting up the database I then installed cloud py API and then MediaDC
Went to the MediaDC tab and added the directory
I have tried to run the command python3 -m pip install -r requirements.txt, thinking maybe something was missing, but everything was already installed, so nothing changed there.
Expected behavior
To be able to see the files in the directory from MediaDC and for the app to scan the folder
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Ubuntu 22.0 which holds all config files, however I am storing all the data to a Windows 11 machine and mounting those as CIFS volume, these are the /data and /data/pictures volumes. MariaDB is on the ubuntu machine.
Unfortunately I am not familiar with this setup, but we do not changed anything in last 6-8 months.
Looks like it is a manual setup, right? I mean Python part is executing on the system python intepreter?
@listinfm It doesn't show files because it's filtered to show only directories to choose. You will not be able to start a task if there are no valid files to scan (depending on chosen target mime type) inside selected directories.
Describe the bug
![image](https://private-user-images.githubusercontent.com/71113565/294777430-7fd6c31e-a84b-4e5a-b595-480cf09b0467.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MTI3NTksIm5iZiI6MTcyNDYxMjQ1OSwicGF0aCI6Ii83MTExMzU2NS8yOTQ3Nzc0MzAtN2ZkNmMzMWUtYTg0Yi00ZTVhLWI1OTUtNDgwY2YwOWIwNDY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDE5MDA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmMzBlNzQwM2NhMTJjY2E4NzUxODViZGMyN2I1ZGZkMDdhY2Y0MmRmODFiNzJhOGMwYmI2OTViYTI3YmNkNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.O5VyeijxShBnXcwTPNkCsIk39XIeCHiscKyH0pG9B-0)
When adding a directory to scan, I can see the content in Nextcloud, but from the MediaDC tab I cannot see any files. On top of that it just pends forever, possibly because it thinks there are no files?
Oddly enough if I select it regardless it is showing that there are files in there, and the files are JPEG and PNG so there shouldn't be an issue with that.
![image](https://private-user-images.githubusercontent.com/71113565/294777498-26e7d106-9497-4c59-be32-25c7c07bc87f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MTI3NTksIm5iZiI6MTcyNDYxMjQ1OSwicGF0aCI6Ii83MTExMzU2NS8yOTQ3Nzc0OTgtMjZlN2QxMDYtOTQ5Ny00YzU5LWJlMzItMjVjN2MwN2JjODdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDE5MDA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiNDk5YzBhODUyZWNlYjZiNjU2OThlYjc0NTVmMGU4NDNjN2MwMjIwYTA5ZWI1MTc3NjgzMDk4NmVmNzU5NDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cyNINpFEGEeTX3VeUuKe7yBADv_OoMnrpM3S6rTNzHM)
While looking at the MediaDC log, I found the following.
Traceback (most recent call last):
File "/app/www/public/apps/mediadc/main.py", line 4, in
from nc_py_api import CONFIG
ModuleNotFoundError: No module named 'nc_py_api'
I'm not sure why this is happening since I am using docker-compose and the mods to install MediaDC. Here is the docker compose:
#########################################################
nextcloud:
image: lscr.io/linuxserver/nextcloud
container_name: nextcloud
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
- DOCKER_MODS=linuxserver/mods:nextcloud-mediadc
volumes:
- ${HomeLocation}/config/nextcloud/config:/config #this is config to the host server running ubuntu
- nextcloud:/data #this is to external storage on a windows machine
- pictures:/data/pictures #this is to external storage on a windows machine
depends_on:
- mariadb
networks:
- swag_default
restart: always
#########################################################
mariadb:
image: lscr.io/linuxserver/mariadb
container_name: mariadb
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
- MYSQL_ROOT_PASSWORD=mariadbpassword
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=ncuser
- MYSQL_PASSWORD=ncpassword
volumes:
- ${HomeLocation}/config/nextcloud/mariadb-container:/config
networks:
- swag_default
restart: always
To Reproduce
Steps to reproduce the behavior:
I have tried to run the command python3 -m pip install -r requirements.txt, thinking maybe something was missing, but everything was already installed, so nothing changed there.
Expected behavior
To be able to see the files in the directory from MediaDC and for the app to scan the folder
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
cloud_py_api
version 0.1.9{
"nextcloud-version": "28.0.1.1",
"app-versions": {
"cloud_py_api-version": "0.1.9",
"mediadc-version": "0.3.8"
},
"is-videos-supported": true,
"is-snap": false,
"arch": "amd64",
"webserver": "nginx/1.24.0",
"database": {
"type": "mysql",
"version": "10.11.5",
"size": "215154688"
},
"php-version": "8.2.13",
"php-interpreter": "php",
"python-interpreter-setting": "/usr/bin/python3",
"os": "Linux",
"os-release": "6.2.0-39-generic",
"machine-type": "x86_64"
}
Thanks for your help!
The text was updated successfully, but these errors were encountered: