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
Beantwoord

Server IP Address points to the wrong domain name

JL Griffin 10 jaar geleden bijgewerkt door Eugene Pankov (Project coordinator) 10 jaar geleden 1
After setting up ajenti, the ip points to the wrong domain name. Typing in the IP should go to MY domain (webnetvn.com) however it goes to one of my cleints domain instead (designsma.com) which is really messing up the mail system. anyone sending mail to a yahoo email address recieves the error
450 service permits 2 unverifyable sending IPs - webnetvn.com is not 104.236.18.21 (designsma.com)
All of my clients domains are set so their MX record points to mail.webnetvn.com. how do i fix this so that the panel thinks the default domain for everything is webnetvn.com and not designsma.com?
Antwoord
Ajenti V? Go to Websites > webnetvn.com > Ports > 80 > Mark "Default"  > Apply
0
Beantwoord

How to add css to plugin?

Max Sinelnikov 12 jaar geleden bijgewerkt door Eugene Pankov (Project coordinator) 12 jaar geleden 2

 Hi! I'm writing custom plugin which shows software raid state. I put arrays.less file to plugins/raid/files subdir but it's rules not applied to the rendered page. Do I  need to write some configuration about custom css/less files? How it works?

0
Not a bug

pip ajenti error at Amazon Linux

Kazuhiro ALBERO 10 jaar geleden bijgewerkt door Hidetaka Okamoto 8 jaar geleden 20
Hello, thank you for your very good project!

When I try to install ajenti at Amazon Linux, pip echo errors.
Please check it. :)

[root@ip-172-31-11-195 tmp]# pip install ajenti
Downloading/unpacking ajenti
Downloading ajenti-1.2.22.10-py2.py3-none-any.whl (1.5MB): 1.5MB downloaded
Downloading/unpacking python-ldap (from ajenti)
Downloading python-ldap-2.4.15.tar.gz (111kB): 111kB downloaded
Running setup.py (path:/tmp/pip_build_root/python-ldap/setup.py) egg_info for package python-ldap
defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /opt/openldap-RE24/include /usr/include/sasl /usr/include
library_dirs: /opt/openldap-RE24/lib /usr/lib
libs: ldap_r
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules/LICENSE'
Downloading/unpacking Pillow (from ajenti)
Downloading Pillow-2.5.3.zip (6.9MB): 6.9MB downloaded
Running setup.py (path:/tmp/pip_build_root/Pillow/setup.py) egg_info for package Pillow
Single threaded build, not installing mp_compile: 1 processes
warning: no files found matching '*.bdf' under directory 'Images'
warning: no files found matching '*.fli' under directory 'Images'
warning: no files found matching '*.gif' under directory 'Images'
warning: no files found matching '*.icns' under directory 'Images'
warning: no files found matching '*.ico' under directory 'Images'
warning: no files found matching '*.jpg' under directory 'Images'
warning: no files found matching '*.pbm' under directory 'Images'
warning: no files found matching '*.pil' under directory 'Images'
warning: no files found matching '*.png' under directory 'Images'
warning: no files found matching '*.ppm' under directory 'Images'
warning: no files found matching '*.psd' under directory 'Images'
warning: no files found matching '*.tar' under directory 'Images'
warning: no files found matching '*.webp' under directory 'Images'
warning: no files found matching '*.xpm' under directory 'Images'
warning: no files found matching 'README' under directory 'Sane'
warning: no files found matching 'README' under directory 'Scripts'
warning: no files found matching '*.txt' under directory 'Tk'
Downloading/unpacking pyOpenSSL (from ajenti)
Downloading pyOpenSSL-0.14.tar.gz (128kB): 128kB downloaded
Running setup.py (path:/tmp/pip_build_root/pyOpenSSL/setup.py) egg_info for package pyOpenSSL
warning: no previously-included files matching '*.pyc' found anywhere in distribution
no previously-included directories found matching 'doc/_build'
Requirement already satisfied (use --upgrade to upgrade): python-daemon in /usr/lib/python2.6/site-packages (from ajenti)
Downloading/unpacking lxml>=2.2.4 (from ajenti)
Downloading lxml-3.3.6.tar.gz (3.5MB): 3.5MB downloaded
Running setup.py (path:/tmp/pip_build_root/lxml/setup.py) egg_info for package lxml
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
Building lxml version 3.3.6.
Building without Cython.
ERROR: /bin/sh: xslt-config: command not found

** make sure the development packages of libxml2 and libxslt are installed **

Using build configuration of libxslt
warning: no previously-included files found matching '*.py'
Downloading/unpacking passlib (from ajenti)
Downloading passlib-1.6.2.tar.gz (408kB): 408kB downloaded
Running setup.py (path:/tmp/pip_build_root/passlib/setup.py) egg_info for package passlib
Downloading/unpacking gevent-socketio (from ajenti)
Downloading gevent_socketio-0.3.6-py26-none-any.whl
Downloading/unpacking gevent (from ajenti)
Downloading gevent-1.0.1.tar.gz (1.5MB): 1.5MB downloaded
Running setup.py (path:/tmp/pip_build_root/gevent/setup.py) egg_info for package gevent
Downloading/unpacking python-exconsole>=0.1.5 (from ajenti)
Downloading python_exconsole-0.1.5-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): requests>=0.12.0 in /usr/lib/python2.6/site-packages (from ajenti)
Downloading/unpacking reconfigure>=0.1.43 (from ajenti)
Downloading reconfigure-0.1.57-py2.py3-none-any.whl (53kB): 53kB downloaded
Downloading/unpacking python-catcher (from ajenti)
Downloading python_catcher-0.1.7-py2.py3-none-any.whl
Downloading/unpacking gevent-websocket (from ajenti)
Downloading gevent-websocket-0.9.3.tar.gz
Running setup.py (path:/tmp/pip_build_root/gevent-websocket/setup.py) egg_info for package gevent-websocket
Downloading/unpacking psutil>=0.6.0 (from ajenti)
Downloading psutil-2.1.1.tar.gz (216kB): 216kB downloaded
Running setup.py (path:/tmp/pip_build_root/psutil/setup.py) egg_info for package psutil
warning: no previously-included files matching '*' found under directory 'docs/_build'
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.6/site-packages (from python-ldap->ajenti)
Downloading/unpacking cryptography>=0.2.1 (from pyOpenSSL->ajenti)
Downloading cryptography-0.5.4.tar.gz (320kB): 320kB downloaded
Running setup.py (path:/tmp/pip_build_root/cryptography/setup.py) egg_info for package cryptography
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/cryptography/setup.py", line 174, in <module>
"test": PyTest,
File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 221, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 550, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.2.0 (/usr/lib/python2.6/site-packages), Requirement.parse('six>=1.4.1'))
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 17, in <module>

File "/tmp/pip_build_root/cryptography/setup.py", line 174, in <module>

"test": PyTest,

File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup

_setup_distribution = dist = klass(attrs)

File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 221, in __init__

self.fetch_build_eggs(attrs.pop('setup_requires'))

File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs

parse_requirements(requires), installer=self.fetch_build_egg

File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 550, in resolve

raise VersionConflict(dist,req) # XXX put more info here

pkg_resources.VersionConflict: (six 1.2.0 (/usr/lib/python2.6/site-packages), Requirement.parse('six>=1.4.1'))

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/cryptography
Storing debug log for failure in /root/.pip/pip.log
Antwoord
Building LXML PIP package requires libxml2-dev and libxslt-dev
0
Beantwoord

Gitlab/Gitserver on ajenti

Bart Klaster 10 jaar geleden bijgewerkt door Eugene Pankov (Project coordinator) 10 jaar geleden 2
Hello,
Is there a know working gitserver for ajenti ? Im now trying to run gitlab but the config resets everytime. 
0

Php not installed ?

Nicolas Joly 9 jaar geleden 0

Hello,

I just install Ajenti & Ajenti V with all pacakges php,...
All my websites is ok.

But in shell, when i test : "php -v"
It return :
The program 'php' is currently not installed.

I need to launch php for wp-cli and others, could install php by :
apt-get install php5-cli ?


Thank you !

0
Fixed

Error while trying to save Website

James Lukensow 9 jaar geleden bijgewerkt 9 jaar geleden 2

I'm getting the following error when trying to save a website under websites.


Crashed

execv() arg 2 must contain only strings
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 158, in handle_message
    self.ui.dispatch_event(update['uid'], update['event'], update['params'])
  File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 72, in dispatch_event
    self.root.dispatch_event(uid, event, params)
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event
    if child.dispatch_event(uid, event, params):
  File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 388, in dispatch_event
    getattr(self, k)(**(params or {}))
  File "/var/lib/ajenti/plugins/vh/main.py", line 259, in save
    self.manager.update_configuration()
  File "/var/lib/ajenti/plugins/vh/api.py", line 300, in update_configuration
    self.__runall([(c.create_configuration, [self.config]) for c in self.components])
  File "/var/lib/ajenti/plugins/vh/api.py", line 296, in __runall
    raise g.exception
TypeError: execv() arg 2 must contain only strings

Currently running:


Ajenti: v1.2.23.1

Ubuntu: 14.04.3

0

cannot install packages Ajenti 1.2.22 on ubuntu 15.04

Lars Kumbier 9 jaar geleden bijgewerkt door Lexy 9 jaar geleden 1
when trying to search for packages on ubuntu server 15.04 vivid, ajenti 1.2.22 fails to get a search for packages.

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/aj/api/endpoint.py", line 69, in wrapper result = fx(self, context, *args, **kwargs) 
File "/usr/local/lib/python2.7/dist-packages/ajenti_plugin_packages/views.py", line 47, in handle_api_list for package in self.managers[manager_id].list(query=query) 
File "/usr/local/lib/python2.7/dist-packages/ajenti_plugin_packages/managers/pip_manager.py", line 45, in list for dist in self.client.search({'name': query}): 
File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__ return self.__send(self.__name, args) 
File "/usr/lib/python2.7/xmlrpclib.py", line 1591, in __request verbose=self.__verbose 
File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request return self.single_request(host, handler, request_body, verbose) 
File "/usr/lib/python2.7/xmlrpclib.py", line 1301, in single_request self.send_content(h, request_body) 
File "/usr/lib/python2.7/xmlrpclib.py", line 1448, in send_content connection.endheaders(request_body) 
File "/usr/lib/python2.7/httplib.py", line 1044, in endheaders self._send_output(message_body) 
File "/usr/lib/python2.7/httplib.py", line 888, in _send_output self.send(msg) 
File "/usr/lib/python2.7/httplib.py", line 850, in send self.connect() 
File "/usr/lib/python2.7/httplib.py", line 1269, in connect server_hostname=server_hostname) 
File "/usr/lib/python2.7/ssl.py", line 352, in wrap_socket _context=self) TypeError: __init__() got an unexpected keyword argument 'server_hostname' 
Server is a VM running ubuntu 15.04 with python 2.7.9.

any ideas?




0

Nginx Configuration For Cachet using Ajenti-V

Brian King 9 jaar geleden 0

Hello,


I'm attempting to configure a website ````health.domain.com```` using Cachet ( https://github.com/cachethq/Cachet ) and have done everything outside of the nginx website settings and am having trouble. Below is their suggested setup for PHP-FPM/NGINX setups from https://docs.cachethq.io/docs/installing-cachet :

````
# Upstream to abstract backend connection(s) for php
upstream php {
server unix:/tmp/php-cgi.socket;
server 127.0.0.1:9000;
}

server {
server_name cachet.mycompany.com; # Or whatever you want to use
listen 80 default;
}

# HTTPS server

server {
listen 443;
server_name cachet.mycompany.com;

root /var/vhost/cachet.mycompany.com/public;
index index.php;

ssl on;
ssl_certificate /etc/ssl/crt/cachet.mycompany.com.crt; # Or wherever your crt is
ssl_certificate_key /etc/ssl/key/cachet.mycompany.com.key; # Or wherever your key is
ssl_session_timeout 5m;

# Best practice as at March 2014
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA";
ssl_buffer_size 1400; # 1400 bytes, within MTU - because we generally have small responses. Could increase to 4k, but default 16k is too big

location / {
add_header Strict-Transport-Security max-age=15768000;
try_files $uri /index.php$is_args$args;
}

location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
fastcgi_keep_conn on;
add_header Strict-Transport-Security max-age=15768000;
}
}

````

0
Fixed

rhel6 support

Mario Rossi 6 12 jaar geleden bijgewerkt door Eugene Pankov (Project coordinator) 12 jaar geleden 0

centos repo doesn't work with rhel6:

PYCURL ERROR 22 - "The requested URL returned error: 404"

Antwoord

Thank you! I've fixed the repo, it should be working for you now (RHEL6 Server)

0

Catch-all email on ajenti-v

Keith Barychko 10 jaar geleden bijgewerkt 10 jaar geleden 1
Is it possible to create a catch-all email on the ajenti-v. An email address that receives all unrouted mail sent to the domain? I remember cpanel had something like this, I was wondering if ajenti had or was planning something similar.