Why do I receive a 404 error when accessing the installer?

First off, we are sorry about the issues you seem to be having running the installer.

The two main reasons causing this issue are:

  1. your servers document root is not pointing to Clooud's "public" folder.
  2. if the error includes a "404 not found - Nginx error", it is due to a misconfigurations with the Nginx web server.

Let me dig a little deeper in to how to solve these separate issues:

Solutions

Document root:

What is the document root? Simply said, it is the folder that includes your website's files and they are most commonly called /public or /public_html. As you can see, your downloaded Clooud folder contains the document root already. Simply copy all the files into your server's document root and make sure that the other folders included in the Clooud directory are placed outside the document root. It needs to keep the same structure it has when downloaded.

If your document root is called anything else, you obviously do not have to rename it to /public, but if for some reason you want to, you will have to most likely get it configured in your control panel as well (e.g., cPanel, Plesk, ISPManager, etc.).

Nginx error:

This is a fairly simple fix as well but it requires to modify the Nginx config file. A very basic config file for Nginx that is Laravel compatible looks like this:

    server {
        listen   80 default_server;

        root /var/www/laravel/public/; // document root
        index index.php index.html index.htm;

        location / {
            try_files $uri $uri/ /index.php$is_args$args;
        }

        # pass the PHP scripts to FastCGI server listening on /var/run/php5-fpm.sock
        location ~ \.php$ {
            try_files $uri /index.php =404;
            fastcgi_pass unix:/var/run/php5-fpm.sock;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
        }
    }

Feel free to contact us via email or through the market place and I will get back in touch with you right away if you keep having issues installing Clooud!

results for ""

    No results matching ""