Ispconfig 3.1.14p2 web serv er config missing

Discussion in 'Installation/Configuration' started by neutrinohu, Aug 5, 2019.

  1. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    ok, looks like it's the whole web section missing then, including ssl, permissions, php settings etc. not just the web server part.
    this is what I've got for the whole web section for a server in the dbispconfig database, table: server column: config

    not sure if you can fill in everything there on that page, I don't think it'll display the nginx parts, and I assume it'll still complain if they're missing. so it looks like you'll need to add it into the [web] section directly in MySQL/phpMyAdmin, not sure what would be the easiest way. below is what I have, but you might want to use what till posted previously, as they should be all the defaults, some of mine have been changed.

    Code:
    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
    network_filesystem=n
    website_autoalias=
    vhost_rewrite_v6=n
    vhost_conf_dir=/etc/apache2/sites-available
    vhost_conf_enabled_dir=/etc/apache2/sites-enabled
    nginx_enable_pagespeed=n
    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
    logging=yes
    overtraffic_notify_admin=y
    overtraffic_notify_client=y
    overquota_notify_admin=y
    overquota_notify_client=y
    overquota_db_notify_admin=y
    overquota_db_notify_client=y
    overquota_notify_freq=7
    overquota_notify_onok=y
    user=www-data
    group=www-data
    connect_userid_to_webid=y
    connect_userid_to_webid_start=10000
    nginx_user=www-data
    nginx_group=www-data
    php_ini_path_apache=/etc/php/7.2/apache2/php.ini
    php_ini_path_cgi=/etc/php/7.2/cgi/php.ini
    php_default_name=PHP 7.2
    php_fpm_init_script=php7.2-fpm
    php_fpm_ini_path=/etc/php/7.2/fpm/php.ini
    php_fpm_pool_dir=/etc/php/7.2/fpm/pool.d
    php_fpm_start_port=9010
    php_fpm_socket_dir=/var/lib/php7.2-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:/dev/random:/dev/urandom
    php_ini_check_minutes=1
    php_handler=php-fpm
    nginx_cgi_socket=/var/run/fcgiwrap.socket
    htaccess_allow_override=All
    enable_spdy=y
    apps_vhost_enabled=y
    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
    skip_le_check=n
     
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    I think the easiest way may be export the server table using phpMyAdmin. open the export file and paste in the web section into the correct place and then import that file.
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What about the backup ispconfig_update makes? If the update was ever run, there should be that backup at least.
    The update script asks:
    Code:
    Shall the script create a ISPConfig backup in /var/backup/ now?
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I'm pretty sure someone mentioned recovering a previous, valid config section from the sys_datalog table too, so might check that if you're still needing ideas.
     
  5. jakrla

    jakrla New Member

    This helped. Actually the whole [web] section (not only the values) of dbispconfig => server => config had just disappeared, so I pasted the one Till posted earlier with corrected php-version between the other sections and now it seems to be working.
    I cannot express how grateful I am for your help guys!!! Thank you!!!
     

Share This Page