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

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

Open
slothds opened this issue Nov 20, 2023 · 1 comment
Open

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

slothds opened this issue Nov 20, 2023 · 1 comment

Comments

@slothds
Copy link

slothds commented Nov 20, 2023

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
@gymnae
Copy link

gymnae commented Apr 16, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants