[prev in list] [next in list] [prev in thread] [next in thread]
List: mediawiki-l
Subject: Re: [MediaWiki-l] MediaWiki cannot access database after upgrade
From: John <phoenixoverride () gmail ! com>
Date: 2021-03-30 20:53:45
Message-ID: CAP-JHpnrCeMKE-DVDQzgF6n-mEYR-=1WpgZr7gtV-eXzqOAVpg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Also I would have upgraded in steps. I never recommend doing more than one
LTS worth of jumps at a time. When you Start jumping too many versions
weird things can start happening.
On Tue, Mar 30, 2021 at 4:38 PM Jeffrey Walton <noloader@gmail.com> wrote:
> On Tue, Mar 30, 2021 at 4:30 PM Bart Everson <bpeverso@xula.edu> wrote:
> >
> > Happy to report that I fixed the problem described in my previous query.
> I did it by making a fresh install in a new database, which generated a
> proper LocalSettings.php file. Edited this to point to the old database
> and voila -- everything fixed.
> >
> > So, it would seem the upgrade process may have some issue with old
> LocalSettings.php files. Hope this helps somebody.
>
> Yeah, that seems to happen on occasion with old LocalSettings.php from
> previous installations. We have experienced it several times because
> we started our wiki in 2005 or so.
>
> One other thing you should be sure to do... run 'php
> maintenance/update.php' after each upgrade. If the database changes,
> then update.php is what handles the changes for you.
>
> Jeff
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
[Attachment #5 (text/html)]
<div dir="auto">Also I would have upgraded in steps. I never recommend doing more \
than one LTS worth of jumps at a time. When you Start jumping too many versions weird \
things can start happening.</div><div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Tue, Mar 30, 2021 at 4:38 PM Jeffrey Walton <<a \
href="mailto:noloader@gmail.com">noloader@gmail.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Mar 30, 2021 at 4:30 PM \
Bart Everson <<a href="mailto:bpeverso@xula.edu" \
target="_blank">bpeverso@xula.edu</a>> wrote:<br> ><br>
> Happy to report that I fixed the problem described in my previous query. I did \
it by making a fresh install in a new database, which generated a proper \
LocalSettings.php file. Edited this to point to the old database and voila -- \
everything fixed.<br> ><br>
> So, it would seem the upgrade process may have some issue with old \
LocalSettings.php files. Hope this helps somebody.<br> <br>
Yeah, that seems to happen on occasion with old LocalSettings.php from<br>
previous installations. We have experienced it several times because<br>
we started our wiki in 2005 or so.<br>
<br>
One other thing you should be sure to do... run 'php<br>
maintenance/update.php' after each upgrade. If the database changes,<br>
then update.php is what handles the changes for you.<br>
<br>
Jeff<br>
<br>
_______________________________________________<br>
MediaWiki-l mailing list<br>
To unsubscribe, go to:<br>
<a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-l" rel="noreferrer" \
target="_blank">https://lists.wikimedia.org/mailman/listinfo/mediawiki-l</a><br> \
</blockquote></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic