1
5
Fork
You've already forked devops
3

Create script for ubuntu 18.04 #12

Closed
opened 2018年05月01日 21:45:40 +02:00 by HannanSolo · 2 comments
HannanSolo commented 2018年05月01日 21:45:40 +02:00 (Migrated from github.com)
Copy link

It's finally that time of the new ubuntu LTS version, So I think we should create a new installation script that supports it. Currently if I try installing it on 18.04 I get this error.

Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree 
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree 
Reading state information... Done
E: Unable to locate package php7.0-fpm
E: Couldn't find any package by glob 'php7.0-fpm'
E: Couldn't find any package by regex 'php7.0-fpm'
E: Unable to locate package php7.0-curl
E: Couldn't find any package by glob 'php7.0-curl'
E: Couldn't find any package by regex 'php7.0-curl'
E: Unable to locate package php7.0-mbstring
E: Couldn't find any package by glob 'php7.0-mbstring'
E: Couldn't find any package by regex 'php7.0-mbstring'
E: Unable to locate package php7.0-ldap
E: Couldn't find any package by glob 'php7.0-ldap'
E: Couldn't find any package by regex 'php7.0-ldap'
E: Unable to locate package php7.0-mcrypt
E: Couldn't find any package by glob 'php7.0-mcrypt'
E: Couldn't find any package by regex 'php7.0-mcrypt'
E: Unable to locate package php7.0-tidy
E: Couldn't find any package by glob 'php7.0-tidy'
E: Couldn't find any package by regex 'php7.0-tidy'
E: Unable to locate package php7.0-xml
E: Couldn't find any package by glob 'php7.0-xml'
E: Couldn't find any package by regex 'php7.0-xml'
E: Unable to locate package php7.0-zip
E: Couldn't find any package by glob 'php7.0-zip'
E: Couldn't find any package by regex 'php7.0-zip'
E: Unable to locate package php7.0-gd
E: Couldn't find any package by glob 'php7.0-gd'
E: Couldn't find any package by regex 'php7.0-gd'
E: Unable to locate package php7.0-mysql
E: Couldn't find any package by glob 'php7.0-mysql'
E: Couldn't find any package by regex 'php7.0-mysql'
./installation-ubuntu-16.04.sh: 18: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 19: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 20: ./installation-ubuntu-16.04.sh: mysql: not found
./installation-ubuntu-16.04.sh: 23: cd: can't cd to /var/www
Cloning into 'bookstack'...
remote: Counting objects: 14199, done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 14199 (delta 13), reused 66 (delta 7), pack-reused 14108
Receiving objects: 100% (14199/14199), 9.46 MiB | 10.74 MiB/s, done.
Resolving deltas: 100% (9586/9586), done.
./installation-ubuntu-16.04.sh: 26: cd: can't cd to /var/www/bookstack
./installation-ubuntu-16.04.sh: 31: ./installation-ubuntu-16.04.sh: php: not found
ERROR: Invalid composer installer signature
It's finally that time of the new ubuntu LTS version, So I think we should create a new installation script that supports it. Currently if I try installing it on 18.04 I get this error. ``` Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.0-fpm E: Couldn't find any package by glob 'php7.0-fpm' E: Couldn't find any package by regex 'php7.0-fpm' E: Unable to locate package php7.0-curl E: Couldn't find any package by glob 'php7.0-curl' E: Couldn't find any package by regex 'php7.0-curl' E: Unable to locate package php7.0-mbstring E: Couldn't find any package by glob 'php7.0-mbstring' E: Couldn't find any package by regex 'php7.0-mbstring' E: Unable to locate package php7.0-ldap E: Couldn't find any package by glob 'php7.0-ldap' E: Couldn't find any package by regex 'php7.0-ldap' E: Unable to locate package php7.0-mcrypt E: Couldn't find any package by glob 'php7.0-mcrypt' E: Couldn't find any package by regex 'php7.0-mcrypt' E: Unable to locate package php7.0-tidy E: Couldn't find any package by glob 'php7.0-tidy' E: Couldn't find any package by regex 'php7.0-tidy' E: Unable to locate package php7.0-xml E: Couldn't find any package by glob 'php7.0-xml' E: Couldn't find any package by regex 'php7.0-xml' E: Unable to locate package php7.0-zip E: Couldn't find any package by glob 'php7.0-zip' E: Couldn't find any package by regex 'php7.0-zip' E: Unable to locate package php7.0-gd E: Couldn't find any package by glob 'php7.0-gd' E: Couldn't find any package by regex 'php7.0-gd' E: Unable to locate package php7.0-mysql E: Couldn't find any package by glob 'php7.0-mysql' E: Couldn't find any package by regex 'php7.0-mysql' ./installation-ubuntu-16.04.sh: 18: ./installation-ubuntu-16.04.sh: mysql: not found ./installation-ubuntu-16.04.sh: 19: ./installation-ubuntu-16.04.sh: mysql: not found ./installation-ubuntu-16.04.sh: 20: ./installation-ubuntu-16.04.sh: mysql: not found ./installation-ubuntu-16.04.sh: 23: cd: can't cd to /var/www Cloning into 'bookstack'... remote: Counting objects: 14199, done. remote: Compressing objects: 100% (83/83), done. remote: Total 14199 (delta 13), reused 66 (delta 7), pack-reused 14108 Receiving objects: 100% (14199/14199), 9.46 MiB | 10.74 MiB/s, done. Resolving deltas: 100% (9586/9586), done. ./installation-ubuntu-16.04.sh: 26: cd: can't cd to /var/www/bookstack ./installation-ubuntu-16.04.sh: 31: ./installation-ubuntu-16.04.sh: php: not found ERROR: Invalid composer installer signature ```
NonlinearFruit commented 2018年05月04日 03:33:45 +02:00 (Migrated from github.com)
Copy link

I hit the same issue

I hit the same issue
ssddanbrown commented 2018年05月12日 12:50:10 +02:00 (Migrated from github.com)
Copy link

@HannanSolo Thanks, That's a good idea.

For this think we should maybe change to Apache for this since it should play better with other web-packages such as phpmyadmin.

@HannanSolo Thanks, That's a good idea. For this think we should maybe change to Apache for this since it should play better with other web-packages such as phpmyadmin.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bookstack/devops#12
Reference in a new issue
bookstack/devops
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?