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

Ajenty user cant create database

Asrar 8 years ago updated 8 years ago 0

Hello all,

ajenty user cant create database even if user have checked Software | Mysql list. How to solve this?



0

How to Install NodeBB in ajenti?

Roy Miller 8 years ago 0

How can i install NodeBB in ajenti panel?


How can i install multiple NodeBB in single server or can i setup multiple forum using a single NodeBB installation?

0

Subdomain Problem

Fragz 8 years ago updated 8 years ago 1

Hello,


I Setup my website (test.com) ist runs an nodebb Forum. So i want an subdomain super.test.com. I setup a new "Website". But the subdomain shows the nodebb Forum instead the /srv/super.test.com Site. have anybody an idea?


my Config looks like:


#AUTOMATICALLY GENERATED - DO NO EDIT!


server {
listen 80;
server_name super.test.com;

}

server {
listen *:433 ssl;
ssl_certificate /etc/letsencrypt/live/super.test.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/super.test.com/privkey.pem;
server_name super.test.com;

access_log /var/log/nginx/super.access.log;
error_log /var/log/nginx/super.error.log;

root /srv/super.test.com;
index index.html index.htm index.php;

ssl on;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.2;
ssl_ciphers "EECDH+AES:EDH+AES:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4";
add_header Strict-Transport-Security max-age=15768000;


location ~ [^/]\.php(/|$) {
alias /srv/super.test.com;


fastcgi_index index.php;
include fcgi.conf;
fastcgi_pass unix:/var/run/ajenti-v-php-fcgi-plex-php-fcgi-0.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

}


location / {
alias /srv/super.test.com;




}

}




0

Пытаюсь поставить daloRadius на Ajenti-V, но дальше страницы логина не уходит

danmishin 8 years ago 0

Установил Ajenti-V.
Скачал daloRadius, Закинул в /srv/daloradius, Создал БД, импортировал данные, настроил подключение к MySQL в daloradius.conf.php, Добавил сайт в Ajenti-V, указал папку /srv/daloradius, в "Содержимое" добавил PHPFastCGI.

Открываю в браузере, вижу страницу логина, ввожуданные и... пустой экран.
Может кто ставил daloRadius на nginx?

0

Not create new database Mongodb.

I get log: mongodb 'int' object iterable
When try create new db (mongodb) in panel - Programms-mongodb

0

connection problem while run

thatiramesh4 8 years ago 0

@ubuntu:~/demo-plugins-master$ sudo ajenti-dev-multitool --run

option --autologin not recognized

Usage: %s [options]

Options:
-c, --config <file> - Use given config file instead of default
-v - Debug/verbose logging
-d, --daemon - Run in background (daemon mode)
-h, --help - This help
--set-platform <id> - Override OS detection



I am new to ajenti,am trying to create devlopment plugin tool for ajenti 1.2 on unix machine

0

Invisible Entry on Sources List

MorpheusArch 8 years ago 0

Output of cat /etc/apt/sources.list


root@debian:/# cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main



deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main


deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main


Thats all that is there however when I update my debian server it tries looking for ajenti repos


root@debian:/# update



Hit http://repo.ajenti.org main InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://repo.ajenti.org main/main amd64 Packages
Ign http://httpredir.debian.org jessie InRelease
Hit http://httpredir.debian.org jessie-updates InRelease
Hit http://repo.ajenti.org main/debian amd64 Packages
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://httpredir.debian.org jessie-updates/main Sources
Hit http://httpredir.debian.org jessie Release.gpg
Get:1 http://httpredir.debian.org jessie-updates/main amd64 Packages/DiffIndex [4,948 B]
Get:2 http://httpredir.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Hit http://httpredir.debian.org jessie Release
Hit http://httpredir.debian.org jessie/main Sources
Hit http://httpredir.debian.org jessie/main Translation-en
Hit http://httpredir.debian.org jessie/main amd64 Packages
Ign http://repo.ajenti.org main/debian Translation-en_GB
Ign http://repo.ajenti.org main/debian Translation-en
Ign http://repo.ajenti.org main/main Translation-en_GB
Ign http://repo.ajenti.org main/main Translation-en
Fetched 7,652 B in 6s (1,243 B/s)
Reading package lists... Done


and I can't find it in the sources list to remove it.


(I am switching over to webmin and want ajenti completely removed)

0

How can I run php code in a .html file

Jolders 8 years ago updated by Alex Strij 7 years ago 3

Hi, I have looked for ages and have tried many configuration options to try and run php code in a .html file.

[^/]\.(php|html)(/|$) Regex Nginx

Each time I get either Access Denied in web page

or

in the log file a Denied access result.

(2016/07/04 22:18:23 [error] 4493#0: *1 FastCGI sent in stderr: "Access to the script '/var/www/html/php.html' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.0.5, server: , request: "GET /php.html HTTP/1.1", upstream: "fastcgi://unix:/var/run/ajenti-v-php-fcgi-test-php-fcgi-0.sock:", host: "192.168.0.12")

I think the problem is passing a .html file to the php-fpm socket. I have added .html to security.limit_extensions in www.conf.

I really don't know what else to do. Can you point me in the right direction ?

Thanks

Jonathan

0

Change the user and group that PHP executes as in Ajenti V

Laef 8 years ago 0

From http://phpsec.org/projects/phpsecinfo/tests/group_id.html


Change the user and group that PHP executes as. If you're using the Apache module, you'll need to change what user Apache runs as with the User and Group directives. If PHP is executing as a CGI, look at a method of executing CGIs as a non-privileged user like Apache's suEXEC or mod_suPHP.


How would one go about doing this using PHP FastCGI in Ajenti V?

0

After uninstall and install again, /etc/ajenti folder is empty

Silvestru 8 years ago updated by hanspeterhorstfischerheinzglan 8 years ago 2

Hello there,


I did a small mistake: I had my ajenti installation runnig fine - I forgot my password - changing it from /etc/ajenti/config.json to a new one in plain text didn't work(login error) - I uninstalled ajanti - I manually removed the /etc/ajanti folder - after a new install, I see that folder is empty - no .pem file and no .json file:( I ran all commands using sudo option.


Please give me an ideea as I really love what you did here ... and now I can't reinstall it again.


Thank you