[ixpmanager] Installation failing when installing PHP dependencies

Mauricio Oviedo mauricio at socium.cr
Sun Mar 21 22:41:28 GMT 2021


Hi Tim,

Thanks for taking a look. Yesterday I tried both in the production infrastructure and in AWS testing VM with same results and error message.


  1.  Launch AWS Ubuntu Server 20.04 LTS (HVM),EBS General Purpose (SSD) Volume Type. (t2.micro).
  2.  Download installation script from:
sudo wget https://github.com/inex/IXP-Manager/raw/master/tools/installers/ubuntu-lts-2004-ixp-manager-v5.sh

  1.  Execute

sudo bash ./ubuntu-lts-2004-ixp-manager-v5.sh

After your message I tried again today in the AWS VM and worked correctly. Created a new VM in production infrastructure and worked OK as well...

So... no idea of what happened, but works OK now...

Thanks for testing Tim.

Best,
Mauricio


De: ixpmanager <ixpmanager-bounces at inex.ie> En nombre de Tim Densmore
Enviado el: domingo, 21 de marzo de 2021 12:51
Para: ixpmanager at inex.ie
Asunto: Re: [ixpmanager] Installation failing when installing PHP dependencies

Hi Mauricio,

I have nothing to do with maintaining this project and probably can't be of much help, but since I was working on my lab this morning I decided to give it a quick run-through on a VM to see if anything had changed recently.
I can't replicate this on a fresh install of 20.04.02 and the latest autoinstall script from github - my installation completes without error.

What you included appears to be output from the installer - I imagine they'll want output from /tmp/ixp-manager-install.log.
Here's what mine looks like from what appears to be around that section:


Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: anahkiasen/former
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: laravel-doctrine/orm
Discovered Package: laravel/horizon
Discovered Package: laravel/socialite
Discovered Package: laravel/telescope
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: parsedown/laravel
Discovered Package: pragmarx/google2fa-laravel
Discovered Package: socialiteproviders/manager
Package manifest generated successfully.
49 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan clear-compiled
Compiled services and packages files removed!



On 3/20/21 10:37 PM, Mauricio Oviedo wrote:
Hi Folks,

I'm installing IXP on Ubuntu 20.04.2 using the automated script ubuntu-lts-2004-ixp-manager-v5.sh.

Unfortunately it is failing when installing PHP dependencies:

Create Bcrypt hashed password for user...[done]
Creating database and database users...mysql: [Warning] Using a password on the command line interface can be insecure.
[done]
Creating .env file...[done]
Running composer to install PHP dependencies (please be patient)...

Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover

In MemcachedConnector.php line 69:

  Class 'Memcached' not found

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

Is there any additional dependency on Ubuntu 20.04.2, or something I'm missing?

Thanks,
Mauricio



_______________________________________________

INEX IXP Manager mailing list

ixpmanager at inex.ie<mailto:ixpmanager at inex.ie>

Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20210321/d4836923/attachment-0001.htm>


More information about the ixpmanager mailing list