Skip to content

Commit

Permalink
fix EOAdaptor: cannot find adaptor bundle: MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Posvic committed Feb 5, 2024
1 parent cc18e87 commit ea9956d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt install -y \
build-essential \
git \
libgnustep-base-dev \
libmariadb-dev \
libmariadb-dev-compat \
libxml2-dev \
libldap2-dev \
libpq-dev \
Expand All @@ -21,7 +21,7 @@ RUN apt install -y \
WORKDIR /usr/src/app
COPY versions.yaml .
RUN git clone --depth 1 --branch $(grep "sope_git_tag" versions.yaml | cut -d" " -f2) https://github.com/inverse-inc/sope.git \
&& cd sope && ./configure --with-gnustep --disable-debug --enable-strip && make && make install && cd ..
&& cd sope && ./configure --with-gnustep --disable-debug --enable-strip --enable-mysql && make && make install && cd ..
RUN git clone --depth 1 --branch $(grep "sogo_git_tag" versions.yaml | cut -d" " -f2) https://github.com/inverse-inc/sogo.git \
&& cd sogo && ./configure --disable-debug --enable-strip && make && make install && cd ..

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[SOGo](http://www.sogo.nu) is fully supported and trusted groupware server with a focus on scalability and open standards. SOGo is released under the GNU GPL/LGPL v2 and above.

This Dockerfile packages SOGo compiled from the sources from [Alinto/SOGo](https://github.com/Alinto/sogo) together with [Alinto/SOPE](https://github.com/Alinto/sope),[NGINX](https://www.nginx.com/) and [memcached](https://memcached.org/).
This Dockerfile packages SOGo compiled from the sources from [Alinto/SOGo](https://github.com/Alinto/sogo) together with [Alinto/SOPE](https://github.com/Alinto/sope), [NGINX](https://www.nginx.com/) and [memcached](https://memcached.org/).

## Setup

Expand Down Expand Up @@ -33,7 +33,7 @@ openssl req -newkey rsa:4096 -sha512 -x509 -days 365 -nodes -keyout dovecot-root

### Database

A separate database is required, for example a MariaDB container as provided by the Docker image [linuxserver/mariadb](https://hub.docker.com/r/linuxserver/mariadb), but also any other database management system SOGo supports can be used. Follow the _Database Configuration_ chapter of the SOGo documentation on these steps, and modify the sogo.conf` file accordingly.
A separate database is required, for example a MariaDB container as provided by the Docker image [linuxserver/mariadb](https://hub.docker.com/r/linuxserver/mariadb), but also any other database management system SOGo supports can be used. Follow the _Database Configuration_ chapter of the SOGo documentation on these steps, and modify the `sogo.conf` file accordingly.

### memcached

Expand Down Expand Up @@ -92,6 +92,8 @@ Update password with `docker compose exec db mysql -u sogo -ppassword -D sogo -e

Remove an user from SOGo with `docker compose exec db mysql -u sogo -ppassword -D sogo -e "DELETE FROM sogo_view WHERE c_uid='$sogo_user'"`

Upgrade database after upgrade client with `docker compose exec db mariadb-upgrade -u root -ppassword`

### Backup / Restore

Preparation: Start an Bash shell from inside SOGo's Docker container with `docker compose exec sogo bash`.
Expand Down

0 comments on commit ea9956d

Please sign in to comment.