Giter VIP home page Giter VIP logo

Comments (7)

kiarn avatar kiarn commented on September 26, 2024

Hello,

The systemd service is only an utility to run a single command as daemon. Did you try to run this command manually ?

/usr/bin/python3 /usr/local/bin/ajenti-panel -d --stock-plugins --plugins /usr/lib/linuxmuster-webui/plugins

(in not venv installation)

You can maybe find some usefull errors in /var/log/ajenti

Arnaud

from ajenti.

ZGLinus avatar ZGLinus commented on September 26, 2024

Here is the ajenti log

2023-10-10 09:46:59,260 INFO    : Loading config from /etc/ajenti/config.yml
2023-10-10 09:46:59,287 INFO    : Loading users from /etc/ajenti/users.yml
2023-10-10 09:46:59,290 INFO    : Loading smtp config from /etc/ajenti/smtp.yml
2023-10-10 09:46:59,291 ERROR   : Smtp credentials file "/etc/ajenti/smtp.yml" not found
2023-10-10 09:46:59,292 INFO    : Loading tfa config from /etc/ajenti/tfa.yml
2023-10-10 09:46:59,292 INFO    : Ajenti Core 2.2.7
2023-10-10 09:46:59,293 INFO    : Master PID - 553
2023-10-10 09:46:59,293 INFO    : Detected platform: debian / Ubuntu 18.04.5 LTS
2023-10-10 09:46:59,293 INFO    : Python version: 3.7.11
2023-10-10 09:46:59,374 ERROR   : Fatal crash occured
2023-10-10 09:46:59,402 ERROR   : Crash report written to /var/log/ajenti/crash-2023-10-10-09h46.txt
2023-10-10 09:46:59,403 ERROR   : Please submit it to https://github.com/ajenti/ajenti/issues/new

Here is the crash-2023-10-10-09h46.txt

Ajenti bug report
--------------------


Info | Value
----- | -----
Ajenti | 2.2.7
Platform | debian / ubuntu / Ubuntu 18.04.5 LTS
Architecture | aarch64
Python | 3.7.11
Debug | False
Loaded plugins |

Library | Version
------- | -------
gevent | 22.10.2
greenlet | 22.10.2
psutil | 5.9.5


    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/dist-packages/aj/entry.py", line 29, in start
        aj.core.run(dev_mode=dev_mode, **kwargs)
      File "/usr/local/lib/python3.7/dist-packages/aj/core.py", line 145, in run
        PluginManager.get(aj.context).load_all_from(aj.plugin_providers)
      File "/usr/local/lib/python3.7/dist-packages/aj/plugins.py", line 270, in load_all_from
        found += provider.provide()
      File "/usr/local/lib/python3.7/dist-packages/aj/plugins.py", line 45, in provide
        for _dir in os.listdir(self.path):
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/linuxmuster-webui/plugins'

from ajenti.

kiarn avatar kiarn commented on September 26, 2024

Oh sorry, my bad, I gave you a wrong command with extra plugins !

That's the good one:

/usr/bin/python3 /usr/local/bin/ajenti-panel -d --stock-plugins

from ajenti.

ZGLinus avatar ZGLinus commented on September 26, 2024

Here is the ajenti log

2023-10-10 14:47:57,363 INFO    : Loading config from /etc/ajenti/config.yml
2023-10-10 14:47:57,385 INFO    : Loading users from /etc/ajenti/users.yml
2023-10-10 14:47:57,388 INFO    : Loading smtp config from /etc/ajenti/smtp.yml
2023-10-10 14:47:57,389 ERROR   : Smtp credentials file "/etc/ajenti/smtp.yml" not found
2023-10-10 14:47:57,390 INFO    : Loading tfa config from /etc/ajenti/tfa.yml
2023-10-10 14:47:57,390 INFO    : Ajenti Core 2.2.7
2023-10-10 14:47:57,391 INFO    : Master PID - 7723
2023-10-10 14:47:57,391 INFO    : Detected platform: debian / Ubuntu 18.04.5 LTS
2023-10-10 14:47:57,391 INFO    : Python version: 3.7.11

But after that, I found something interesting in systemctl

ajenti.service: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /var/run/ajenti.pid

Maybe there are something wrong in the ajenti.service.

from ajenti.

ZGLinus avatar ZGLinus commented on September 26, 2024

I found something interesting again.
When I run the command with "sudo" in normal user, it did work. But when I run it in root, the command didn't work and there were nothing new in the ajenti log.

from ajenti.

kiarn avatar kiarn commented on September 26, 2024

Thanks for your description!
I think I will need to dive a little more in the systemd configuration in order to understand why the pidfile is a problem for some architectures.

from ajenti.

stale avatar stale commented on September 26, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days unless you comment.
Thank you for your contributions.

from ajenti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.