[TYPO3-Solr] Index gone after few days
Stephan Schuler
Stephan.Schuler at netlogix.de
Fri Mar 21 16:48:04 CET 2014
Hey Philipp.
If the $TYPO3_CONF_VARS[SYS][phpTimeZone] is present then everything should be fine already.
It gets set by the Core\Bootstrap object, which gets triggered by both, the web request (index.php) as well as the cli_dispatcher.phpsh.
Have a look at Core\Bootstrap:: setDefaultTimezone().
If no time zone is present, the server environment is used. That's usually what comes from php.ini. If there is no server default, then UTC is used.
In my situation, there were different values for Web-PHP and CLI. And I didn't have the SYS|phpTimeZone value set. So my setup had different values for phpTimeZone, too.
But you're right: Instead of patching the solr extension, we could just add a recommendation to set the phpTimeZone value in local configuration.
Regards,
Stephan Schuler
Web-Entwickler
Telefon: +49 (911) 539909 - 0
E-Mail: Stephan.Schuler at netlogix.de
Website: media.netlogix.de
-----------------------------
Steigern Sie Ihre Performance
Melden Sie sich an zum kostenlosen Webinar VMware / vSphere Operations Management am 01. April 2014 und lernen Sie, wie Sie Ihre Hardware effektiver nutzen.
Jetzt anmelden unter http://it-training.netlogix.de/angebote/webinare/vmware-vsphere-with-operations-management
------------------------------------
Microsoft Office 365 - Alles Cloud, ...oder was?
Erfahren Sie bei unserem Office 365 Event am 04. April 2014, welche Chancen Office 365 für Ihr Unternehmen bietet.
Jetzt anmelden unter http://it-training.netlogix.de/angebote/events/office-365-event
-----------------------------
--
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de
netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt
-----Ursprüngliche Nachricht-----
Von: typo3-project-solr-bounces at lists.typo3.org [mailto:typo3-project-solr-bounces at lists.typo3.org] Im Auftrag von Philipp Gampe
Gesendet: Freitag, 21. März 2014 14:53
An: typo3-project-solr at lists.typo3.org
Betreff: Re: [TYPO3-Solr] Index gone after few days
Hi Stephan,
Stephan Schuler wrote:
> I really don't know how to solve this error properly.
Wouldn't it be enough if solr uses the SYS|phpTimeZone (install tool) setting to force a specific timezone across CLI and web?
Best regards
--
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!
_______________________________________________
TYPO3-project-solr mailing list
TYPO3-project-solr at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
More information about the TYPO3-project-solr
mailing list