Welcome to the Ajenti Idea Exchange. It's your chance to collaborate with our team and other users to influence the future of Ajenti! Ideas appreciated.

0

Is IPC command vmail usable?

Zerobscure vor 5 Jahren aktualisiert vor 5 Jahren 0

Ive been trying to configure the mail password reset trough courierpassd and succeded now the problem is that when I create a new mail account ajenti rewrites the password with the one that is saved in the mail.json archive.

Searching Ive found the ajenti-ipc vmail command but I cannot get it to work, it gives me a 500 Internal Server Error with this error in the ajenti log:

2019-05-29 14:22:42,616 INFO ipc.ipc_application(): IPC: vmail ['apply']
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/pywsgi.py", line 884, in handle_one_response
self.run_application()
File "/usr/lib/python2.7/dist-packages/gevent/pywsgi.py", line 871, in run_application
self.process_result()
File "/usr/lib/python2.7/dist-packages/gevent/pywsgi.py", line 860, in process_result
for data in self.result:
TypeError: 'NoneType' object is not iterable
{'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT_ENCODING': 'identity',
'HTTP_HOST': 'localhost',
'PATH_INFO': 'vmail/YXBwbHk=',
'QUERY_STRING': '',
'REMOTE_ADDR': 'ipc',
'REMOTE_PORT': '0',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': '',
'SERVER_PORT': '',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'gevent/1.1 Python/2.7',
'wsgi.errors': ', mode 'w' at 0x7fb6c88051e0>,
'wsgi.input': ,
'wsgi.multiprocess': False,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)} failed with TypeError

, but using the command ajenti-ipc v returns me a 200OK status. 

I was messing with the ipc.py file in /var/lib/ajenti/plugins/vh to see if the command vmail exists but is not there and I was trying to see if I could find it in others files to no avail.

So my question is if this command is still usable or not, because I have another installation of ajenti and the command doesn't work in there too.

My Ajenti version is v1.2.23.13 by the way.

Thank you in Advance

0

How to make subdomains pointing to files

R_O vor 5 Jahren aktualisiert vor 5 Jahren 0

Hi,

I am new in Ajenti and I want to create subdomains pointing to files. I know it is easy to make them pointing to a directory, but I do not know what to make by the GUI and what directly on the configuration files and which ones.

What I need is If < example.com > opens < /var/www/example.com/html/index.html >

How do I get this?:

< file1.example.com > opening < /var/www/example.com/html/file1.php >

< file2.example.com > opening < /var/www/example.com/html/file2.php >

< file99.example.com > opening < /var/www/example.com/html/file99.php >

Thank you

0

Issue with default webpage redirection

Stephanos vor 5 Jahren 0

Hi,

I'm having an issue with the following (not sure when this started but I noticed this when a customer changed it's domain name).

--> When I browse to an url which links to my Ajenti server (with Nginx) but the domainname is not known by Ajenti it opens up one of the other websites that are being hosted there. 

I tested this by making a dummy record to point to my IP and there it does the same...

How can I set Ajenti to open up a default page I create when the incomming domain is not known?

Thanks

0

config catchall mail

Raafat vor 6 Jahren 0

Hello, 

i'm using odoo as a ERP and i need to route all incoming mails to catchall@mydomain.co

so how to create default mail address from ajenti v to catch all mails coming to the domain ?

Thank you.

0

Setting up a Erpnext website with Ajenti V (reverse proxy)

Faesal vor 6 Jahren 0

Hello,

I have Ajenti V v1.2.23.13 installed on Ubuntu 18.04 server.

and I plan to integrating Erpnext to ajenti as nginx reverse proxy.

this nginx.conf generated by erpnext

nginx.conf

I try to input this on content tab as reverse proxy but always get directive error.

How to do it? any idea?


Thank you,

0

Restricted access to user database and ?

tomislavrumenovvasilev vor 6 Jahren 0

How i can restrict user to have access only to him database and file manager ?

0

Custom SSL Installation Guide

Brad Cole vor 6 Jahren 0

Hi,

I need step-by-step guide to install custom SSL on my Ajenti-V, I have purchased my SSL from thirparty vendor and they provide me CRT files of the certificate.

0

Please Setting up the website with Flask ?

jason vor 6 Jahren 0

This is not explained in any way!
Please give someone a full tutorial

0

Pure FTPD-Server Error

omen_87 vor 6 Jahren 0

i try to install the ajenti-v-ftp-pureftpd but i get an error:



********@**********:~# apt-get install ajenti-v-ftp-pureftpd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
ajenti-v-ftp-pureftpd ist schon die neueste Version (0.1.10).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
pure-ftpd (1.0.46-1build1) wird eingerichtet ...
/var/lib/dpkg/info/pure-ftpd.postinst: 34: /var/lib/dpkg/info/pure-ftpd.postinst: update-inetd: not found
dpkg: Fehler beim Bearbeiten des Paketes pure-ftpd (--configure):
installed pure-ftpd package post-installation script subprocess returned error exit status 127
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von ajenti-v-ftp-pureftpd:
ajenti-v-ftp-pureftpd hängt ab von pure-ftpd; aber:
Paket pure-ftpd ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes ajenti-v-ftp-pureftpd (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
pure-ftpd
ajenti-v-ftp-pureftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

I also tryed apt-get purge ajenti-v-ftp-pureftpd and remove -ajenti-v-ftp-pureftpd...

but nothing happens

sry for my bad englisch

0

Config file "" not found​

picarda vor 6 Jahren 0

Hello, I'm facing this issue:

ERROR    ajenti-panel.<module>(): Config file "" not found