Re: [Tiki-devel] tiki-install.php | Tiki installer broken - need help with a strange problem (not sure if Tiki or provider-server specific)
Leu via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Jonny, do you have the credentials to access the demo server? demo.tiki.org Test it there, it's at All-Inkl, too. Like Torsten' installation. -- Cheers:> Leu - Turn to the tiki-way of life - Am 17. August 2022 13:09:33 UTC schrieb Torsten Fabricius via TikiWiki-devel <[email protected]>: >Hello Jonny, > >see the last line of the table (from tiki-check.php). > >We have indeed an empty session. > >Additionally I found some non-writable directory: ../wiki/ is not writable (will fix that). > >And further more I have a number of utf-8, respectively character-set and collation issues. >This is a bit strange, as I use utf-8 by default (checking manually) for all installations since ages and since a few years I use utf8mb4, which is available on all-inkl.coms servers, but strangely not rcognised by Tiki as it looks like. > >One bad thing: >The all-inkl.com database server seems to be on latin1_swedish_ci, whilst on the other hand all databases can be run on utf8... > >Following the session part of tiki-check.php: > >|session.save_handler > > > >|files > > > >|good > > > >|Well set! The default setting of 'files' is recommended for Tiki.| > >|session.save_path > > > >|/usr/share/cgi-fpm/XXXXXX/tmp/ > > > >|good > > > >|The session.save_path is writable. > >|session.use_trans_sid > > |Disabled > > > >|? safe > > > >|session.use_trans_sid should be off by default. See the PHP manual for details.| > >|session.save_handler > > > >|files > > > >|good > > > >|Well set! The default setting of 'files' is recommended for Tiki.| > >|session.save_path > > > >|/usr/share/cgi-fpm/XXXXXX/tmp/ > > > >|good > > > >|The session.save_path is writable.| > >|session.gc_probability > > > >|1 > > > >|info > > > >|In conjunction with gc_divisor is used to manage probability that the gc (garbage collection) routine is started.| > >|session.gc_divisor > > > >|100 > > > >|info > > > >|Coupled with session.gc_probability defines the probability that the gc (garbage collection) process is started on every session initialization. The probability is calculated by using gc_probability/gc_divisor, e.g. 1/100 means there is a 1% chance that the GC process starts on each request.| > >|session.gc_maxlifetime > > > >|7200s > > > >|info > > > >|Specifies the number of seconds after which data will be seen as 'garbage' and potentially cleaned up. Garbage collection may occur during session start.| > >*|session* > > > >*|empty* > > > >*|unsure * > > > >*|The session is empty. Try reloading the page and, if this message is displayed again, there may be a problem with the server setup.|* > > >Best regards and thx >Torsten > > >Am 17.08.22 um 13:43 schrieb Jonny Bradley: >> Hi Torsten >> >> That sounds very dull... >> >> Looking at the code that "Tiki Installer Security Precaution" message is based on a session being started, so maybe there's something up with that? >> >> What does tiki-check.php say about that? You usually need to reload it to start the session, on mine i get: >> >>> session ok good This appears to work. >> >> (even though i also have "session.save_path bad The session.save_path must be writable....") >> >> It looks like we use different code to start the session in the installer compared to the rest of tiki, so maybe we need to tweak that somehow? >> >> jonny >> >> >> >> >>> On 17 Aug 2022, at 11:59, Torsten Fabricius via TikiWiki-devel <[email protected]> wrote: >>> >>> # Tiki Installer Security Precaution ... >>> >>> Hello Devs, >>> >>> I need help, as I am stuck to find out, if a severe problem with tiki-install.php is specific problem of Tiki across several versions or if it is a specific problem with one service provider I use since many years. >>> The provider used to be be very Tiki-friendly with very good cost-benefit-ratio and for example demo.tiki.org use(d?) to run there for several years. >>> >>> >>> The Tiki installer (tiki-install.php) seems to not work anymore on all-inkl.com (Tiki-friendly shared hosting provider from Germany) aswell for new installations, as for upgrade of existing installations. There is another user with the same problem, but I do not yet know which provider he is using. >>> >>> I tried with an existing database and I tried new installations with... >>> * downloaded last-tiki aswell as with >>> * git Tiki 15, 18, 21, 24 and with >>> * svn Tiki 21. >>> I tried PHP 5.6 (for an original Tiki 13 and for Tiki 15)... >>> I tried PHP 7.2 and 7.4 for all Tiki 15, 18, 21 and 24. >>> >>> Always the same problem: >>> >>> After the installer got connected to the database first time (never mind of a new empty one oder an existing one to be upgraded), the installer does not work anymore. You can login to the installer, but whatever step you take, the installer throws you out with the error message: >>> "Tiki Installer Security Precaution ..." >>> >>> There is no way to go through the installer and no way to reach "enter and lock". The error message occurs without lock file! >>> >>> Thus, if I am right, with all-inkl.com it is currently only possible to install or upgrade a Tiki when ssh command line access is available (which is not available with the two cheap tariffs). >>> If that would be a more global problem in Tiki and not or not only provider specific, we could lose all Tiki users who depend on cheap non-ssh-console webspace. >>> >>> With the slightly pricier tariffs from all-inkl.com it is possible to checkout code from the version control and to use the php console to upgrade the database.. >>> >>> Currently I have not enough information wether it is a Tiki code problem oder an all-inkl.com specific problem (or a combination). I'd need assistance for the next steps to find a solution. >>> >>> Any help or hint appreciated. >>> >>> Best regards, >>> Torsten >>> >>> >>> _______________________________________________ >>> TikiWiki-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel