Bug ? System > Configuration Server >Web >Error Nginx Vhost config dir empty

Discussion in 'Installation/Configuration' started by Camilo Sapienza, Jun 30, 2015.

  1. Camilo Sapienza

    Camilo Sapienza New Member

    Hi. ISPConfig after upgrading to version 3.0.5.4p8 I can not add sites or make appropriate changes to the domain from them. When I get to the server configuration, the Web tab in the System tab, the fields are empty. Complete all fields and try to save displays the following error:
    1. Nginx Vhost config dir está vacío.
    2. Invalid nginx config directory.
    3. Nginx Vhost config enabled dir está vacío.
    4. Invalid nginx conf enabled directory.
    5. Nginx user está vacío.
    6. Invalid nginx user.
    7. Nginx group está vacío.
    8. Invalid nginx group.
    9. Nginx CGI Socket está vacío.
    10. nginx_cgi_socket_error_regex
    I can currently only make changes to the alias and domain configurations by manipulating the corresponding file in etc / apache2 manually but I can not do it from the panel ISPConfig. From the panel changes they are saved but are not really effective.

    Captura de pantalla 2015-06-30 00.59.23.png
     
  2. Camilo Sapienza

    Camilo Sapienza New Member

    This problem arises if data web flap emptying into the database to solve it is necessary to generate the data back into the database 'dbispconfig' on table 'server' in the 'config' field. This is the setting you should add

    [web]
    server_type=apache
    website_basedir=/var/www
    website_path=/var/www/clients/client[client_id]/web[website_id]
    website_symlinks=/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/
    website_symlinks_rel=n
    website_autoalias=[website_domain].your_domain.tld
    vhost_conf_dir=/etc/apache2/sites-available
    vhost_conf_enabled_dir=/etc/apache2/sites-enabled
    nginx_vhost_conf_dir=/etc/nginx/sites-available
    nginx_vhost_conf_enabled_dir=/etc/nginx/sites-enabled
    CA_path=
    CA_pass=
    security_level=20
    set_folder_permissions_on_update=n
    web_folder_protection=y
    add_web_users_to_sshusers_group=y
    check_apache_config=y
    enable_sni=y
    enable_ip_wildcard=y
    overtraffic_notify_admin=y
    overtraffic_notify_client=y
    overquota_notify_admin=y
    overquota_notify_client=y
    overquota_notify_freq=7
    overquota_notify_onok=n
    user=www-data
    group=www-data
    connect_userid_to_webid=n
    connect_userid_to_webid_start=10000
    nginx_user=www-data
    nginx_group=www-data
    php_ini_path_apache=/etc/php5/apache2/php.ini
    php_ini_path_cgi=/etc/php5/cgi/php.ini
    php_fpm_init_script=php5-fpm
    php_fpm_ini_path=/etc/php5/fpm/php.ini
    php_fpm_pool_dir=/etc/php5/fpm/pool.d
    php_fpm_start_port=9010
    php_fpm_socket_dir=/var/lib/php5-fpm
    php_open_basedir=[website_path]/web:[website_path]/private:[website_path]/tmp:/var/www/[website_domain]/web:/srv/www/[website_domain]/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin
    nginx_cgi_socket=/var/run/fcgiwrap.socket
    htaccess_allow_override=All
    apps_vhost_port=8081
    apps_vhost_ip=_default_
    apps_vhost_servername=
    awstats_conf_dir=/etc/awstats
    awstats_data_dir=/var/lib/awstats
    awstats_pl=/usr/lib/cgi-bin/awstats.pl
    awstats_buildstaticpages_pl=/usr/share/awstats/tools/awstats_buildstaticpages.pl
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    There was such a bug in p7. Probably you edited the data in server config in p7 before updating to p8.
     
  4. Poliman

    Poliman Member

    I have this same problem but I didn't change any option before update from p8 to p9. I just provide update of ISP. All Web settings disappear.
     

Share This Page