Tóth Attila
2017-02-04 18:39:31 UTC
I'm currently running 16.1 and just tried to upgrade to 16.2 lately. I
usually browse to tiki-install.php, specify database details and select
choose upgrade database. The upgrade from 16.0 to 16.1 went smooth. Now
the installer for 16.2 doesn't seem to recognize the database and asks to
specify it again and again. The setup is simple, the database is on the
same machine and the website is otherwise working using the connection the
installer denies.
The installer says: "Tiki cannot find a database connection."
Several non-tiki websites are working fine as well on the same machine.
The database connection is OK and I can manually access the database at
the mariadb prompt using tiki's credentials. All I can find in the logs
is: "apache2: PHP Notice: unserialize(): Error at offset 0 of 5 bytes in
/var/www/localhost/htdocs/tikiwiki/lib/setup/prefs.php on line 377".
However it doesn't show up every time it fails to access the database, so
it may be my mistake.
It was a long time before I did a manual upgrade. I followed a link shown
by the installer (php console.php database:install). But it reports
correctly, that the database already exists. I have a feeling this is for
recreating the database.
Any of you run into some problems trying to upgrade tiki?
How I can manually apply database realted changes?
"php console.php -n database:update" right?
I manage the lock file manually, anyways.
Thx:
Dw.
usually browse to tiki-install.php, specify database details and select
choose upgrade database. The upgrade from 16.0 to 16.1 went smooth. Now
the installer for 16.2 doesn't seem to recognize the database and asks to
specify it again and again. The setup is simple, the database is on the
same machine and the website is otherwise working using the connection the
installer denies.
The installer says: "Tiki cannot find a database connection."
Several non-tiki websites are working fine as well on the same machine.
The database connection is OK and I can manually access the database at
the mariadb prompt using tiki's credentials. All I can find in the logs
is: "apache2: PHP Notice: unserialize(): Error at offset 0 of 5 bytes in
/var/www/localhost/htdocs/tikiwiki/lib/setup/prefs.php on line 377".
However it doesn't show up every time it fails to access the database, so
it may be my mistake.
It was a long time before I did a manual upgrade. I followed a link shown
by the installer (php console.php database:install). But it reports
correctly, that the database already exists. I have a feeling this is for
recreating the database.
Any of you run into some problems trying to upgrade tiki?
How I can manually apply database realted changes?
"php console.php -n database:update" right?
I manage the lock file manually, anyways.
Thx:
Dw.
--
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057