You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rm -rf /var/log/* && \
Causes an issue
My fix is :
`
##ADD THIS TO FIX
RUN if ! [ -d /var/log/mysql/ ]; then mkdir /var/log/mysql/; fi
RUN if ! [ -f /var/log/mysql/error.log ]; then touch /var/log/mysql/error.log; fi
RUN chmod -R 777 /var/log/mysql/
#######
When building from scratch Container no longer starts
---> Running in c7d2053c6b16 Starting MariaDB database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed! The command '/bin/sh -c /etc/init.d/mysql start && cd /usr/src/freepbx && echo "Starting Asterisk..." && cp /etc/odbc.ini /usr/src/freepbx/installlib/files/odbc.ini && ./start_asterisk start && sleep 3 && echo "Installing FreePBX..." && ./install -n && echo "Updating FreePBX modules..." && fwconsole chown && fwconsole ma upgradeall && fwconsole ma downloadinstall backup bulkhandler ringgroups timeconditions ivr restapi cel configedit asteriskinfo certman ucp webrtc && /etc/init.d/mysql stop && gpg --refresh-keys --keyserver hkp://keyserver.ubuntu.com:80 && gpg --import /var/www/html/admin/libraries/BMO/9F9169F4B33B4659.key && gpg --import /var/www/html/admin/libraries/BMO/3DDB2122FE6D84F7.key && gpg --import /var/www/html/admin/libraries/BMO/86CE877469D2EAD9.key && gpg --import /var/www/html/admin/libraries/BMO/1588A7366BD35B34.key && chown asterisk:asterisk -R /var/www/html && sed -i 's/www-data/asterisk/g' /etc/apache2/envvars && rm -rf /usr/src/freepbx*' returned a non-zero code: 1 ERROR: Service 'freepbx' failed to build
The text was updated successfully, but these errors were encountered: