Ticket #747 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Midgard installation fails when pearified.com is down

Reported by: flack Assigned to: piotras
Priority: blocker Milestone: 8.09.4 Ragnaroek
Component: Midgard Data Version: 8.09 Ragnaroek
Keywords: Cc:

Description

When pearified.com is unreachable (as it has been for the last two weeks, approximately), a fresh Midgard installation fails when you run datagard with the following error:

MIDGARD SETUP ERROR: Discovery of channel "pearified.com" failed 
(channel-add: Cannot open "http://pearified.com/channel.xml" (Connection 
to `pearified.com:80' failed: Connection timed out))
Quitting...
Failed to execute /usr/bin/php 
/usr/local/share/midgard/setup/php/midgard_datagard.php -t  -c midgard 
-a install

Change History

01/28/09 09:55:35 changed by bergie

It seems we can deprecate usage of role_web with PEAR's internal "www" role:

http://www.nabble.com/Installing-to-Web-Root-Dir-td20280219.html

01/28/09 10:19:56 changed by bergie

(In [20256]) Styleeditor still uses Prototype, remove it from default install. Refs #23 and #747

01/28/09 10:27:46 changed by bergie

(In [20258]) Use the PEAR built-in www role, refs #747

01/28/09 10:53:12 changed by bergie

(In [20262]) Merging, refs #747

01/28/09 10:55:21 changed by bergie

(In [20263]) Don't depend on prototype, refs #23, #393 and #747

01/28/09 21:58:25 changed by piotras

Didn't apply ref in my commits. Datagard now uses only www role.

01/29/09 09:33:25 changed by jval

Testing datagard with the binaries from ragnaroek-dev:

Validation Error: File "static/twisty.js" in directory "<dir name="midcom.admin.help">" has invalid role "web", should be one of cfg, data, doc, mgdschema, midgardelement, midgardsql, php, script, test, www
Validation Error: File "static/style-editor.css" in directory "<dir name="midcom.admin.help">" has invalid role "web", should be one of cfg, data, doc, mgdschema, midgardelement, midgardsql, php, script, test, www
Validation Error: File "static/help.css" in directory "<dir name="midcom.admin.help">" has invalid role "web", should be one of cfg, data, doc, mgdschema, midgardelement, midgardsql, php, script, test, www
Validation Error: File "static/note-area.png" in directory "<dir name="midcom.admin.help">" has invalid role "web", should be one of cfg, data, doc, mgdschema, midgardelement, midgardsql, php, script, test, www
Parsing of package.xml from file "/tmp/pear/download/package.xml" failed
Error: cannot download "ragnaroek/midcom_admin_help"

01/29/09 10:19:27 changed by piotras

(In [20297]) Version bump refs #747

01/29/09 15:10:42 changed by jval

Testing datagard with the binaries from ragnaroek-dev... Default install works now.

01/29/09 15:29:21 changed by jval

Because this also affects the current release, midgard-data 8.09.3.1 should be released so that the released version can be installed again.

Is this issue now solved for the default package selection? Seems like it.

Are there optional packages which should be fixed first before this ticket gets closed?

02/02/09 11:41:29 changed by piotras

  • status changed from new to closed.
  • resolution set to fixed.

Closing with release.

02/27/09 12:36:24 changed by bergie

(In [20688]) Version bump, refs #747

03/27/09 11:59:49 changed by jval

(In [21520]) Uninstall pearified.com packages (which aren't used anymore) and delete the (non-existing) channel, refs #747

03/31/09 12:40:40 changed by jval

(In [21561]) Do not uninstall pearified packages and delete the channel - just inform the user instead, refs #747