bfabiszewski / ulogger-server

μlogger • web viewer for tracks uploaded with μlogger mobile client
GNU General Public License v3.0
522 stars 85 forks source link

[ERROR] InnoDB: preallocating 12582912 bytes for file ./ibtmp1 failed with error 95 #162

Closed nukedupe closed 3 years ago

nukedupe commented 3 years ago

Hi, i have got some mysqld problems. Updating alpine to 3.13 and error is gone.

bfabiszewski commented 3 years ago

This must be somehow related to your host setup.

Look at your PR. On test system current configuration works fine but alpine 3.13 causes mysql problems: https://travis-ci.com/github/bfabiszewski/ulogger-server/jobs/498982928

Could you check that?

nukedupe commented 3 years ago

Got it. They changed default configuration for mysql. Default is now skip network. Perhaps you now know the best place to run this command. Maybe directly in the Dockerfile or in another script?

sed -i "s|.*skip-networking.*|#skip-networking|g" /etc/my.cnf.d/mariadb-server.cnf
bfabiszewski commented 3 years ago

Thanks for checking it! Could you add the line in your PR? I suppose anywhere in the else block in the init.sh file would be fine.

nukedupe commented 3 years ago

Thanks for help. Is added to PR. Now all passed :)

bfabiszewski commented 3 years ago

Great! Thanks for this contribution.