mcll@beckagab:~$ sudo bash -c "$(curl -s https://raw.githubusercontent.com/bluecherrydvr/bluecherry-docker/master/scripts/install.sh)" [sudo] password for mcll: Do you want to install docker and setup Bluecherry server? [y/n]: y # Executing docker install script, commit: c2de0811708b6d9015ed1a2c80f02c9b70c8ce7b + sh -c apt-get update -qq >/dev/null + sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null + sh -c install -m 0755 -d /etc/apt/keyrings + sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg + sh -c chmod a+r /etc/apt/keyrings/docker.gpg + sh -c echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu focal stable" > /etc/apt/sources.list.d/docker.list + sh -c apt-get update -qq >/dev/null + sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin >/dev/null + sh -c docker version Client: Docker Engine - Community Version: 24.0.5 API version: 1.43 Go version: go1.20.6 Git commit: ced0996 Built: Fri Jul 21 20:35:23 2023 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 24.0.5 API version: 1.43 (minimum version 1.12) Go version: go1.20.6 Git commit: a61e2b4 Built: Fri Jul 21 20:35:23 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.21 GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0 ================================================================================ To run Docker as a non-privileged user, consider setting up the Docker daemon in rootless mode for your user: dockerd-rootless-setuptool.sh install Visit https://docs.docker.com/go/rootless/ to learn about rootless mode. To run the Docker daemon as a fully privileged service, but granting non-root users access, refer to https://docs.docker.com/go/daemon-access/ WARNING: Access to the remote API on a privileged Docker daemon is equivalent to root access on the host. Refer to the 'Docker daemon attack surface' documentation for details: https://docs.docker.com/go/attack-surface/ ================================================================================ Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable docker Installing Bluecherry....... Találat:1 https://download.docker.com/linux/ubuntu focal InRelease Találat:3 http://tr.archive.ubuntu.com/ubuntu focal InRelease Találat:4 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease Találat:2 https://ftp.bme.hu/pub/mirrors/mariadb/mariadb-10.8.8/repo/ubuntu jammy InRelease Találat:5 http://tr.archive.ubuntu.com/ubuntu focal-updates InRelease Találat:6 http://tr.archive.ubuntu.com/ubuntu focal-backports InRelease Találat:7 http://unstable.bluecherrydvr.com focal InRelease Találat:8 http://tr.archive.ubuntu.com/ubuntu focal-security InRelease Találat:9 http://unstable.bluecherrydvr.com jammy InRelease Csomaglisták olvasása... Kész Csomaglisták olvasása... Kész Függőségi fa építése Állapotinformációk olvasása... Kész git már a legújabb verzió (1:2.25.1-1ubuntu3.11). git kézi telepítésűre állítva. A következő csomagok automatikusan lettek telepítve, és már nincs rájuk szükség: libarmadillo9 libboost-filesystem1.71.0 libcfitsio8 libdap25 libdapclient6v5 libebml4v5 libepsilon1 libgdal26 libhdf5-103 libilmbase24 libmatroska6v5 libnetcdf15 libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libodbc1 libonig5 libopencv-core4.2 libopencv-imgcodecs4.2 libopencv-imgproc4.2 libopenexr24 libpoppler97 libpq5 libqhull7 libva-wayland2 libxerces-c3.2 mkvtoolnix nginx nginx-common nginx-core odbcinst odbcinst1debian2 php-curl php-fpm php-gd php-mail-mime php-mbstring php-mysql php-sqlite3 php7.4-mbstring poppler-data sqlite3 vainfo Ezeket az „sudo apt autoremove” paranccsal törölheti. 0 frissített, 0 újonnan telepített, 0 eltávolítandó és 0 nem frissített. Do you want to download and configure the Bluecherry docker images? If this is the first run of the script then select 'y' [y/n]: y Directory /bluecherry-docker...proceeding with cloning Cloning into 'bluecherry-docker'... remote: Enumerating objects: 1092, done. remote: Counting objects: 100% (498/498), done. remote: Compressing objects: 100% (274/274), done. remote: Total 1092 (delta 424), reused 206 (delta 206), pack-reused 594 Receiving objects: 100% (1092/1092), 1.98 MiB | 8.80 MiB/s, done. Resolving deltas: 100% (565/565), done. \n\n******************************************************************\n\n You will be asked the following to configure the docker container: Time Zone (formatted like this - See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) Create a password for the mysql admin Create a password for the mysql bluecherry user Time Zone (i.e. - America/Chicago): Hungary/Budapest Please provide a mysql admin password: Please provide a mysql bluecherry password: \n\nDownloading latest Bluecherry and related images...this may take a while...\n\n [+] Pulling 48/32 ✔ bluecherry 19 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 22.0s ✔ uptime-kuma 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 24.8s ✔ bc-mysql 11 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 22.5s ✔ mta_mailer 5 layers [⣿⣿⣿⣿⣿] 0B/0B Pulled 15.1s [+] Running 2/2 ✔ Network bluecherry_net Created 0.5s ✔ Container bc-mysql Started 3.5s Sleeping 45 seconds to make sure the database is initialized correctly... \n\n [+] Stopping 1/1 ✔ Container bc-mysql Stopped 10.3s [+] Running 1/1 ✔ Container bc-mysql Started 0.2s Sleeping another 15 seconds to run the database creation scripts... \n\n [+] Creating 1/0 ✔ Container bc-mysql Running 0.0s ++ cat /etc/os-release ++ grep '^ID=' ++ grep centos + [[ -n '' ]] + IN_DEB=1 + MODE=new_db + case "$MODE" in + [[ 8 -lt 6 ]] + new_db root bluecherry bluecherry bc-mysql % + echo new_db root bluecherry bluecherry bc-mysql % new_db root bluecherry bluecherry bc-mysql % + MYSQL_ADMIN_LOGIN=root + MYSQL_ADMIN_PASSWORD= + dbname=bluecherry + user=bluecherry + password= + host=bc-mysql + userhost=% + check_mysql_admin root + MYSQL_ADMIN_LOGIN=root + MYSQL_ADMIN_PASSWORD= + echo 'Testing MySQL admin credentials correctness...' Testing MySQL admin credentials correctness... + echo 'show databases' + mysql_wrapper -hbc-mysql -uroot + check_db_exists root bc-mysql bluecherry + MYSQL_ADMIN_LOGIN=root + MYSQL_ADMIN_PASSWORD= + dbhost=bc-mysql + dbname=bluecherry + echo 'Testing whether database already exists...' Testing whether database already exists... + echo 'show databases' + mysql_wrapper -hbc-mysql -uroot -Dbluecherry + create_db root bc-mysql bluecherry bluecherry % + MYSQL_ADMIN_LOGIN=root + MYSQL_ADMIN_PASSWORD= + dbhost=bc-mysql + dbname=bluecherry + user=bluecherry + password= + userhost=% + [[ -n ]] + mysql -hbc-mysql -uroot --password= + echo 'DROP DATABASE IF EXISTS bluecherry; CREATE DATABASE bluecherry' mysql: [Warning] Using a password on the command line interface can be insecure. + echo 'CREATE USER bluecherry@'\''%'\'' IDENTIFIED BY '\'''\''' + mysql -hbc-mysql -uroot --password= mysql: [Warning] Using a password on the command line interface can be insecure. + echo 'GRANT ALL ON bluecherry.* to bluecherry@'\''%'\''' + mysql -hbc-mysql -uroot --password= mysql: [Warning] Using a password on the command line interface can be insecure. + mysql -hbc-mysql -ubluecherry --password= -Dbluecherry mysql: [Warning] Using a password on the command line interface can be insecure. ++ cat /usr/share/bluecherry/installed_db_version + DB_VERSION=3000010 + echo 'INSERT INTO GlobalSettings (parameter, value) VALUES ('\''G_DB_VERSION'\'', '\''3000010'\'')' + mysql -hbc-mysql -ubluecherry --password= -Dbluecherry mysql: [Warning] Using a password on the command line interface can be insecure. + mysql -hbc-mysql -ubluecherry --password= -Dbluecherry mysql: [Warning] Using a password on the command line interface can be insecure. + exit 0 [+] Running 2/2 ✔ Container bc-mysql Removed 7.4s ✔ Network bluecherry_net Removed 0.1s [+] Running 4/5 ✔ Network bluecherry_net Created 0.0s ✔ Container bc-mail Started 0.6s ✔ Container bc-mysql Started 0.6s ✔ Container uptime-kuma Started 0.5s ⠿ Container bc-server Starting 0.7s Error response from daemon: driver failed programming external connectivity on endpoint bc-server (a5965abcb0d0502220313ae8d110c777e99e8a5c447e4462bbd55cff1ad178dc): Error starting userland proxy: listen tcp4 0.0.0.0:7001: bind: address already in use