Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Bugs & Wish list

"https://getcomposer.org/versions" file could not be downloaded: | Tiki Wiki CMS Groupware :: Development

"https://getcomposer.org/versions" file could


not be downloaded:
Status
 Closed

Subject
"https://getcomposer.org/versions" file could not be downloaded:

Version
19.x

Category
Support request

Feature
Administration
Addons
Packages

Resolution status
Fixed or Solved

Submitted by
ShowCaseSupport@projectashenfire.org

Lastmod by
ShowCaseSupport@projectashenfire.org
Rating
                              (0) 

Description
Windows 10
Tiki version 19. installed with InnoDb.
Wamp64 ver 3.1.0,
apache 2.4.27
php 7.19

Issue: Composer setup.exe installed fine, yet tiki-admin.php?page=packages&cookietab=4


Diagnose option: Install Composer----Failed
Error
There was a problem when installing Composer.
The "https://getcomposer.org/versions" file could not be downloaded: php_network_getaddresses: getaddrinfo
failed: No such host is known.
failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known.

dev.tiki.org 2022-09-12 Page 1 of 3


1. Composer downloaded and installed.
2. Logged off and log back in, to verify installation options were updated.
3. Shelled to D.O.S. and typed 'composer' and its help menu showed up immediately.
Verified PHP 7.19 was the path that would be utilized for PHP commands.
4. Verified CURL was active in the PHP extensions. Checked if 'git' was available, it wasn't.
5. Verified no proxy was running anywhere ( I don't utilize proxies, but checked just in case).
6. Ran TIKI / Diagnose/ Install composer and received the error.
7. Read information on github about the error but did not have issues relating to their troubles.
8. Backed up composer.json.dist and renamed the copy to composer.json which was
in the tiki root location.
9. Pressed the tiki install composer option, got same problem.
10. Deleted composer.json and got same problem (as if it wasn't looking for composer.json).

I was expecting that once composer was installed from Composer-Setup.exe,


the tiki / diagnose/install composer would execute the program utilizing proper install switches or at
least advise the admins that it can't be done on a local wamp64 server, or whatever the case may be.

Importance
6

Priority
30

Demonstrate Bug (Tiki 19+)


This bug has been demonstrated on show2.tikiwiki.org
SVN update

Ticket ID
7062

Created
Monday 08 April, 2019 06:59:10 GMT-0000
by ShowCaseSupport@projectashenfire.org

LastModif
Tuesday 12 October, 2021 14:28:18 GMT-0000

Comments

Bernard Sfez / Tiki Specialist 12 Oct 21 14:29 GMT-0000


As per Tiki23 the issue has been fixed.

Bernard Sfez / Tiki Specialist 13 Oct 21 04:45


GMT-0000
Clarification:

dev.tiki.org 2022-09-12 Page 2 of 3


As per Tiki23 it is possible to install theTiki developer release and install
Composer using the provided tools with the Tiki package.
https://doc.tiki.org/Installation#Install_Tiki

As from my tests it is possible to run setup.sh using compatible shell


application like Cygwin and Emacs.

All this setup is still a developer setup with a "manual" installation of


the last packages with Composer and not the Tiki release package
available at https://tiki.org/download that includes the required
package.

Please retest and if necessary join the Community forums or our


developer list to get help from other developers using the same setup.

Marc Laporte 13 Oct 21 01:43 GMT-0000


For the record, we are working on a way to one day have a PHP script for the setup, and
thus cross platform to replace sh setup.sh
https://gitlab.com/tikiwiki/tiki-setup

Attachments
filename created hits comment version filetype

No attachments for this item

The original document is available at


https://dev.tiki.org/item7062--https-getcomposer-org-versions-file-could-not-be-downloaded

Show PHP error messages

dev.tiki.org 2022-09-12 Page 3 of 3

You might also like