Dokuwiki broken?

The existing plugins that come with initial installation look ok, yes. On the other hand, newly installed plugins via the webgui of Dokuwiki look ‘different’ to me…

I installed the button plugin below, and this plugin and also upgrade plugin have no symlinks?

:/var/www/html/lib/plugins# ls -l
total 12
lrwxrwxrwx 1 www-data www-data   34 Aug  2 08:14 acl -> /var/www/html/lib/plugins.core/acl
lrwxrwxrwx 1 www-data www-data   41 Aug  2 08:14 action.php -> /var/www/html/lib/plugins.core/action.php
lrwxrwxrwx 1 www-data www-data   40 Aug  2 08:14 admin.php -> /var/www/html/lib/plugins.core/admin.php
lrwxrwxrwx 1 www-data www-data   39 Aug  2 08:14 auth.php -> /var/www/html/lib/plugins.core/auth.php
lrwxrwxrwx 1 www-data www-data   37 Aug  2 08:14 authad -> /var/www/html/lib/plugins.core/authad
lrwxrwxrwx 1 www-data www-data   39 Aug  2 08:14 authldap -> /var/www/html/lib/plugins.core/authldap
lrwxrwxrwx 1 www-data www-data   38 Aug  2 08:14 authpdo -> /var/www/html/lib/plugins.core/authpdo
lrwxrwxrwx 1 www-data www-data   40 Aug  2 08:14 authplain -> /var/www/html/lib/plugins.core/authplain
drwxr-xr-x 8 www-data www-data 4096 Aug  2 12:03 button
lrwxrwxrwx 1 www-data www-data   38 Aug  2 08:14 cli.php -> /var/www/html/lib/plugins.core/cli.php
lrwxrwxrwx 1 www-data www-data   37 Aug  2 08:14 config -> /var/www/html/lib/plugins.core/config
lrwxrwxrwx 1 www-data www-data   40 Aug  2 08:14 extension -> /var/www/html/lib/plugins.core/extension
drwxr-xr-x 8 www-data www-data 4096 Aug  1 13:50 include
lrwxrwxrwx 1 www-data www-data   41 Aug  2 08:14 index.html -> /var/www/html/lib/plugins.core/index.html
lrwxrwxrwx 1 www-data www-data   35 Aug  2 08:14 info -> /var/www/html/lib/plugins.core/info
lrwxrwxrwx 1 www-data www-data   40 Aug  2 08:14 logviewer -> /var/www/html/lib/plugins.core/logviewer
lrwxrwxrwx 1 www-data www-data   41 Aug  2 08:14 popularity -> /var/www/html/lib/plugins.core/popularity
lrwxrwxrwx 1 www-data www-data   41 Aug  2 08:14 remote.php -> /var/www/html/lib/plugins.core/remote.php
lrwxrwxrwx 1 www-data www-data   37 Aug  2 08:14 revert -> /var/www/html/lib/plugins.core/revert
lrwxrwxrwx 1 www-data www-data   43 Aug  2 08:14 safefnrecode -> /var/www/html/lib/plugins.core/safefnrecode
lrwxrwxrwx 1 www-data www-data   38 Aug  2 08:14 styling -> /var/www/html/lib/plugins.core/styling
lrwxrwxrwx 1 www-data www-data   41 Aug  2 08:14 syntax.php -> /var/www/html/lib/plugins.core/syntax.php
drwxr-xr-x 5 www-data www-data 4096 Aug  2 12:02 upgrade
lrwxrwxrwx 1 www-data www-data   42 Aug  2 08:14 usermanager -> /var/www/html/lib/plugins.core/usermanager

So where exactly do the additional plugins get installed e.g. what storage volume, and is this correct?

Thinking out loud here!

TIA

3 Likes

the upgrade plugin is disabled by default

1 Like

I hope that I could explain why the symlink and a folder

We mount a volume under /storage, this is what you will save on your drive exactly at /storage/lib/plugins/, but the container comes with some default plugin saved under /var/www/html/lib/plugins.core

the plugins under /var/www/html/lib/plugins.core can be modified at every reboot of the container they will be untouched by you, because they are bundled not inside your volume but inside the container itself, hence to use them they are linked by the container’s creation script

at each start, this script is running to make available the core php files

Obviously if you modify a plugin under /storage/lib/plugins/button, it exists under the volume and you will break it

2 Likes

Ok, is that due to the fact that an upgade is only supported via software center, or other reason?

If it does not amtter how the upgrade is done (software center of manually via dokuwiki webgui, is there a way to enable it?

Thanks!

Ok, how about a plugin install simply installed via the Dokuwiki webgui, no modifications?

You upgrade dokuwiki by a new container

1 Like

Yes it will work but your modification to the plugin will be saved due to the volume

1 Like

So the upgrade plugin will never work, and upgrades can only be done via the Software Center when a new version is available?

2 Likes

Yes, one needs to upgrade from Software Center.
The upgrade (plugin) is disabled in the official dokuwiki container, I guess to avoid issues when plugin and container updates are used, see docker/root/var/www/html/conf/plugins.docker.php at 6b3b0d3eef8a9d8234d191cb3139529d6cda9ac3 · dokuwiki/docker · GitHub

2 Likes

Perfect! noted on the wiki.

2 Likes

Any estimated timeframe on the official release pls?

1 Like

the issue has not been set verified, we have some cases not verified by the community I bet. Once done I would prefer to wait the 25 august (the return of the dev team) but if all test cases are (well) covered we could do it early

3 Likes