Install October CMS

My website URL is: https://4the20.xyz

What I’m seeing is: Error 502/524, connection has timed out.

I’m trying to install October CMS on my subdomain, however I receive the above errors after filling out the registration forms. Suggestions I have tried are: clearing the cache, disabling the Cloudflare proxy for duration of the installation or switching off cloudflare all together. None have worked. Is there a way for me to extend the timeout to 300~600 sec in order to complete installation ?

Additional information:

I don’t fully understand what would have caused the connection to be timed out. I can imagine a script installation failing because of PHP script time limits. But if you hit that limit, our server would return an error page, not time out the connection. Although a 502 Bad Gateway error is one of the ways you might see that.

If this is the case, I’m not sure how to help you. There is a 20 second script time limit, which cannot be increased on free hosting.

However, your website seems to be working now. Does that mean the installation was successful?

1 Like

This is what happens when I try to install the application.

The screen refers to an install.log file? Did you check that file for anything useful? Or maybe you could share it here?

1 Like
.=====================================================================.
                                                                       
  .d8888b.   .o8888b.  db  .d8888b.  d8888b. d88888b d8888b.  .d888b.  
 .8P    Y8. d8P    Y8  88 .8P    Y8. 88  `8D 88'     88  `8D .8P , Y8. 
 88      88 8P     .ooo88 88      88 88oooY' 88oooo  88oobY' 88  |  88 
 88      88 8b     `~~~88 88      88 88~~~b. 88~~~~  88`8b   88  |/ 88 
 `8b    d8' Y8b    d8  88 `8b    d8' 88   8D 88.     88 `88. `8b | d8' 
  `Y8888P'   `Y8888P'  YP  `Y8888P'  Y8888P' Y88888P 88   YD  `Y888P'  
                                                                       
`========================== INSTALLATION LOG ========================='

[2020/02/28 11:11:51] Host: Linux freeweb10-2.byetcluster.com 2.6.32-896.16.1.lve1.4.54.el6.x86_64 #1 SMP Wed May 2 07:43:19 EDT 2018 x86_64
[2020/02/28 11:11:51] PHP version: 7.3.6
[2020/02/28 11:11:51] Server software: Apache
[2020/02/28 11:11:51] Operating system: Linux
[2020/02/28 11:11:51] Memory limit: 158M
[2020/02/28 11:11:51] Max execution time: 20
.============================ POST REQUEST ==========================.
[2020/02/28 11:11:51] Postback payload: Array
(
    [code] => phpVersion
    [handler] => onCheckRequirement
)

[2020/02/28 11:11:51] System check: phpVersion
[2020/02/28 11:11:51] Requirement phpVersion +OK
[2020/02/28 11:11:51] Execute handler (onCheckRequirement): Array
(
    [result] => 1
)

.============================ POST REQUEST ==========================.
[2020/02/28 11:11:52] Postback payload: Array
(
    [code] => curlLibrary
    [handler] => onCheckRequirement
)

[2020/02/28 11:11:52] System check: curlLibrary
[2020/02/28 11:11:52] Requirement curlLibrary +OK
[2020/02/28 11:11:52] Execute handler (onCheckRequirement): Array
(
    [result] => 1
)

.============================ POST REQUEST ==========================.
[2020/02/28 11:11:53] Postback payload: Array
(
    [code] => liveConnection
    [handler] => onCheckRequirement
)

[2020/02/28 11:11:53] System check: liveConnection
[2020/02/28 11:11:53] Server request: ping
[2020/02/28 11:11:53] Request information: Array
(
    [url] => http://gateway.octobercms.com/api/ping
    [content_type] => application/json
    [http_code] => 200
    [header_size] => 688
    [request_size] => 185
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.422741
    [namelookup_time] => 0.004165
    [connect_time] => 0.146248
    [pretransfer_time] => 0.146376
    [size_upload] => 46
    [size_download] => 12
    [speed_download] => 28
    [speed_upload] => 109
    [download_content_length] => -1
    [upload_content_length] => 46
    [starttransfer_time] => 0.42269
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 52.41.246.127
    [certinfo] => Array
        (
        )

)

[2020/02/28 11:11:53] Requirement liveConnection +OK
[2020/02/28 11:11:53] Execute handler (onCheckRequirement): Array
(
    [result] => 1
)

That log isn’t particularly informative.

However, there was another post earlier today from someone else trying to install October CMS.

It seems that October CMS requires InnoDB, which is not available on free hosting. So even if you do manage to get past the installer issues, you may not be able to prepare the database.

1 Like

" It supports MySQL, SQLite and PostgreSQL for the database backend"
~ OctoberCMS wiki page

I think adjusting the timeout on the servers would solve the issue as turning off SSL does not make a difference.

One MySQL server is not the other. Different servers have different versions, settings and modules, and may not all work the same.

SQLite should be safe to use though.

It would solve many issues with installations and updates, and cause many issues with overloaded servers. I think we’ll keep the limits as they are.

Yeah, that was a bit of a long shot.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.