cloud-py-api / mediadc

Nextcloud Media Duplicate Collector application
https://apps.nextcloud.com/apps/mediadc
GNU Affero General Public License v3.0
94 stars 7 forks source link

nohup: can't execute '.../main.py' No such file or directory #206

Open slothds opened 10 months ago

slothds commented 10 months ago

Describe the bug When task first created its remains in "Pending" state. And in log file appeared error:

nohup: can't execute '..../data/appdata_...../mediadc/main.py': No such file or directory

After restart task its executed normally.

my config options:

To Reproduce Steps to reproduce the behavior:

  1. Go to 'MediaDC'
  2. Click on 'Tasks'
  3. Select target dirs
  4. Click on 'Run new Task'

Expected behavior New task run normally

Desktop (please complete the following information):

Additional context My NextCloud instance runned on alpine linux inside docker container. Python and all required libraries installed

python3 -m pip list

Package         Version
--------------- -------
asn1crypto      1.5.1
cffi            1.16.0
cryptography    41.0.5
hexhamming      2.2.3
nc-py-api       0.0.11
numpy           1.26.2
packaging       23.1
pg8000          1.30.3
pi-heif         0.13.1
Pillow          10.1.0
pillow-heif     0.13.1
pip             23.1.2
pycparser       2.21
PyMySQL         1.1.0
PyNaCl          1.5.0
pyparsing       3.0.9
python-dateutil 2.8.2
PyWavelets      1.5.0
scipy           1.11.4
scramp          1.4.4
setuptools      67.7.2
six             1.16.0
supervisor      4.2.5
gymnae commented 5 months ago

I faced the same bug and restart helped