Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ERP Next fails | no module 'nextcloud_intregation' found #26

@singhbabanjot

Description

@singhbabanjot

Description of the issue

Hello Team
I was trying to install nextcloud-integration in erpnext. But I am getting following error

16:10:58 schedule.1       | Traceback (most recent call last):
16:10:58 schedule.1       |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
16:10:58 schedule.1       |     "__main__", mod_spec)
16:10:58 schedule.1       |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
16:10:58 schedule.1       |     exec(code, run_globals)
16:10:58 schedule.1       |   File "/home/frappe/bench/apps/frappe/frappe/utils/bench_helper.py", line 99, in <module>
16:10:58 schedule.1       |     main()
16:10:58 schedule.1       |   File "/home/frappe/bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main

16:10:58 schedule.1       |     return get_file_items(os.path.join(os.path.dirname(get_module(app_name).__file__), "modules.txt"))
16:10:58 schedule.1       |   File "/home/frappe/bench/apps/frappe/frappe/__init__.py", line 870, in get_module
16:10:58 schedule.1       |     return importlib.import_module(modulename)
16:10:58 schedule.1       |   File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
16:10:58 schedule.1       |     return _bootstrap._gcd_import(name[level:], package, level)
16:10:58 schedule.1       |   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
16:10:58 schedule.1       |   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
16:10:58 schedule.1       |   File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
16:10:58 schedule.1       | ModuleNotFoundError: No module named 'nextcloud_integration'
16:10:58 system           | schedule.1 stopped (rc=1)
16:10:58 system           | sending SIGTERM to redis_cache.1 (pid 229)
16:10:58 system           | sending SIGTERM to redis_socketio.1 (pid 238)
16:10:58 system           | sending SIGTERM to redis_queue.1 (pid 242)
16:10:58 system           | sending SIGTERM to web.1 (pid 234)
16:10:58 system           | sending SIGTERM to socketio.1 (pid 239)
16:10:58 system           | sending SIGTERM to watch.1 (pid 245)
16:10:58 system           | sending SIGTERM to worker.1 (pid 262)
16:10:58 redis_queue.1    | 266:signal-handler (1690301458) Received SIGTERM scheduling shutdown...
16:10:58 redis_socketio.1 | 259:signal-handler (1690301458) Received SIGTERM scheduling shutdown...
16:10:58 redis_cache.1    | 233:signal-handler (1690301458) Received SIGTERM scheduling shutdown...
16:10:58 system           | worker.1 stopped (rc=-15)
16:10:58 system           | socketio.1 stopped (rc=-15)
16:10:59 redis_queue.1    | 266:M 25 Jul 2023 16:10:59.043 # User requested shutdown...
16:10:59 redis_queue.1    | 266:M 25 Jul 2023 16:10:59.043 * Removing the pid file.
16:10:59 redis_socketio.1 | 259:M 25 Jul 2023 16:10:59.044 # User requested shutdown...
16:10:59 redis_socketio.1 | 259:M 25 Jul 2023 16:10:59.044 * Removing the pid file.
16:10:59 redis_socketio.1 | 259:M 25 Jul 2023 16:10:59.060 # Redis is now ready to exit, bye bye...
16:10:59 system           | redis_socketio.1 stopped (rc=-15)
16:10:59 redis_queue.1    | 266:M 25 Jul 2023 16:10:59.072 # Redis is now ready to exit, bye bye...
16:10:59 system           | redis_queue.1 stopped (rc=-15)
16:10:59 redis_cache.1    | 233:M 25 Jul 2023 16:10:59.043 # User requested shutdown...
16:10:59 redis_cache.1    | 233:M 25 Jul 2023 16:10:59.044 * Removing the pid file.
16:10:59 redis_cache.1    | 233:M 25 Jul 2023 16:10:59.060 # Redis is now ready to exit, bye bye...
16:10:59 system           | redis_cache.1 stopped (rc=-15)
16:10:59 system           | watch.1 stopped (rc=-15)
16:10:59 system           | web.1 stopped (rc=-15)
=============================================
ERROR: entrypoint command failed to start
=============================================

I have been following these command

bench get-app https://github.com/frappe/nextcloud-integration.git

bench --site {site_name} install-app nextcloud_integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions