Comments (7)
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.
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.
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.
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.
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.
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.
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)
- [BUG] Error when Closing Handle in gipc.gipc: GIPCLocked Exception HOT 2
- Reboot does not work HOT 1
- Connecting to ajenti on Ubuntu 22.04 HOT 2
- Does this project provide commercial support? HOT 2
- “Available plugins” take a long time to load on Debian 11.7 HOT 2
- Docker images and containers are not shown in the plugin - venv incompatibility? HOT 3
- Nginx configuration HOT 4
- Error: $q is not defined HOT 2
- crash-2024-01-01-20h39.txt HOT 2
- Ntg
- cara mengatasi ini di debian 10 (how to solve this problem on debian10) HOT 2
- Ajenti not catching IP Tables root permissions error HOT 1
- Error upgrading from 2.2.7 to 2.2.9 HOT 1
- fail to install debian bookworm HOT 8
- unmet dependencies python HOT 1
- Feature request: installing and running ajenti as its own user in a venv HOT 1
- curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s -
- Can it be (mis)used to execute custom commands? HOT 6
- ajenti crash report HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ajenti.