Re: [Tiki-users] Upgrade Problem with failing installer.php - persistently losing contact to database

"Tóth Attila" <[email protected]> Sun, 21 Aug 2022 12:37:34 +0200
Newsgroups gmane.comp.cms.tiki.user
Message-ID <[email protected]>
Dear Torsten,

2022.Augusztus 15.(H) 19:08 időpontban Torsten Fabricius via
TikiWiki-users ezt írta:
> My point of view is, that this situation of losing connection between
> install.php and DB or losing the ability to proceed with the installer
> after having connected the database for whatever reason, is either a bug
> or a sign of a corrupted database.
>
> Imho this has to be solved for the specific installation and in case it
> would be a more common problem, it should be at least documented.
>
> Can you tell me more about your (maybe similar) problem?
>
> Ex.:
> * at which version your problem started?

I reported the problem here on the mailing list in 2021 February and the
problem is onging since several versions:

"Subject:    [Tiki-users] Problems vs recent upgrades
Sender:     "Tóth Attila" <[email protected]>
Date:       2021. February 28.(V) 12:33
Recipient:  "Tiki users mailing list" <[email protected]>

For several versions now (maybe since 16.x), the installer cannot utilize
the database connection while initiating an upgrade from a browser. The
symptom is that as I enter the database name, the user and the password,
it brings me to the screen where I can select to wipe the database or
upgrade. Upon selecting upgrade it drops back to the screen where I must
specify database connection details."

> * how you manage upgrades as the installer does not work?

"So I get used to perform upgrades in the shell like this:
...
sudo -u apache php console.php database:update
..."

I've been doing manual upgrades from the console since then. I've only
faced an issue with that when I wrote that email. Otherwise it works, no
error messages.

> * do you have also system or error messages referring to collation, ex
> latin or utf8?
> * ...

The collation is utf8 for a long time now. I see no relevant error
messages in the logs, which is puzzling for me. However I will watch out
next time I upgrade.

I use other php based web applications on my site (nextcloud, dadabik for
e.g.). Dadabik upgrades smoothly, while for nextcloud I usually also do
manual upgrades without errors.

If you have any ideas how to get closer to the root of this symptom,
please let me know.

Regards:
Attila
-- 
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057

>
> Regards,
> Torsten
>
>
> Am 15.08.22 um 18:18 schrieb "Tóth Attila":
>> For several versions now I'm struggling with the problem of install.php
>> loosing database link and cannot proceed. I get used to manual
>> upgrades...
>> -- dr Tóth Attila, Radiológus, 06-20-825-8057 Attila Toth MD,
>> Radiologist, +36-20-825-8057
>
> _______________________________________________
> TikiWiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>




_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users