Author Topic

Bruce Morrison

Wednesday 06 June 2007 8:13:59 pm

Comment9281

Hi Paul & Lukasz

I suspect that the timeout issue occurs if the instalation cannot reach the external package site http://packages.ez.no/

The URL is defined in settings/packages.ini

[RepositorySettings]
RepositoryDirectory=packages
# URL where Exponential setup wizard will fetch packages from
# If you want to use the old packages which were available in
# versions prior to 3.9 use the following URL instead:
# http://packages.ez.no/Exponential/3.9legacypackages
RemotePackagesIndexURL=http://packages.ez.no/Exponential/3.9/3.9.2

Removing the URL "RemotePackagesIndexURL=" should solve the timeout issue on systems that do not have internet access. Though you do end up with an error message:

Error

Retreiving remote site packages list failed. You may upload packages manually.

Remote repository URL:

I guess it's then a matter of being able to add them manually.

If you are behind a proxy you can set the proxy settings in site.ini prior to starting instalation:

[ProxySettings]
# If an user wants to use proxy in linkcheck.php/rssimport.php or downloading site packages in "setup wizard".
# If empty proxy will not be used.
# Example:  http://<host>:<port>
ProxyServer=
User=
Password=

Maybe usrs should be asked if they are behind a proxy or if they don't net access early in the setup wizard.

All in all the eZStepSiteTypes::downloadFile method in kernel/setup/steps/ezstep_site_types.php could be made more robust to handle this issues.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish