Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

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

Open

Description

@slothds

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:

  • nc_py_api
    • python_command: "/usr/bin/python3"
    • php_path: "/usr/local/bin/php"
    • use_php_from_settings: true
  • mediadc
    • python_binary: false
    • python_limit: 5
    • hashing_algorithm: phash

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):

  • OS [Alpine Linux 3.18]
  • CPU [ARM64 (aarch64)]
  • Nextcloud version [27.1.3]
  • Database configuration [mariadb 10.5]
  • Python version [3.11.6]
  • MediaDC version [0.3.7]
  • cloud_py_api version [0.1.8]

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

Activity

  1. gymnae commented on Apr 16, 2024

    @gymnae

    I faced the same bug and restart helped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions