Release Candidate
Follow #57
Most of the development made on self made image-stack. It was deployed at home on a Raspberry Pi 3 from a 2x2-cluster (More about acake2php and db services comes next)
Deployment log output
Supervisor starting
<acake2php>
<acake2php> [./migrate-database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php>
<acake2php> [./migrate-database.sh] BASH /var/www/localhost/htdocs/Scripts/lib/parsing.sh
<acake2php>
<acake2php>
<acake2php> [./migrate-database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php> * ./migrate-database.sh
<acake2php> * Bootargs...: -u -i -v
<acake2php> * ./migrate-database.sh
<acake2php> * acake2php.log
<acake2php>
<acake2php> Passed params : ./migrate-database.sh -o -u -i -v
<acake2php> and environment VARIABLES:
<acake2php> declare -x DATABASE_USER="root"
<acake2php> declare -x MYSQL_DATABASE="aria_db"
<acake2php> declare -x MYSQL_HOST="db"
<acake2php> declare -x MYSQL_PASSWORD="maria-abc"
<acake2php> declare -x MYSQL_ROOT_PASSWORD="mariadb"
<acake2php> declare -x MYSQL_TCP_PORT="3306"
<acake2php> declare -x MYSQL_USER="maria"
<acake2php> declare -x TEST_DATABASE_NAME="test"
<acake2php>
<acake2php> * Run \033[0;36mSetup database.cms.php connection and socket\n\033[0m ?...
<acake2php> Yes.
<acake2php>
<acake2php> [/var/www/localhost/htdocs/Scripts/config_app_database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php>
<acake2php> [/var/www/localhost/htdocs/Scripts/config_app_database.sh] BASH /var/www/localhost/htdocs/Scripts/lib/parsing.sh
<acake2php>
<acake2php> Missing homebrew... aborted mysql check.
<acake2php>
<acake2php> [/var/www/localhost/htdocs/Scripts/config_app_database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php> 'database.cms.php' -> 'database.php'
<acake2php> * /var/www/localhost/htdocs/Scripts/config_app_database.sh
<acake2php> * database.cms.php copied. Please, review the files.\n
<acake2php>
<acake2php> [/var/www/localhost/htdocs/Scripts/config_app_database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php> 'Schema/schema.cms.php' -> 'Schema/schema.php'
<acake2php> * /var/www/localhost/htdocs/Scripts/config_app_database.sh
<acake2php> * Schema/schema.cms.php copied. Please, review the files.\n
<acake2php> mysql Ver 15.1 Distrib 10.5.8-MariaDB, for Linux (armv8l) using readline 5.1
<acake2php> * /var/www/localhost/htdocs/Scripts/config_app_database.sh
<acake2php> * \033[0;33mPlease allow the super-user to link mysql socket to /tmp/mysqld.sock ...\033[0m
<acake2php> srwxrwxrwx 1 root root 0 Jul 2 11:14 /var/run/mysqld/mysqld.sock
<acake2php> * /var/www/localhost/htdocs/Scripts/config_app_database.sh
<acake2php> * \033[0;32mNotice: mysqld.sock was found.\033[0m
<acake2php> ! \033[0;31mWARNING: You will modify SQL root password !\033[0m
<acake2php> * ./migrate-database.sh
<acake2php> * Forked script to keep hidden table user secrets...
<acake2php> * Run Import default identities ?...
<acake2php> Yes.
<acake2php> bash: line 1: log_failure_msg: command not found
<acake2php> * ./migrate-database.sh
<acake2php> * \r\033[0;31mWARNING: You will modify SQL maria password !\033[0m
<acake2php> * Run Import test identities ?...
<acake2php> Yes.
<acake2php> bash: line 1: log_failure_msg: command not found
<acake2php>
<acake2php> [./Scripts/start_daemon.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php>
<acake2php> [./Scripts/start_daemon.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php>
<acake2php> [./Scripts/start_daemon.sh] BASH /var/www/localhost/htdocs/Scripts/lib/parsing.sh
<acake2php>
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * acake2php.log
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * Migrating database 'cake schema update' ...
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * Passed Cake Args:(update --connection=default -v ) -> --connection=default -v
<acake2php> [!] FAILED
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * Generating default Sessions table
<acake2php> [!] FAILED
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * Generating database schema 'cake schema generate'
<acake2php> [!] FAILED
<acake2php>
<acake2php> [./migrate-database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php>
<acake2php> [./migrate-database.sh] BASH /var/www/localhost/htdocs/Scripts/lib/parsing.sh
<acake2php>
<acake2php>
<acake2php> [./migrate-database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php> * ./migrate-database.sh
<acake2php> * Bootargs...: -u -v --connection=test
<acake2php> * ./migrate-database.sh
<acake2php> * acake2php.log
<acake2php>
<acake2php> Passed params : ./migrate-database.sh -o -u -v --connection=test
<acake2php> and environment VARIABLES:
<acake2php> declare -x DATABASE_USER="root"
<acake2php> declare -x MYSQL_DATABASE="aria_db"
<acake2php> declare -x MYSQL_HOST="db"
<acake2php> declare -x MYSQL_PASSWORD="maria-abc"
<acake2php> declare -x MYSQL_ROOT_PASSWORD="mariadb"
<acake2php> declare -x MYSQL_TCP_PORT="3306"
<acake2php> declare -x MYSQL_USER="maria"
<acake2php> declare -x TEST_DATABASE_NAME="test"
<acake2php>
<acake2php> * Run \033[0;36mSetup database.cms.php connection and socket\n\033[0m ?...
<acake2php> Yes.
<acake2php>
<acake2php> [/var/www/localhost/htdocs/Scripts/config_app_database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php>
<acake2php> [/var/www/localhost/htdocs/Scripts/config_app_database.sh] BASH /var/www/localhost/htdocs/Scripts/lib/parsing.sh
<acake2php>
<acake2php> Missing homebrew... aborted mysql check.
<acake2php>
<acake2php> [/var/www/localhost/htdocs/Scripts/config_app_database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php> 'database.cms.php' -> 'database.php'
<acake2php> * /var/www/localhost/htdocs/Scripts/config_app_database.sh
<acake2php> * database.cms.php copied. Please, review the files.\n
<acake2php>
<acake2php> [/var/www/localhost/htdocs/Scripts/config_app_database.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php> 'Schema/schema.cms.php' -> 'Schema/schema.php'
<acake2php> * /var/www/localhost/htdocs/Scripts/config_app_database.sh
<acake2php> * Schema/schema.cms.php copied. Please, review the files.\n
<acake2php> mysql Ver 15.1 Distrib 10.5.8-MariaDB, for Linux (armv8l) using readline 5.1
<acake2php> * /var/www/localhost/htdocs/Scripts/config_app_database.sh
<acake2php> * \033[0;33mPlease allow the super-user to link mysql socket to /tmp/mysqld.sock ...\033[0m
<acake2php> srwxrwxrwx 1 root root 0 Jul 2 11:14 /var/run/mysqld/mysqld.sock
<acake2php> * /var/www/localhost/htdocs/Scripts/config_app_database.sh
<acake2php> * \033[0;32mNotice: mysqld.sock was found.\033[0m
<acake2php>
<acake2php> [./Scripts/start_daemon.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php>
<acake2php> [./Scripts/start_daemon.sh] BASH /usr/local/bin/init_functions
<acake2php>
<acake2php>
<acake2php> [./Scripts/start_daemon.sh] BASH /var/www/localhost/htdocs/Scripts/lib/parsing.sh
<acake2php>
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * acake2php.log
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * Migrating database 'cake schema update' ...
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * Passed Cake Args:(update --connection=test ) -> --connection=test
<acake2php> [!] FAILED
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * Generating default Sessions table
<acake2php> [!] FAILED
<acake2php> * ./Scripts/start_daemon.sh
<acake2php> * Generating database schema 'cake schema generate'
<acake2php> [!] FAILED
<acake2php> GOAL app Controller/PagesController --stderr >> acake2php.log -v
<acake2php> [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
<acake2php> [s6-init] ensuring user provided files have correct perms...exited 0.
<acake2php> [fix-attrs.d] applying ownership & permissions fixes...
<acake2php> [fix-attrs.d] done.
<acake2php> [cont-init.d] executing container initialization scripts...
<acake2php> [cont-init.d] done.
<acake2php> [services.d] starting services
<acake2php> www-data:x:82:apache,www-data
<acake2php> uid=103(www-data) gid=82(www-data) groups=82(www-data),82(www-data)
<acake2php> [services.d] done.
<acake2php> www-data:x:103:82:Linux User,,,:/home/www-data:/sbin/nologin
<acake2php> uid=103(www-data) gid=82(www-data) groups=82(www-data),82(www-data)
<db> [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
<db> [s6-init] ensuring user provided files have correct perms...exited 0.
<db> [fix-attrs.d] applying ownership & permissions fixes...
<db> [fix-attrs.d] done.
<db> [cont-init.d] executing container initialization scripts...
<db> [cont-init.d] 10-adduser: executing...
<db> usermod: no changes
<db>
<db> -------------------------------------
<db> _ ()
<db> | | ___ _ __
<db> | | / __| | | / \
<db> | | \__ \ | | | () |
<db> |_| |___/ |_| \__/
<db>
<db>
<db> Brought to you by linuxserver.io
<db> We gratefully accept donations at:
<db> https://www.linuxserver.io/donate/
<db> -------------------------------------
<db> GID/UID
<db> -------------------------------------
<db>
<db> User uid: 0
<db> User gid: 0
<db> -------------------------------------
<db>
<db> [cont-init.d] 10-adduser: exited 0.
<db> [cont-init.d] 30_config: executing...
<db> [cont-init.d] 30_config: exited 0.
<db> [cont-init.d] 40-initialise-db: executing...
<db> [cont-init.d] 40-initialise-db: exited 0.
<db> [cont-init.d] 90-config: executing...
<db>
<db> ******************************************************
<db> ******************************************************
<db> * *
<db> * *
<db> * This image has been deprecated *
<db> * *
<db> * Use the multi-arch images at *
<db> * *
<db> * linuxserver/mariadb *
<db> * *
<db> * https://hub.docker.com/r/linuxserver/mariadb *
<db> * *
<db> * https://github.com/linuxserver/docker-mariadb *
<db> * *
<db> * *
<db> * *
<db> ******************************************************
<db> ******************************************************
<db> [cont-init.d] 90-config: exited 0.
<db> [cont-init.d] done.
<db> [services.d] starting services
<db> [services.d] done.
<db> 210711 11:29:29 mysqld_safe Logging to syslog.
<db> 210711 11:29:30 mysqld_safe Starting mysqld daemon with databases from /config/databases
<acake2php> CakePHP LOG: /var/www/localhost/htdocs/app/tmp/logs/error.log
<acake2php> [Sun Jul 11 09:29:45.037716 2021] [core:warn] [pid 639] AH00098: pid file /run/apache2/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
<acake2php> [Sun Jul 11 09:29:45.049435 2021] [mpm_prefork:notice] [pid 639] AH00163: Apache/2.4.46 (Unix) PHP/7.4.15 OpenSSL/1.1.1i configured -- resuming normal operations
<acake2php> [Sun Jul 11 09:29:45.049537 2021] [core:notice] [pid 639] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'