{"action":"created","issue":{"url":"https://api.github.com/repos/BookStackApp/devops/issues/13","repository_url":"https://api.github.com/repos/BookStackApp/devops","labels_url":"https://api.github.com/repos/BookStackApp/devops/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/BookStackApp/devops/issues/13/comments","events_url":"https://api.github.com/repos/BookStackApp/devops/issues/13/events","html_url":"https://github.com/BookStackApp/devops/issues/13","id":346257538,"node_id":"MDU6SXNzdWUzNDYyNTc1Mzg=","number":13,"title":"Ubuntu 18.04 Installation Script : Error on a fresh instance (php7.2-fpm, php7.2-mbstring...)","user":{"login":"Nico207","id":1179972,"node_id":"MDQ6VXNlcjExNzk5NzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1179972?v=4","gravatar_id":"","url":"https://api.github.com/users/Nico207","html_url":"https://github.com/Nico207","followers_url":"https://api.github.com/users/Nico207/followers","following_url":"https://api.github.com/users/Nico207/following{/other_user}","gists_url":"https://api.github.com/users/Nico207/gists{/gist_id}","starred_url":"https://api.github.com/users/Nico207/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nico207/subscriptions","organizations_url":"https://api.github.com/users/Nico207/orgs","repos_url":"https://api.github.com/users/Nico207/repos","events_url":"https://api.github.com/users/Nico207/events{/privacy}","received_events_url":"https://api.github.com/users/Nico207/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-31T16:10:45Z","updated_at":"2018-08-01T07:46:02Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nafter an install of a new Ubuntu server 18.04.1, I've got this error when I try to execute the install script :\r\n\r\n```\r\nroot@bookserver:~# chmod a+x installation-ubuntu-18.04.sh\r\nroot@bookserver:~# sudo ./installation-ubuntu-18.04.sh\r\n\r\nEnter the domain you want to host BookStack and press [ENTER]\r\nExamples: my-site.com or docs.my-site.com\r\nmy.site.com\r\nAtteint:1 http://archive.ubuntu.com/ubuntu bionic InRelease\r\nAtteint:2 http://archive.ubuntu.com/ubuntu bionic-security InRelease\r\nAtteint:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease\r\nLecture des listes de paquets... Fait\r\nConstruction de l'arbre des dépendances\r\nLecture des informations d'état... Fait\r\nTous les paquets sont à jour.\r\nLecture des listes de paquets... Fait\r\nConstruction de l'arbre des dépendances\r\nLecture des informations d'état... Fait\r\nAucune version du paquet php7.2-fpm n'est disponible, mais il existe dans la base\r\nde données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète\r\nou qu'il n'est disponible que sur une autre source\r\n\r\nE: Le paquet « php7.2-fpm » n'a pas de version susceptible d'être installée\r\nE: Impossible de trouver le paquet php7.2-mbstring\r\nE: Impossible de trouver de paquet correspondant à l'expression rationnelle « php7.2-mbstring »\r\nE: Impossible de trouver de paquet correspondant à l'expression rationnelle « php7.2-mbstring »\r\nE: Impossible de trouver le paquet php7.2-zip\r\nE: Impossible de trouver de paquet correspondant à l'expression rationnelle « php7.2-zip »\r\nE: Impossible de trouver de paquet correspondant à l'expression rationnelle « php7.2-zip »\r\n./installation-ubuntu-18.04.sh: 18: ./installation-ubuntu-18.04.sh: mysql: not found\r\n./installation-ubuntu-18.04.sh: 19: ./installation-ubuntu-18.04.sh: mysql: not found\r\n./installation-ubuntu-18.04.sh: 20: ./installation-ubuntu-18.04.sh: mysql: not found\r\n./installation-ubuntu-18.04.sh: 23: cd: can't cd to /var/www\r\nCloning into 'bookstack'...\r\nremote: Counting objects: 15127, done.\r\nremote: Compressing objects: 100% (170/170), done.\r\nremote: Total 15127 (delta 54), reused 163 (delta 44), pack-reused 14910\r\nReceiving objects: 100% (15127/15127), 9.84 MiB | 2.84 MiB/s, done.\r\nResolving deltas: 100% (10189/10189), done.\r\n./installation-ubuntu-18.04.sh: 26: cd: can't cd to /var/www/bookstack\r\n./installation-ubuntu-18.04.sh: 31: ./installation-ubuntu-18.04.sh: php: not found\r\nERROR: Invalid composer installer signature\r\nroot@bookserver:~#\r\n\r\n```\r\n\r\nUbuntu 18.04.1 64bits on a VMWare machine"},"comment":{"url":"https://api.github.com/repos/BookStackApp/devops/issues/comments/409482455","html_url":"https://github.com/BookStackApp/devops/issues/13#issuecomment-409482455","issue_url":"https://api.github.com/repos/BookStackApp/devops/issues/13","id":409482455,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTQ4MjQ1NQ==","user":{"login":"Nico207","id":1179972,"node_id":"MDQ6VXNlcjExNzk5NzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1179972?v=4","gravatar_id":"","url":"https://api.github.com/users/Nico207","html_url":"https://github.com/Nico207","followers_url":"https://api.github.com/users/Nico207/followers","following_url":"https://api.github.com/users/Nico207/following{/other_user}","gists_url":"https://api.github.com/users/Nico207/gists{/gist_id}","starred_url":"https://api.github.com/users/Nico207/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nico207/subscriptions","organizations_url":"https://api.github.com/users/Nico207/orgs","repos_url":"https://api.github.com/users/Nico207/repos","events_url":"https://api.github.com/users/Nico207/events{/privacy}","received_events_url":"https://api.github.com/users/Nico207/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T07:46:02Z","updated_at":"2018-08-01T07:46:02Z","author_association":"NONE","body":"I have add this ppa : ondrej/php\r\n`sudo add-apt-repository ppa:ondrej/php`\r\n\r\nWith this ppa, problems with php packages are almost gone...\r\n\r\n```\r\nroot@bookserver:~# sudo ./installation-ubuntu-18.04.sh\r\n\r\nEnter the domain you want to host BookStack and press [ENTER]\r\nExamples: my-site.com or docs.my-site.com\r\nmy.site.com\r\nAtteint:1 http://archive.ubuntu.com/ubuntu bionic InRelease\r\nAtteint:2 http://archive.ubuntu.com/ubuntu bionic-security InRelease\r\nAtteint:3 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease\r\nAtteint:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease\r\nLecture des listes de paquets... Fait\r\nConstruction de l'arbre des dépendances\r\nLecture des informations d'état... Fait\r\n3 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.\r\nLecture des listes de paquets... Fait\r\nConstruction de l'arbre des dépendances\r\nLecture des informations d'état... Fait\r\nCertains paquets ne peuvent être installés. Ceci peut signifier\r\nque vous avez demandé l'impossible, ou bien, si vous utilisez\r\nla distribution unstable, que certains paquets n'ont pas encore\r\nété créés ou ne sont pas sortis d'Incoming.\r\nL'information suivante devrait vous aider à résoudre la situation :\r\n\r\nLes paquets suivants contiennent des dépendances non satisfaites :\r\n php7.2-zip : Dépend: libzip4 (>= 1.0) mais il n'est pas installable\r\nE: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».\r\n./installation-ubuntu-18.04.sh: 18: ./installation-ubuntu-18.04.sh: mysql: not found\r\n./installation-ubuntu-18.04.sh: 19: ./installation-ubuntu-18.04.sh: mysql: not found\r\n./installation-ubuntu-18.04.sh: 20: ./installation-ubuntu-18.04.sh: mysql: not found\r\n./installation-ubuntu-18.04.sh: 23: cd: can't cd to /var/www\r\n./installation-ubuntu-18.04.sh: 24: ./installation-ubuntu-18.04.sh: git: not found\r\n./installation-ubuntu-18.04.sh: 26: cd: can't cd to /var/www/bookstack\r\n./installation-ubuntu-18.04.sh: 30: ./installation-ubuntu-18.04.sh: curl: not found\r\n./installation-ubuntu-18.04.sh: 31: ./installation-ubuntu-18.04.sh: php: not found\r\nERROR: Invalid composer installer signature\r\nroot@bookserver:~#\r\n```"}}
{"actor":{"display_login":"Nico207"}}