I’ve upgraded EGroupware EPL from 21.1 to 23.1.
Everything seems to be working fine, but i can’t seem to get old apps like wiki to run on version 23.1.
I followed the instructions on Github on how to run old deprecated apps on docker, but it is not working.
I get the following error when i run this command after installing wiki.
cd /etc/egroupware-docker/
docker compose up
If i remove wiki from /usr/share/egroupware/ everything works fine.
Is there any solution around this problem?
Hi Neo.
Yes.
Is that an updated installation from 21.1?
Did you have install then the app in setup?
Stefan
I just checked my test installation with wiki and it still works:
root@testbox:/usr/share/egroupware# ls -ld */.git
drwxr-xr-x 7 root root 4096 Jun 8 15:35 guacamole/.git
drwxr-xr-x 8 root root 4096 Jan 11 2023 wiki/.git
As StefanU mentioned, it’s important, that wiki is a git clone, not the remains of the old egroupware-epl-wiki package.
The error you get looks more like a permission problem (then too old JavaScript of the old package).
I would check that you are not:
- using LXC containers
- have SELinux activated (you did not write which Linux distro you use)
- other means to limit permissions of docker or the container
If no extra apps are installed on the host, the container does not need to run the JS build process again. Therefore everything works after removing the wiki directory.
Ralf
Hi Ralf,
as i said before i followed the instructions from your wiki on github.
First i made sure to delete everything under /usr/share/egroupware/
Then i followed your instructions by running these commands:
cd /usr/share/egroupware
git clone https://github.com/EGroupware/wiki.git
docker restart egroupware
But i get the error shown above when i look at the logs.
I am using Ubuntu 20.04.6 LTS
Thanks Ralf for helping me solve this problem.
Im writing your solution in case someone else has the same problem.
On my EGroupware instance the owner of the wiki folder under /usr/share/egroupware was www-data.
The owner should be changed to root.
These commands solved this problem
cd /usr/share/egroupware
chown -R root:root .