Posts by Nuxwin

    Please, read the documentation carrefully: i-MSCP inside a LXC container (Managed by Proxmox 4.x)


    The permissions (through apparmor profile) must be given on the host.

    what is the preferred / recommended way, to use web apps on some domains, that require special apache configurations like reverse proxy settings, perl scripts, etc.? e.g. gitlab, otrs, etc. - How do you solve these situations?

    For the reverse proxy, you cans setup it through the control panel for any domain.

    Basically, for gitllab, you need install it manually (it is run through NGINX) and make it listening on loopback interface on specific port such as 8080, then once done, you must setup the proxy through the control panel by editing the domain as customer. To resume:


    1. Install gitlab as usually, make it listening on loopback interface 127.0.0.1 and on specific port 8080
    2. Add the domain or subdomain you want use to access it from outside world through the control panel and setup the proxy (http://127.0.0.1:8080). See The PanelRedirect plugin will be soon abandoned and therefore, no longer maintained. for the procedure.
    3. Through the control panel, enable SSL for the domain. So, you should end with something like:

    WAN ( Client browser - https://domain.tld - SSL) <--> Apache2 Proxy (domain.tld - SSL) <--> GitLab Nginx (127.0.0.1:80 - No SSL)


    Regarding the Perl script, they are supported as CGI scripts. Basically, you need put your Perl script in the cgi-bin directory. Those script must be executable onwed by your vuxxx Web user but not been world-executable (basically, permissions for those script should be 0750). Mod perl is not supported out of box.


    But this approach has two problems

    a) I always need an additional subdomain for every of these cases

    b) I'm not too sure if the autoinstaller would remove the additional .conf file when doing an update etc. Could you say something about that?

    a) This step is not needed if you make Gitlab listening on loopback interface on specific port through Nginx. By Default, gitlab is run through Nginx.

    b) i-MSCP only remove vhost files that belong to managed domains. All is about naming convention here.

    mohammed alfateh


    I cannot reproduce the problem with the 1.5.x branch.


    Code
    1. root@trusty:/usr/local/src/imscp# lsb_release -a
    2. No LSB modules are available.
    3. Distributor ID: Ubuntu
    4. Description: Ubuntu 14.04.5 LTS
    5. Release: 14.04
    6. Codename: trusty


    Code
    1. root@trusty:/usr/local/src/imscp# cat /etc/imscp/imscp.conf |grep 'SQL_SERVER'
    2. SQL_SERVER = mysql_5.5



    However, on your system:


    Code
    1. Servers::sqld::mysql::postinstall: Couldn't enable the `mysql' service: │
    2. │ iMSCP::Provider::Service::Sysvinit::_exec: Failed to issue method call: No │
    3. │ such file or directory at │


    The error Failed to issue method call is raised by systemd but systemd is not provided for Ubuntu 14.04 Trusty Thar, at least, that is not the default... It should be Upstart... I bet you have done something wrong prior trying to install i-MSCP...


    Thread closed.

    Fixed it by removing all .lock files in /var/lock, restarting all imscp_* services, and re-running perl /var/www/imscp/engine/imscp-rqst-mngr -v


    Still, I'm wondering why this happened.


    Request to close the issue.

    You must never remove the lock files without first be sure that there are not already running processes relative to these lock files. Instead of removing those lock files in blinding edge, you should have check the list of running processes. i-MSCP pose a lock for some processes to prevent unwanted concurrent tasks. Please, check the list of running i-MSCP processes now to be sure that none of them are left in inconsistent state. There is many i-MSCP processes involved...

    hello Nuxwin,


    is there light at the end of the tunnel? :shy:


    til you come with a genius soltion for my problem, is there a way to edit/change DNS-settings on commandline, so i can go live with my new server?


    or should i wait until the final solution?


    thanks

    No, there is not CLI client yet allowing to edit a particular resource record. You need wait for the listener review.