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.


Error with nginx (Jooma config)

Ngô Nhật Huy 3 years ago • updated by Lynx.Luo 2 years ago 2
When I add follow https://docs.joomla.org/Nginx#Configure_Nginx
server {
        listen 80;
        server_name angelnails.manchieucong.com;
        server_name_in_redirect off;

        access_log /var/log/nginx/localhost.access_log;
        error_log /var/log/nginx/localhost.error_log info;

        root /srv/angelnails;
        index index.php index.html index.htm default.html default.htm;
        # Support Clean (aka Search Engine Friendly) URLs
        location / {
                try_files $uri $uri/ /index.php?$args;

        # deny running scripts inside writable directories
        location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ {
                return 403;
                error_page 403 /403_error.html;

        location ~ \.php$ {
            fastcgi_index index.php;
            include fastcgi_params;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include /etc/nginx/fastcgi.conf;

        # caching of files 
        location ~* \.(ico|pdf|flv)$ {
                expires 1y;

        location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$ {
                expires 14d;

nginx service is stop
When I use service nginx restart
Starting nginx: nginx: [emerg] "server" directive is not allowed here in /etc/nginx/conf.d/angel-nails.conf:18
nginx: configuration file /etc/nginx/nginx.conf test failed

I don't know what is wrong.
Help me.

IMAP Trouble

53RG0 2 years ago • updated 2 years ago 5

IMAP server does not work, but SMTP works fine.
I dont know what to do... help pls

Under review

Ajenti v + Unicorn + RVM

Edgar Damasceno 4 years ago • updated by Павел Мостовой 3 years ago 2
Good morning,
After of the "ajenti v" Installation, the option "puma" does not appear, only "unicorn".
How do I configure an application with rails, rvm and unicorn?
My application uses version 1.9.3 via rvm.

The stack: http://pastebin.com/RJL9ay9s



Plugins should use existing configuration

Thibaut 4 years ago • updated by Eugene Pankov (Project coordinator) 4 years ago 4

When you add a new plugin to Ajenti, please don't overwrite existing configuration files. I just noticed that I lost all my previous Fail2ban conf and that all my websites were down because of that. I updated Ajenti yesterday in the evening and noticed that issue only today morning. Because of course, I didn't think that updating the Ajenti package would bring my firewall down.

You should even warn us when existing configuration files will be overwritten...

Are you 100% sure that your existing config got completely erased? There's nothing in the fail2ban plugin that automatically touches the existing configuration at the moment. Only case when files can get overwritten by Ajenti is when configuring Ajenti V, and then there's a warning about that.

Permission denied when changing port

Crazy Raisin 3 years ago 0
I am wanting to create a domain and set port to 770 mainly for the ftp since this would be for storage but got the following error:

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: [emerg] bind() to failed (13: Permission denied) nginx: configuration file /etc/nginx/nginx.conf test failed

What am I setting up wrong?

Broken packages when installing [UBUNTU]

Noel Issa 3 years ago • updated by Roberto Giuffrè 2 years ago 1

I am following instructions to set up Ajenti on my server.

When I get to

sudo apt-get install ajenti

I get the following error :

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:<br/>
	ajenti:  Depends: python-gevent-socketio but it is not going to be installed
	         Depends: python-reconfigure (>= 0.1.46) but it is not going to be installed
	         Depends: python-passlib but it is not going to be installed
	         Depends: python-requests (>= 0.12.0) but it is not going to be installed
	         Depends: python-catcher but it is not going to be installed
E: Broken Packages
Everything before this has worked perfect. I checked /etc/apt/sources.list and "deb http://repo.ajenti.org/ng/debian main main ubuntu" is listed
Under review


Иван Шушкин 4 years ago • updated 4 years ago 2
Здравствуйте, у меня почему то в терминале не работает пробел и кнопка "удалить"

Plugin Template(s)?

godzilla8nj 4 years ago • updated by Eugene Pankov (Project coordinator) 4 years ago 0
I am using Ajenti as a web-based administration panel for a free turn-key web kiosk I designed. I have read through the docs for creating my first Ajenti plugins but am a bit out of my element.

The first plugin I want to write would be a table of variable names and values. It would read a file (Opera's operaprefs.ini) and, if the variable exists in the file, would populate the value in Ajenti. All values would be editable. Clicking a Save button would write to the file. (Essentially would be remote access for opera:config.)

The second plugin would be a form comprised of radio buttons (switch options for Opera's kiosk mode.) Selections would be used to create a string (For example: "-kioskmode -nocontextmode -nodownload") that would be written to a config file.

The third plugin would be a form comprised of radio buttons and associated text boxes (switch options for glslideshow.) Selections would be used to create a string (For example: "-zoom 100 -duration 8 -fade 3 -clip") that would be written to a config file.

I was wondering if anyone had written a plugin similar to any of these that I could use as a template, or if anyone would donate some time to help me get started?
Hello, you can use existing simple plugins such as Hosts as examples, and also refer to examples from documentation. Mail me at e@ajenti.org if you run into problems.
Under review

PureFTP not found

vin 4 years ago • updated by Eugene Pankov (Project coordinator) 4 years ago 1
Error Downloading Packages:
pure-ftpd-1.0.30-1.el6.x86_64: failure: pure-ftpd-1.0.30-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
ajenti-v-ftp-pureftpd-0.1.4-1.noarch: failure: ajenti-v-ftp-pureftpd-0.1.4-1.noarch.rpm from ajenti: [Errno 256] No more mirrors to try.
postgresql-libs-8.4.20-1.el6_5.x86_64: failure: Packages/postgresql-libs-8.4.20-1.el6_5.x86_64.rpm from updates: [Errno 256] No more mirrors to try.

NGINX reverse proxy of Ajenti doesn't work on Ubuntu 14.04

KeviNaomi Shenk 4 years ago • updated by Eugene Pankov (Project coordinator) 4 years ago 3
I have two servers I migrated to Ubuntu 14.04, and both of them have the same problem. Whereas previously, I could use nginx to serve the Ajenti control panel through reverse proxy, I now am unable to access Ajenti beyond the login screen. The main screen appears with the toolbar, but the loading gears just spin for an infinite amount of time, without loading any other components.  Ajenti still works fine if I load it through port 8000.

Quite a few errors are displayed in the ajenti log, I've pasted some here: http://pastebin.com/BF4NB5DY

I've also pasted my NGINX config here: http://pastebin.com/2kTdRyTv