madzharov / ministra-install-ubuntu-20.04

Ministra Portal auto install script
11 stars 15 forks source link

Wow - Awesome work but 1 issue #3

Open mattmoo138 opened 2 years ago

mattmoo138 commented 2 years ago

Hey Guys, script is awesome, closest i've had to get ministra working :). its got an error in the creating of mysql db, and failing at the last stage i think writing to the build.xml file.

ERROR 1227 (42000) at line 1: Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for this operation mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 1227 (42000) at line 1: Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for this operation mysql: [Warning] Using a password on the command line interface can be insecure.


[echo] Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package zlibc [exec] Executing command: curl -sS https://getcomposer.org/installer | php -- --install-dir=/var/www/html/stalker_portal/deploy/composer/ --filename=composer.deploy.phar 2>&1 sh: 1: curl: not found [exec] Executing command: /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar self-update 1.9.0 2>&1 [exec] Executing command: chmod +x /var/www/html/stalker_portal/storage/tvarchive.sh 2>&1 [exec] Executing command: rm -f /var/www/html/stalker_portal/deploy/ministra/composer.lock 2>&1 [exec] Executing command: php /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar global require hirak/prestissimo --no-interaction 2>&1 [exec] Executing command: php /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar --working-dir=/var/www/html/stalker_portal/deploy/ install --no-dev --no-suggest --no-interaction 2>&1 [echo] Could not open input file: /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar [exec] Executing command: php /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar --working-dir=/var/www/html/stalker_portal/deploy/ dump-autoload --no-dev 2>&1 [exec] Executing command: php /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar --working-dir=/var/www/html/stalker_portal/deploy/ministra install --no-dev --no-suggest --no-interaction 2>&1 [echo] Could not open input file: /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar [exec] Executing command: php /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar --working-dir=/var/www/html/stalker_portal/deploy/ministra dump-autoload --no-dev 2>&1 [exec] Executing command: php /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar --working-dir=/var/www/html/stalker_portal/storage install --no-dev --no-suggest --no-interaction 2>&1 [echo] Could not open input file: /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar [exec] Executing command: php /var/www/html/stalker_portal/deploy/composer/composer.deploy.phar --working-dir=/var/www/html/stalker_portal/storage dump-autoload --no-dev 2>&1 [exec] Executing command: stop stalkerd 2>&1 [exec] Executing command: nodejs -v 2>&1 [copy] Copying 1 file to /etc/cron.d [chmod] Changed file mode on '/etc/cron.d/stalker_6e04301d4c8b249181458e5778a65064' to 755 [copy] Copying 1 file to /etc/logrotate.d [echo] /var/www/html/stalker_portal [copy] Copying 1 file to /tmp [php] Evaluating PHP expression: ini_get('extension_dir'); [echo] PHP extension dir: /usr/lib/php/20151012 [php] Evaluating PHP expression: PHP_INT_SIZE === 8 ? 64 : 32 [echo] OS: 64 bit [copy] Copying 1 file to /usr/lib/php/20151012 [chmod] Changed file mode on '/usr/lib/php/20151012/ioncube_loader_lin_7.0.so' to 644 [exec] Executing command: php -v | grep -i ioncube | wc -l 2>&1 [echo] IonCube installed: 1 [exec] Executing command: cp -r -v /var/www/html/stalker_portal/deploy/src/core/56/* /var/www/html/stalker_portal 2>&1 [exec] Executing command: php /var/www/html/stalker_portal/admin/bin/console mtv:migrations:upgrade --no-interaction 2>&1

BUILD FAILED /var/www/html/stalker_portal/deploy/build.xml:359:114: Task exited with code 255

Total time: 8.7247 seconds

Please help me :)

mickflix commented 2 years ago

are you logged in as root user ?

mattmoo138 commented 2 years ago

Hi mate.

Thanks for reply. Had wrong version of Ubuntu. All good now. Amazing script work bro. Thanks

On Mon, 20 Dec 2021, 2:03 am mickflix, @.***> wrote:

are you logged in as root user ?

— Reply to this email directly, view it on GitHub https://github.com/madzharov/ministra-install-ubuntu-20.04/issues/3#issuecomment-997388441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM65IYOMAJVDIYUJH4QZAYLURXJ2ZANCNFSM5JP557UQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>