I've gone ahead and moved a number of plugins and through trial and error have got a little further. The plugins I've moved include...
acl
config
extension
iframe
move
openlayersmap
popularity
revert
usermanager
Slightly concerned about moving
acl but have remained logged in and on trying admin page again I get a little further....
Obviously I need to sort out the permissions on my data directory (likely strange from having moved files from another server and unzipped as a normal user on this system) but thats a separate issue that I can resolve reading the docs. (I've added the
deny options for nginx and restarted the nginx server but that messages persists although I can no longer access
https://sheffieldboulder.uk/data/pages/wiki/dokuwiki.txt so need to do more digging).
I still don't have any of the expected admin tasks listed though, and there doesn't appear to be any error message when trying to access the admin page...
tail -n20 admin /var/log/nginx/error.log
tail: cannot open 'admin' for reading: No such file or directory
==> /var/log/nginx/error.log <==
#5 /usr/share/nginx/html/sheffieldboulder/inc/template.php(83): trigger_event('TPL_ACT_RENDER', 'admin', 'tpl_content_cor...')
#6 /var/lib/dokuwiki/sheffieldboulder/tpl/dokuwiki/main.php(59): tpl_content()
#7 /usr/share/nginx/html/sheffieldboulder/inc/actions.php(199): include('/var/lib/dokuwi...')
#8 /usr/share/nginx/html/sheffieldboulder/doku.php(124): act_dispatch()
#" while reading upstream, client: 145.255.240.11, server: sheffieldboulder.uk, request: "GET /doku.php?id=start&do=admin HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "sheffieldboulder.uk", referrer: "https://sheffieldboulder.uk/doku.php?id=start&do=admin"
2017/10/13 12:37:42 [error] 11395#11395: *294 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method admin_plugin_acl::getMenuIcon() in /usr/share/nginx/html/sheffieldboulder/inc/Ui/Admin.php:154
Stack trace:
#0 /usr/share/nginx/html/sheffieldboulder/inc/Ui/Admin.php(23): dokuwiki\Ui\Admin->getPluginList()
#1 /usr/share/nginx/html/sheffieldboulder/inc/template.php(266): dokuwiki\Ui\Admin->show()
#2 /usr/share/nginx/html/sheffieldboulder/inc/template.php(164): tpl_admin()
#3 /usr/share/nginx/html/sheffieldboulder/inc/events.php(111): tpl_content_core('admin')
#4 /usr/share/nginx/html/sheffieldboulder/inc/events.php(238): Doku_Event->trigger('tpl_content_cor...', true)
#5 /usr/share/nginx/html/sheffieldboulder/inc/template.php(83): trigger_event('TPL_ACT_RENDER', 'admin', 'tpl_content_cor...')
#6 /var/lib/dokuwiki/sheffieldboulder/tpl/dokuwiki/main.php(59): tpl_content()
#7 /usr/share/nginx/html/sheffieldboulder/inc/actions.php(199): include('/var/lib/dokuwi...')
#8 /usr/share/nginx/html/sheffieldboulder/doku.php(124): act_dispatch()
#" while reading upstream, client: 145.255.240.11, server: sheffieldboulder.uk, request: "GET /doku.php?id=start&do=admin HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "sheffieldboulder.uk", referrer: "https://sheffieldboulder.uk/doku.php?id=start&do=admin"
2017/10/13 12:38:33 [error] 11395#11395: *294 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of syntax_plugin_iframe::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/lib/dokuwiki/sheffieldboulder/plugins/iframe/syntax.php on line 95
PHP message: PHP Warning: Declaration of syntax_plugin_iframe::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/lib/dokuwiki/sheffieldboulder/plugins/iframe/syntax.php on line 95" while reading upstream, client: 145.255.240.11, server: sheffieldboulder.uk, request: "GET /doku.php?id=start&do=admin HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "sheffieldboulder.uk", referrer: "https://sheffieldboulder.uk/doku.php?id=start&do=admin"
2017/10/13 12:54:45 [error] 14387#14387: *1 access forbidden by rule, client: 145.255.240.11, server: sheffieldboulder.uk, request: "GET /data/pages/wiki/dokuwiki.txt HTTP/2.0", host: "sheffieldboulder.uk"
Would it be easier if I started anew and just copied my
data directory over then used the admin page to reinstall plugins and theme?