-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running on ARMv7 - No MySQL, run with postgres db? #145
Comments
Hi! As far as I know, MySQL/MariaDB is the only Database-System that is supported by HumHub. You can try to use one of the community-built MariaDB images (e.g https://hub.docker.com/r/jsurf/rpi-mariadb). If you are using something like Raspian or another OS (maybe your system is no RPi) it might be possible to install MariaDB or MySQL directly on the System and just use it. Just to avoid confusion: HumHub was written for MySQL and is therefore compatible with MariaDB because it is "just" the OpenSource variant of MySQL. PostgreSQL is a completely different DB System and not fully compatible with MySQL. HumHub is using a framework that should make it possible to connect it to non-MySQL DBs but that is not tested and will cause some problems. Also is our container currently very focused on MySQL. If you really need Postgres Support we can add it but maybe using MariaDB is easier for you. Cheers |
MySQL mariadb/innodb are the only databases that are supported from my understanding so using PostgreSQL or any other would be almost impossible without editing the core to support it |
For future people stumbling upon this thread, I've managed to solve it using the tip from @mriedmann by using a user created mariadb image. In the end my compose file looks like this:
|
I want to build from your repository and run on ARMv7.
Useful Information
Build steps
Only the docker for amd64 is available, so we have to build locally.
Building from docker-compose
Local build fails if done from compose file, using the default compose file.
Building locally
The option
--network host
was added due to anpm install error - getaddrinfo EAI_AGAIN
showing up without it and following this issue. The build succeeds.Running
Humhub requires a database, but there is no MySQL docker for armv7.
I tried the following setup:
But I get the following message
Is
postgres
not supported? What can I do to get it working witharmv7
?The text was updated successfully, but these errors were encountered: