View Issue Details

IDProjectCategoryView StatusLast Update
5662Composrsetupwizardpublic2024-04-11 00:00
ReporterMaster Rat Assigned ToPDStig  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version11.alpha1 
Summary5662: Failure on Setup Wizard step 3 when downloading non-bundled addons
DescriptionEntered all information for site and connections and when I got to configuration after install it stalled at step 3
Steps To ReproduceEnter normal file installation, input data for user, maintenance and database stuff. All installs the files and structure without any errors after completion hit go to site to configure the site. Got to the screen where you step 3 and entered all data as needed and hit save. Immediately threw an error. No moving forward.
Additional InformationFile '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/failure.php'
Line 544
Function 'get_html_trace'
Args
File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/failure.php'
Line 395
Function '_generic_exit'
Args
Tempcode -> ...

'FATAL_SCREEN'

false

true

500

File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/global2.php'
Line 1,581
Function '_generic_exit'
Args
Tempcode -> ...

'WARN_SCREEN'

false

true

500

NULL

NULL

File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php'
Line 1,118
Function 'warn_exit'
Args
Tempcode -> ...

false

true

File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php'
Line 598
Function '_run'
Class 'HttpDownloaderCurl'
Object {"data":null,"download_mime_type":null,"download_size":null,"download_url":"https:\/\/composr.app\/site\/dload.php?id=290","download_mtime":null,"message":null,"message_b":null,"new_cookies":[],"filename":null,"charset":null,"headers":[],"generation_time":0,"implementation_used":"HttpDownloaderCurl"}
Type '->'
Args
'https://composr.app/site/dload.php?id=290'

File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php'
Line 282
Function 'run'
Class 'HttpDownloader'
Object {"data":null,"download_mime_type":null,"download_size":null,"download_url":"https:\/\/composr.app\/site\/dload.php?id=290","download_mtime":null,"message":null,"message_b":null,"new_cookies":[],"filename":null,"charset":null,"headers":[],"generation_time":0,"implementation_used":"HttpDownloaderCurl"}
Type '->'
Args
'https://composr.app/site/dload.php?id=290'

File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/global3.php'
Line 500
Function '_cms_http_request'
Args
'https://composr.app/site/dload.php?id=290'

File '/homepages/*** HIDING INFO***/htdocs/rats-world.com/sources/uploads.php'
Line 505
Function 'cms_http_request'
Args
'https://composr.app/site/dload.php?id=290'

File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/adminzone/pages/modules/admin_setupwizard.php'
Line 617
Function 'get_url'
Args
'url'

'file'

'imports/addons'

0

15

false

''

''

true

File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/adminzone/pages/modules/admin_setupwizard.php'
Line 144
Function 'step4'
Class 'Module_admin_setupwizard'
Object {"title":{"code_to_preexecute":{"tcpfunc_660cdfe1243d50.36724845_1":"$tpl_funcs['tcpfunc_660cdfe1243d50.36724845_1']=$KEEP_TPL_FUNCS['tcpfunc_660cdfe1243d50.36724845_1']=recall_named_function('660cdfe1243e52.45715379','$parameters,$cl',\"extract(\\$parameters,EXTR_PREFIX_ALL,'bound'); echo \\\"<h1 class=\\\\\\\"screen-title\\\",\\n\t(isset(\\$bound_CLASS)?(\\\" \\\".(empty(\\$bound_CLASS->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"))):''),\\n\t\\\"\\\\\\\"\\\",\\n\t((ecv_NOT(\\$cl,[],[ecv_GET(\\$cl,[],[\\\"name_set_elsewhere\\\"])])==\\\"1\\\")?(\\\" itemprop=\\\\\\\"name\\\\\\\"\\\"):''),\\n\t\\\">\\\\n\t\\\",\\n\t(isset(\\$bound_ID)?(\\\"\\\\n\t\t<a id=\\\\\\\"title--\\\".(empty(\\$bound_ID->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\")).\\\"\\\\\\\"><\/a>\\\\n\t\\\"):''),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\totp(isset(\\$bound_TITLE)?\\$bound_TITLE:null,\\\"SCREEN_TITLE:TITLE\\\"),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\t(isset(\\$bound_AWARDS)?(\\\"\\\\n\t\t\\\".((otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")!='')?(\\\"\\\\n\t\t\t\\\".ecv(\\$cl,[],4,\\\"SET\\\",[\\\"AWARDS_TEXT\\\",\\\"\\\\n\t\t\t\t<h2>Award winner<\/h2>\\\\n\t\t\t\t<p class=\\\\\\\"lonely-label\\\\\\\">\\\".ecv(\\$cl,[],2,\\\"AWARDS_WON\\\",[otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")]).\\\"<\/p>\\\\n\t\t\t\t
    \\\\n\t\t\t\t\t\\\".closure_loop([\\\"AWARDS\\\",'vars'=>\\$parameters],[\\$parameters,\\$cl],\\nrecall_named_function('660cdfe12134a4.12999664','\\$parameters,\\$cl',\\\"extract(\\\\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\\\\\"\\\\\\\\n\t\t\t\t\t\t
  • \\\\\\\\n\t\t\t\t\t\t\t<strong>\\\\\\\".(empty(\\\\\\$bound_AWARD_TYPE->pure_lang)?@htmlspecialchars(otp(isset(\\\\\\$bound_AWARD_TYPE)?\\\\\\$bound_AWARD_TYPE:null,\\\\\\\"SCREEN_TITLE:AWARD_TYPE\\\\\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\\\\$bound_AWARD_TYPE)?\\\\\\$bound_AWARD_TYPE:null,\\\\\\\"SCREEN_TITLE:AWARD_TYPE\\\\\\\")).\\\\\\\"<\/strong>\\\\\\\\n\t\t\t\t\t\t\t<span>\\\\\\\".ecv(\\\\\\$cl,[],2,\\\\\\\"AWARD_ON\\\\\\\",[ecv_DATE(\\\\\\$cl,[1],[\\\\\\\"1\\\\\\\",\\\\\\\"1\\\\\\\",\\\\\\\"1\\\\\\\",otp(isset(\\\\\\$bound_AWARD_TIMESTAMP)?\\\\\\$bound_AWARD_TIMESTAMP:null,\\\\\\\"SCREEN_TITLE:AWARD_TIMESTAMP\\\\\\\")])]).\\\\\\\"<\/span>\\\\\\\\n\t\t\t\t\t\t<\/li>\\\\\\\\n\t\t\t\t\t\\\\\\\";\\\")).\\\"\\\\n\t\t\t\t<\/ul>\\\\n\t\t\t\\\"],\\\"SCREEN_TITLE\\\").\\\"\\\\n\t\t\t<a href=\\\\\\\"\\\".ecv_PAGE_LINK(\\$cl,[1],[\\\"_SEARCH:awards\\\"]).\\\"\\\\\\\"><img data-cms-tooltip=\\\\\\\"{ contents: '\\\".ecv_GET(\\$cl,[2,8,1],[\\\"AWARDS_TEXT\\\"]).\\\"', delay: 0 }\\\\\\\" title=\\\\\\\"\\\\\\\" alt=\\\\\\\"Award winner\\\\\\\" width=\\\\\\\"19\\\\\\\" height=\\\\\\\"25\\\\\\\" src=\\\\\\\"https:\/\/rats-world.com\/themes\/default\/images\/awarded.svg\\\\\\\" \/><\/a>\\\\n\t\t\\\"):'').\\\"\\\\n\t\\\"):''),\\n\t\\\"\\\\n<\/h1>\\\\n\\\\n\\\",\\n\t(isset(\\$bound_SUB)?(\\\"\\\\n\t<div class=\\\\\\\"title-tagline\\\\\\\">\\\\n\t\t\\\".otp(isset(\\$bound_SUB)?\\$bound_SUB:null,\\\"SCREEN_TITLE:SUB\\\").\\\"\\\\n\t<\/div>\\\\n\\\"):''),\\n\t\\\"\\\\n\\\";\");"},"seq_parts":[[["tcpfunc_660cdfe1243d50.36724845_1",{"_GUID":"847ffbe4823eca6d2d5eac42828ee552","AWARDS":[],"TITLE":{"code_to_preexecute":{"do_runtime_660ce15e589914.30510062_6":"$tpl_funcs['do_runtime_660ce15e589914.30510062_6']=\"echo ecv(\\$cl,[],2,\\\"SETUPWIZARD\\\",[]);\";\n"},"seq_parts":[[["do_runtime_660ce15e589914.30510062_6",[],2,"SETUPWIZARD",""]]],"codename":":container","is_all_static":null,"metadata":null,"preprocessable_bits":null,"pure_lang":true,"preprocessed":null},"SUB":null},1,"",""]]],"codename":"SCREEN_TITLE","metadata":null,"preprocessable_bits":null,"pure_lang":null,"preprocessed":null}}
    Type '->'
    Args
    File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/zones.php'
    Line 785
    Function 'run'
    Class 'Module_admin_setupwizard'
    Object {"title":{"code_to_preexecute":{"tcpfunc_660cdfe1243d50.36724845_1":"$tpl_funcs['tcpfunc_660cdfe1243d50.36724845_1']=$KEEP_TPL_FUNCS['tcpfunc_660cdfe1243d50.36724845_1']=recall_named_function('660cdfe1243e52.45715379','$parameters,$cl',\"extract(\\$parameters,EXTR_PREFIX_ALL,'bound'); echo \\\"<h1 class=\\\\\\\"screen-title\\\",\\n\t(isset(\\$bound_CLASS)?(\\\" \\\".(empty(\\$bound_CLASS->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"))):''),\\n\t\\\"\\\\\\\"\\\",\\n\t((ecv_NOT(\\$cl,[],[ecv_GET(\\$cl,[],[\\\"name_set_elsewhere\\\"])])==\\\"1\\\")?(\\\" itemprop=\\\\\\\"name\\\\\\\"\\\"):''),\\n\t\\\">\\\\n\t\\\",\\n\t(isset(\\$bound_ID)?(\\\"\\\\n\t\t<a id=\\\\\\\"title--\\\".(empty(\\$bound_ID->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\")).\\\"\\\\\\\"><\/a>\\\\n\t\\\"):''),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\totp(isset(\\$bound_TITLE)?\\$bound_TITLE:null,\\\"SCREEN_TITLE:TITLE\\\"),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\t(isset(\\$bound_AWARDS)?(\\\"\\\\n\t\t\\\".((otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")!='')?(\\\"\\\\n\t\t\t\\\".ecv(\\$cl,[],4,\\\"SET\\\",[\\\"AWARDS_TEXT\\\",\\\"\\\\n\t\t\t\t<h2>Award winner<\/h2>\\\\n\t\t\t\t<p class=\\\\\\\"lonely-label\\\\\\\">\\\".ecv(\\$cl,[],2,\\\"AWARDS_WON\\\",[otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")]).\\\"<\/p>\\\\n\t\t\t\t
      \\\\n\t\t\t\t\t\\\".closure_loop([\\\"AWARDS\\\",'vars'=>\\$parameters],[\\$parameters,\\$cl],\\nrecall_named_function('660cdfe12134a4.12999664','\\$parameters,\\$cl',\\\"extract(\\\\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\\\\\"\\\\\\\\n\t\t\t\t\t\t
    • \\\\\\\\n\t\t\t\t\t\t\t<strong>\\\\\\\".(empty(\\\\\\$bound_AWARD_TYPE->pure_lang)?@htmlspecialchars(otp(isset(\\\\\\$bound_AWARD_TYPE)?\\\\\\$bound_AWARD_TYPE:null,\\\\\\\"SCREEN_TITLE:AWARD_TYPE\\\\\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\\\\$bound_AWARD_TYPE)?\\\\\\$bound_AWARD_TYPE:null,\\\\\\\"SCREEN_TITLE:AWARD_TYPE\\\\\\\")).\\\\\\\"<\/strong>\\\\\\\\n\t\t\t\t\t\t\t<span>\\\\\\\".ecv(\\\\\\$cl,[],2,\\\\\\\"AWARD_ON\\\\\\\",[ecv_DATE(\\\\\\$cl,[1],[\\\\\\\"1\\\\\\\",\\\\\\\"1\\\\\\\",\\\\\\\"1\\\\\\\",otp(isset(\\\\\\$bound_AWARD_TIMESTAMP)?\\\\\\$bound_AWARD_TIMESTAMP:null,\\\\\\\"SCREEN_TITLE:AWARD_TIMESTAMP\\\\\\\")])]).\\\\\\\"<\/span>\\\\\\\\n\t\t\t\t\t\t<\/li>\\\\\\\\n\t\t\t\t\t\\\\\\\";\\\")).\\\"\\\\n\t\t\t\t<\/ul>\\\\n\t\t\t\\\"],\\\"SCREEN_TITLE\\\").\\\"\\\\n\t\t\t<a href=\\\\\\\"\\\".ecv_PAGE_LINK(\\$cl,[1],[\\\"_SEARCH:awards\\\"]).\\\"\\\\\\\"><img data-cms-tooltip=\\\\\\\"{ contents: '\\\".ecv_GET(\\$cl,[2,8,1],[\\\"AWARDS_TEXT\\\"]).\\\"', delay: 0 }\\\\\\\" title=\\\\\\\"\\\\\\\" alt=\\\\\\\"Award winner\\\\\\\" width=\\\\\\\"19\\\\\\\" height=\\\\\\\"25\\\\\\\" src=\\\\\\\"https:\/\/rats-world.com\/themes\/default\/images\/awarded.svg\\\\\\\" \/><\/a>\\\\n\t\t\\\"):'').\\\"\\\\n\t\\\"):''),\\n\t\\\"\\\\n<\/h1>\\\\n\\\\n\\\",\\n\t(isset(\\$bound_SUB)?(\\\"\\\\n\t<div class=\\\\\\\"title-tagline\\\\\\\">\\\\n\t\t\\\".otp(isset(\\$bound_SUB)?\\$bound_SUB:null,\\\"SCREEN_TITLE:SUB\\\").\\\"\\\\n\t<\/div>\\\\n\\\"):''),\\n\t\\\"\\\\n\\\";\");"},"seq_parts":[[["tcpfunc_660cdfe1243d50.36724845_1",{"_GUID":"847ffbe4823eca6d2d5eac42828ee552","AWARDS":[],"TITLE":{"code_to_preexecute":{"do_runtime_660ce15e589914.30510062_6":"$tpl_funcs['do_runtime_660ce15e589914.30510062_6']=\"echo ecv(\\$cl,[],2,\\\"SETUPWIZARD\\\",[]);\";\n"},"seq_parts":[[["do_runtime_660ce15e589914.30510062_6",[],2,"SETUPWIZARD",""]]],"codename":":container","is_all_static":null,"metadata":null,"preprocessable_bits":null,"pure_lang":true,"preprocessed":null},"SUB":null},1,"",""]]],"codename":"SCREEN_TITLE","metadata":null,"preprocessable_bits":null,"pure_lang":null,"preprocessed":null}}
      Type '->'
      Args
      File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/site.php'
      Line 1,486
      Function 'load_module_page'
      Args
      'adminzone/pages/modules/admin_setupwizard.php'

      'admin_setupwizard'

      File '/homepages/22/(*** HIDING INFO***/htdocs/rats-world.com/sources/site.php'
      Line 1,101
      Function 'request_page'
      Args
      'admin_setupwizard'

      true

      'adminzone'

      NULL

      false

      true

      File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/adminzone/index.php'
      Line 59
      Function 'do_site'
      Args
      Parameters
      y0bf6d1d2cd6ef2275cd7a5911a17b0c0
      skip_3
      0
      csrf_token_preserve
      1
      http_referer
      https://rats-world.com/adminzone/index.php?page=admin_setupwizard&type=browse&came_from_installer=1&redirected=1
      js_token
      47f0c8addaac4
      label_for__installprofile
      Install profile
      source_theme
      default
      installprofile
      community
      label_for__site_name
      Site name
      site_name
      rats-world.com
      require__site_name
      1
      label_for__description
      Description
      description
      label_for__site_scope
      Site scope
      site_scope
      defaultness
      require__site_scope
      1
      label_for__keywords
      Keywords
      keywords
      default, defaultness, celebration, community
      label_for__timezone
      Timezone
      timezone
      America/New_York
      require__timezone
      1
      label_for__google_analytics
      Google Analytics Web Property ID
      google_analytics
      label_for__include_cms_advert
      Include Composr logo
      tick_on_form__include_cms_advert
      0
      label_for__security_level
      Security level
      security_level
      medium
      require__security_level
      1
      url
      https://composr.app/site/dload.php?id=290
      csrf_token
      04a1a775d131e
      help / advice
      There is a tutorial which covers this feature.
      The site is closed, but you have special access.
TagsRoadmap: v11
Attach Tags
Attached Files
step3.png (47,726 bytes)   
step3.png (47,726 bytes)   
Error.png (55,898 bytes)   
Error.png (55,898 bytes)   
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2024-04-03 14:58

administrator   ~8510

This is a known issue. I cut you some slack because you probably don't know what's happening here. The setup wizard was attempting to download the Facebook Support non-bundled addon from the new composr.app server. Unfortunately, I've been experiencing many issues with connections prematurely closing when trying to download non-bundled addons. I have not yet been able to identify the issue, but I do know it's server-end on composr.app, not Composr itself.

The provider of the server, OVH, recently announced they're doing maintenance later this month in response to unwanted premature connection closures on the same data center which uses composr.app. I'm hoping their fix on April 24 will resolve this issue.

PDStig

2024-04-03 15:10

administrator   ~8511

(side note) Good news is you confirmed telemetry works outside of my own server. When you encountered that error, because you had send errors to developers enabled, composr.app received your stack trace. So I know the new API and encryption system for that works.

PDStig

2024-04-04 03:56

administrator   ~8516

See https://gitlab.com/composr-foundation/composr/-/commit/e66ec19b3ee1f8bdd4869bcf430ced6750074154

Do not have time to push a proper bugfix as I have a strict work cutoff of 12 AM EDT. This will be included in alpha2.

PDStig

2024-04-04 15:44

administrator   ~8517

Here is context into what was fixed:

- composr.app's PHP-FPM was not spawning enough child processes to handle someone updating or downloading non-bundled addons. This was causing frequent timeouts and premature connection drops. I increased the pm.max_children setting for composr.app on the server.
- In Composr, a "partial file" status code in CURL was being treated as an error and resulting in failure. Instead of erroring immediately, it will now retry a couple of times fetching the remaining bytes before considering it an error / failure if it still doesn't have the full file.
- The downloads script (site/dload.php) was sometimes not returning the correct content length and range headers especially when CURL passes in a range (it uses 1TB instead of blank for the "to"... had to account for that; content length was also being set to the end range even if file size was not that big, which caused HTTP/2 stream errors).

Issue History

Date Modified Username Field Change
2024-04-03 05:07 Master Rat New Issue
2024-04-03 05:07 Master Rat Tag Attached: Roadmap: v11
2024-04-03 05:07 Master Rat File Added: step3.png
2024-04-03 05:07 Master Rat File Added: Error.png
2024-04-03 14:58 PDStig Note Added: 0008510
2024-04-03 15:04 PDStig Assigned To => user4172
2024-04-03 15:04 PDStig Status Not Assigned => Assigned
2024-04-03 15:04 PDStig Category core => setupwizard
2024-04-03 15:04 PDStig Product Version => 11 alpha1
2024-04-03 15:04 PDStig Summary V11 Fresh Install Failure => Failure on Setup Wizard step 3
2024-04-03 15:10 PDStig Note Added: 0008511
2024-04-03 15:22 PDStig Summary Failure on Setup Wizard step 3 => Failure on Setup Wizard step 3 when downloading non-bundled addons
2024-04-04 03:56 PDStig Status Assigned => Resolved
2024-04-04 03:56 PDStig Resolution open => fixed
2024-04-04 03:56 PDStig Note Added: 0008516
2024-04-04 15:44 PDStig Note Added: 0008517
2024-04-11 00:00 PDStig Product Version 11 alpha1 => 11.alpha1