Skip to content
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

Error updating #187

Closed
prschopf opened this issue Jun 1, 2020 · 10 comments
Closed

Error updating #187

prschopf opened this issue Jun 1, 2020 · 10 comments

Comments

@prschopf
Copy link
Contributor

prschopf commented Jun 1, 2020

I tried to update my wiki today and I got this message:

DokuWiki rc2020-06-01 "Hogfather" is available for download.
You're currently running DokuWiki Release 2018-04-22c "Greebo".
It's not clear how old your currently running version is, manual upgrade is recommended.

Is it a bug?

@bradbulger
Copy link

changing the version pattern match in admin.php from (?:rc) to (?:rc|) got past this issue for me

@prschopf
Copy link
Contributor Author

prschopf commented Jun 1, 2020

it solved here as well. Thank you!

@cvoltz
Copy link

cvoltz commented Jun 1, 2020

Even with the patch, I still see the same problem. I verified that I had the updated version you just made available:

        if(!preg_match('/(^| )(?:rc)(\d\d\d\d-\d\d-\d\d[a-z]*)( |$)/i', $tgzversion, $m)) {
            $this->_warn($this->getLang('vs_tgzno'));
            $ok            = false;
            $tgzversionnum = 0;
        } else {
            $tgzversionnum = $m[2];
            self::_say($this->getLang('vs_tgz'), $tgzversion);
        }

        // get the current version
        $version = getVersion();
        if(!preg_match('/(^| )(?:rc)(\d\d\d\d-\d\d-\d\d[a-z]*)( |$)/i', $version, $m)) {
            $versionnum = 0;
        } else {
            $versionnum = $m[2];
        }

I made the change suggested by @bradbulger and the install ran and said it completed successfully. When I refreshed the wiki page, however, it returned nothing. Nothing was in the logs indicating a failure. I ran php doku.php from the dokuwiki directory and it returned:

PHP Warning:  include_once(/dokuwiki/inc/plugincontroller.class.php): failed to open stream: No such file or directory in /dokuwiki/lib/plugins/siteexport/preload.php on line 6
PHP Stack trace:
PHP   1. {main}() /dokuwiki/doku.php:0
PHP   2. require_once() /dokuwiki/doku.php:36
PHP   3. include() /dokuwiki/inc/init.php:26
PHP   4. include_once() /dokuwiki/inc/preload.php:9
PHP Warning:  include_once(): Failed opening '/dokuwiki/inc/plugincontroller.class.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /dokuwiki/lib/plugins/siteexport/preload.php on line 6
PHP Stack trace:
PHP   1. {main}() /dokuwiki/doku.php:0
PHP   2. require_once() /dokuwiki/doku.php:36
PHP   3. include() /dokuwiki/inc/init.php:26
PHP   4. include_once() /dokuwiki/inc/preload.php:9
PHP Fatal error:  Class 'Doku_Plugin_Controller' not found in /dokuwiki/lib/plugins/siteexport/preload.php on line 165
PHP Stack trace:
PHP   1. {main}() /dokuwiki/doku.php:0
PHP   2. require_once() /dokuwiki/doku.php:36
PHP   3. include() /dokuwiki/inc/init.php:26
PHP   4. include_once() /dokuwiki/inc/preload.php:9

When I checked, the files were indeed missing so the upgrade didn't really work, even though it had returned no errors.

@Miro-Collas
Copy link

I get the same error when trying to update. Given the post above, I have not tried to edit any files yet. Will wait to see if there are developments.

@splitbrain
Copy link
Owner

should be fixed with d96773c

@bduplanty
Copy link

That solved it for me. Thank you!

@Miro-Collas
Copy link

should be fixed with d96773c

Yes thanks, perfect! :-)

@prschopf
Copy link
Contributor Author

prschopf commented Jun 10, 2020

Using plugin upgrade latest version, Im getting this "error":

DokuWiki rc-2020-06-09 "Hogfather" RC3 is available for download.
You're currently running DokuWiki Release rc-2020-06-09 "Hogfather" RC3.

And "Continue" button is available. Is it right?

@Marx1st
Copy link

Marx1st commented Jun 15, 2020

Using plugin upgrade latest version, Im getting this "error":

DokuWiki rc-2020-06-09 "Hogfather" RC3 is available for download.
You're currently running DokuWiki Release rc-2020-06-09 "Hogfather" RC3.

And "Continue" button is available. Is it right?

It doesn't look so. Especially as my admin.php doesn't look like the one mentioned above... somethings very wrong here...

@prschopf
Copy link
Contributor Author

Using plugin upgrade latest version, Im getting this "error":
DokuWiki rc-2020-06-09 "Hogfather" RC3 is available for download.
You're currently running DokuWiki Release rc-2020-06-09 "Hogfather" RC3.
And "Continue" button is available. Is it right?

It doesn't look so. Especially as my admin.php doesn't look like the one mentioned above... somethings very wrong here...

Yes, mine is different too, in latest version of this plugin. I dont know how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants