You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lors de l'instalation l'erreur composer suivante apparais :
Problem 1
- nategood/httpful dev-test-server requires ext-curl * -> the requested PHP extension curl is missing from your system.
Dans le navigateur, sur le port 5080 ca dit:
( ! ) Warning: require_once(/code/pixelhumain/ph/vendor/yiisoft/yii/framework/yii.php): failed to open stream: No such file or directory in /code/pixelhumain/ph/index.php on line 22
Full logs of the install process:
root@vps135791:/home/co2# git clone https://github.com/pixelhumain/docker pixelhumain-docker
Cloning into 'pixelhumain-docker'...
remote: Counting objects: 179, done.
remote: Total 179 (delta 0), reused 0 (delta 0), pack-reused 179
Receiving objects: 100% (179/179), 29.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (90/90), done.
Checking connectivity... done.
root@vps135791:/home/co2# ls
pixelhumain-docker
root@vps135791:/home/co2# cd pixelhumain-docker/
root@vps135791:/home/co2/pixelhumain-docker# ls
docker-compose.install-no-build.yml docker-compose.install.yml docker-compose-no-build.yml docker-compose.yml docker-front docker-install README.md TODO
root@vps135791:/home/co2/pixelhumain-docker# docker-compose -f docker-compose.yml -f docker-compose.install.yml run ph cotools --install
Starting pixelhumaindocker_mongo_1 ... done
Starting pixelhumaindocker_front_1 ... done
............................................................
..................====..............::::....................
..................====..............::::....................
............................................................
..................................................====......
..................+?................~+...........=======....
...............=========+?.........?::::::~I.........===....
..............=====+========...::::::::::::::.......===.....
.............====.......?===..:::+........+:::....===.......
.............====........===7.............::::..===+====....
.............====.............I=::........::::..========....
.............====.............:::~........::::..............
.............====.........................::::..............
.............====.............?~::........::::..............
.............====.......++7...::::..........................
.............==========....I...:::::::::..I=:...............
.................?=========.....::::::::::::?...............
................==+======........7::::::=I..................
............................................................
............................................................
..................====..............::::....................
..................====..............::::....................
............................................................
..................................................====......
..................+?................~+...........=======....
...............=========+?.........?::::::~I.........===....
..............=====+========...::::::::::::::.......===.....
.............====.......?===..:::+........+:::....===.......
.............====........===7.............::::..===+====....
.............====.............I=::........::::..========....
.............====.............:::~........::::..............
.............====.........................::::..............
.............====.............?~::........::::..............
.............====.......++7...::::..........................
.............==========....I...:::::::::..I=:...............
.................?=========.....::::::::::::?...............
................==+======........7::::::=I..................
............................................................
Cloning into '/code/pixelhumain'...
remote: Counting objects: 59030, done.
remote: Compressing objects: 100% (142/142), done.
remote: Total 59030 (delta 83), reused 92 (delta 21), pack-reused 58860
Receiving objects: 100% (59030/59030), 195.78 MiB | 11.74 MiB/s, done.
Resolving deltas: 100% (32142/32142), done.
Checking connectivity... done.
Checking out files: 100% (21927/21927), done.
mkdir: created directory '/code/modules'
mkdir: created directory '/code/pixelhumain/ph/upload'
Installing communecter
Cloning into '/code/modules/communecter'...
remote: Counting objects: 47713, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 47713 (delta 6), reused 13 (delta 4), pack-reused 47688
Receiving objects: 100% (47713/47713), 98.93 MiB | 11.74 MiB/s, done.
Resolving deltas: 100% (36599/36599), done.
Checking connectivity... done.
Installing citizenToolKit
Cloning into '/code/modules/citizenToolKit'...
remote: Counting objects: 21063, done.
remote: Compressing objects: 100% (226/226), done.
remote: Total 21063 (delta 179), reused 177 (delta 69), pack-reused 20768
Receiving objects: 100% (21063/21063), 4.49 MiB | 0 bytes/s, done.
Resolving deltas: 100% (16252/16252), done.
Checking connectivity... done.
Installing co2
Cloning into '/code/modules/co2'...
remote: Counting objects: 18609, done.
remote: Compressing objects: 100% (181/181), done.
remote: Total 18609 (delta 123), reused 83 (delta 19), pack-reused 18409
Receiving objects: 100% (18609/18609), 275.14 MiB | 11.76 MiB/s, done.
Resolving deltas: 100% (12847/12847), done.
Checking connectivity... done.
Installing network
Cloning into '/code/modules/network'...
remote: Counting objects: 2107, done.
remote: Total 2107 (delta 0), reused 0 (delta 0), pack-reused 2107
Receiving objects: 100% (2107/2107), 56.79 MiB | 11.74 MiB/s, done.
Resolving deltas: 100% (871/871), done.
Checking connectivity... done.
Installing api
Cloning into '/code/modules/api'...
remote: Counting objects: 971, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 971 (delta 0), reused 4 (delta 0), pack-reused 965
Receiving objects: 100% (971/971), 58.65 MiB | 11.74 MiB/s, done.
Resolving deltas: 100% (138/138), done.
Checking connectivity... done.
Setting up credentials
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:14.072+0000 E QUERY [thread1] Error: couldn't add user: User "pixelhumain@pixelhumain" already exists :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype.createUser@src/mongo/shell/db.js:1267:15
@(shell):1:1
bye
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumaintest
2017-12-15T15:05:14.151+0000 E QUERY [thread1] Error: couldn't add user: User "pixelhumain@pixelhumaintest" already exists :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype.createUser@src/mongo/shell/db.js:1267:15
@(shell):1:1
bye
Installing composer
Setting up with Composer
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Warning: Accessing packages.phundament.com over http which is an insecure protocol.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- nategood/httpful dev-test-server requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful dev-r0.3.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful dev-php7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful dev-dev requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.9 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.8 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.20 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.19 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.17 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.16 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.13 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.11 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.10 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- Installation request for nategood/httpful * -> satisfiable by nategood/httpful[0.1.0, 0.1.2, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, dev-dev, dev-master, dev-php7, dev-r0.3.0, dev-test-server].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php5/cli/php.ini
- /etc/php5/cli/conf.d/05-opcache.ini
- /etc/php5/cli/conf.d/10-pdo.ini
- /etc/php5/cli/conf.d/20-json.ini
- /etc/php5/cli/conf.d/20-readline.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Warning: Accessing packages.phundament.com over http which is an insecure protocol.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- nategood/httpful dev-test-server requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful dev-r0.3.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful dev-php7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful dev-dev requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.9 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.8 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.20 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.19 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.17 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.16 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.13 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.11 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.10 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.1.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- Installation request for nategood/httpful * -> satisfiable by nategood/httpful[0.1.0, 0.1.2, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, dev-dev, dev-master, dev-php7, dev-r0.3.0, dev-test-server].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php5/cli/php.ini
- /etc/php5/cli/conf.d/05-opcache.ini
- /etc/php5/cli/conf.d/10-pdo.ini
- /etc/php5/cli/conf.d/20-json.ini
- /etc/php5/cli/conf.d/20-readline.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Import data
Import lists data...
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:48.877+0000 I NETWORK [thread1] getaddrinfo("mongo") failed: Name or service not known
2017-12-15T15:05:49.557+0000 E QUERY [thread1] Error: couldn't initialize connection to host mongo, address is invalid :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6
exception: connect failed
2017-12-15T15:05:52.580+0000 [........................] pixelhumain.lists 0B/21.4KB (0.0%)
2017-12-15T15:05:53.267+0000 [........................] pixelhumain.lists 0B/21.4KB (0.0%)
2017-12-15T15:05:53.268+0000 Failed: error connecting to db server: no reachable servers
2017-12-15T15:05:53.268+0000 imported 0 documents
Archive: /code/modules/co2/data/cities.json.zip
inflating: /code/modules/co2/data/cities.json
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:53.973+0000 I NETWORK [thread1] getaddrinfo("mongo") failed: Name or service not known
2017-12-15T15:05:53.974+0000 E QUERY [thread1] Error: couldn't initialize connection to host mongo, address is invalid :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6
exception: connect failed
Import cities data...
2017-12-15T15:05:56.987+0000 [........................] pixelhumain.cities 0B/63.3MB (0.0%)
2017-12-15T15:05:57.671+0000 [........................] pixelhumain.cities 0B/63.3MB (0.0%)
2017-12-15T15:05:57.671+0000 Failed: error connecting to db server: no reachable servers
2017-12-15T15:05:57.671+0000 imported 0 documents
Create index mongo...
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:57.770+0000 I NETWORK [thread1] getaddrinfo("mongo") failed: Name or service not known
2017-12-15T15:05:57.771+0000 E QUERY [thread1] Error: couldn't initialize connection to host mongo, address is invalid :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6
exception: connect failed
MongoDB shell version: 3.2.17
connecting to: mongo/pixelhumain
2017-12-15T15:05:57.868+0000 I NETWORK [thread1] getaddrinfo("mongo") failed: Name or service not known
2017-12-15T15:05:57.869+0000 E QUERY [thread1] Error: couldn't initialize connection to host mongo, address is invalid :
connect@src/mongo/shell/mongo.js:231:14
@(connect):1:6
exception: connect failed
Communecte est maintenant disponible depuis http://localhost:5080
pour valider un user sans regler l'envoie d'email vous pouvez le valider avec : docker-compose -f docker-compose.yml -f docker-compose.install.yml run ph cotools [email protected]
vous pouvez ajouter le cron pour les email avec : docker-compose -f docker-compose.yml -f docker-compose.install.yml run ph cotools --add-cron
pour pouvoir editer le code sur votre machine ou serveur :
sudo chown -R ${USER:=$(/usr/bin/id -run)}:$USER code/pixelhumain/
sudo chown -R ${USER:=$(/usr/bin/id -run)}:$USER code/modules/
sudo chown -R ${USER:=$(/usr/bin/id -run)}:$USER code/log/
les logs nginx ce trouve dans code/log
The text was updated successfully, but these errors were encountered:
Lors de l'instalation l'erreur composer suivante apparais :
Dans le navigateur, sur le port 5080 ca dit:
Full logs of the install process:
The text was updated successfully, but these errors were encountered: