Towards the end of installing OpenSocial I get the following error:

An AJAX HTTP error occurred.
HTTP Result Code: 404
Debugging information follows.
Path: /core/install.php?rewrite=ok&profile=social&langcode=en&id=2&op=do_nojs&op=do
StatusText: Not Found
ResponseText: 
Page not found | EWLA Members Area
Skip to main content
User account menu
Menu
Toggle navigation      
Log in
Home
Explore 
Community
All Events
All topics
Page not found
The requested page could not be found.
{"path":{"baseUrl":"\/","scriptPath":null,"pathPrefix":"","currentPath":"","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"en"},"pluralDelimiter":"\u0003","bootstrap":{"forms_has_error_value_toggle":1,"modal_animation":1,"modal_backdrop":"true","modal_keyboard":1,"modal_show":1,"modal_size":"","popover_enabled":1,"popover_animation":1,"popover_container":"body","popover_content":"","popover_delay":"0","popover_html":0,"popover_placement":"right","popover_selector":"","popover_title":"","popover_trigger":"click","popover_trigger_autoclose":1},"user":{"uid":0,"permissionsHash":"12d63175161f58b823ad9e1b89408e83a4816d461b6003aa465bcfc1ef8e6009"}}

If I click the link to go to the error page I get a green box with the following message:


Page not found
×
Status message

    Content permissions have been rebuilt.
    Congratulations, you installed Social!

The requested page could not be found.

I'm presuming this is not intended behaviour?

CommentFileSizeAuthor
#7 #7-profile-module-install-order.patch591 bytesvinaygawade

Comments

Homotechsual created an issue. See original summary.

Homotechsual’s picture

The issue occurs at step 44 of installing the social features.

Homotechsual’s picture

[EDIT] Duplicate Comment [/EDIT]

jaapjan’s picture

You are right, this is not intended behaviour and it indicates that the installation actually was not successful. This could be a memory limit or time out issue although I'm not able to reproduce it currently with alpha7.

Do you know which module it was installing at step 44?
Is there anything in your webserver log?

Homotechsual’s picture

Hi Jaapjan,

Thanks for the assist :-)

It was installing the module "Dropdown", whilst I can access the site afterwards it seems any module after dropdown is not enabled and enabling this modules manually produces mixed results as I can't guarantee I've enabled the correct modules in the correct order.

As for error_log we see the following:

[Thu Sep 08 22:29:39.148486 2016] [cgi:warn] [pid 14285] [client XX.XX.XX.XX:41153] AH01220: Timeout waiting for output from CGI script /usr/local/cpanel/cgi-sys/ea-php55, referer: http://example.com/core/install.php?rewrite=ok&profile=social&langcode=en&id=2&op=start
[Thu Sep 08 22:29:39.148545 2016] [cgi:error] [pid 14285] [client XX.XX.XX.XX:41153] Script timed out before returning headers: ea-php55, referer: http://example.com/core/install.php?rewrite=ok&profile=social&langcode=en&id=2&op=start
[Thu Sep 08 23:36:51.045074 2016] [cgi:warn] [pid 16621] [client XX.XX.XX.XX:41570] AH01220: Timeout waiting for output from CGI script /usr/local/cpanel/cgi-sys/ea-php55, referer: http://example.com/core/install.php?rewrite=ok&profile=social&langcode=en&id=2&op=start
[Thu Sep 08 23:36:51.045127 2016] [cgi:error] [pid 16621] [client XX.XX.XX.XX:41570] Script timed out before returning headers: ea-php55, referer: http://example.com/core/install.php?rewrite=ok&profile=social&langcode=en&id=2&op=start
Homotechsual’s picture

Assigned: Unassigned » Homotechsual
Status: Active » Closed (won't fix)

Increasing the apache timeout value seems to have resolved this and allows the install to complete successfully. FYI the dropdown module takes around 4 x longer to install than any other for some reason.

Marking as Closed (Won't Fix)

vinaygawade’s picture

Version: 8.x-1.0-alpha7 » 13.0.0
Status: Closed (won't fix) » Needs review
StatusFileSize
new591 bytes

Hi, I ran into a very similar problem during installation (AJAX error / incomplete install), and after investigation it turned out to be related to module install order and missing dependencies during profile install.

In our case, social_event_invite was being installed before social_follow_content, which caused downstream failures in Views/flag-related dependencies and resulted in the install not completing properly.

I fixed it by adjusting the install order in social.info.yml so that:

- social:social_follow_content

is installed before the event-related modules.

I have attached a patch that corrects the install order.

Also confirming we tested this against Open Social 13.0.0.