Basiswissen
* Changelog für https://www.fluechtlinge-esslingen.de (Produktive Site)
* Changelog für https://www.fluechtlinge-esslingen.de/test/ (Test Site)
Authentifizierungen
Dateirechte
Im Produktivbetrieb läuft Joomla 3.x mit diesen Rechten:
drwxr-xr-x 18 root root 4096 Apr 22 21:46 . drwxr-xr-x 6 root root 4096 Jun 5 13:51 .. drwxr-xr-x 10 root root 4096 Dez 31 13:40 administrator drwxr-xr-x 2 root root 4096 Dez 31 13:40 bin drwxr-xr-x 2 www-data www-data 4096 Jun 5 13:57 cache drwxr-xr-x 2 root root 4096 Dez 31 13:40 cli drwxr-xr-x 24 root root 4096 Apr 8 17:59 components -r--r--r-- 1 root root 3284 Jun 5 13:57 configuration.php -rw-r--r-- 1 root root 53 Jan 9 14:23 google66196a7b4cfed9bd.html -rw-r--r-- 1 www-data www-data 2915 Dez 24 19:51 .htacccess.txt.inactive -rw-r--r-- 1 root root 2915 Apr 5 22:17 htaccess.txt drwxr-xr-x 6 www-data www-data 4096 Jun 6 10:26 images drwxr-xr-x 2 root root 4096 Dez 31 13:40 includes -rw-r--r-- 1 root root 1393 Apr 5 22:17 index.php drwxr-xr-x 6 root root 4096 Dez 31 13:40 language drwxr-xr-x 5 root root 4096 Dez 31 13:40 layouts drwxr-xr-x 12 root root 4096 Apr 8 17:10 libraries -rw-r--r-- 1 root root 18092 Apr 5 22:17 LICENSE.txt drwxr-xr-x 29 www-data www-data 4096 Apr 8 17:48 media drwxr-xr-x 35 root root 4096 Apr 22 21:41 modules drwxr-xr-x 3 www-data www-data 4096 Dez 5 2015 phocadownload drwxr-xr-x 18 root root 4096 Apr 22 21:41 plugins -rw-r--r-- 1 root root 4226 Apr 5 22:17 README.txt -rw-r--r-- 1 root root 842 Dez 14 14:42 robots.txt -rw-r--r-- 1 root root 842 Apr 5 22:17 robots.txt.dist drwxr-xr-x 7 root root 4096 Apr 8 17:59 templates drwxr-xr-x 2 www-data www-data 4096 Jun 5 13:57 tmp -rw-r--r-- 1 root root 1690 Apr 5 22:17 web.config.txt
Die Datenbank läuft mit diesen Zugriffsrechten für denDB User:
SELECT, INSERT, UPDATE, DELETE, CREATE TEMPORARY TABLES, LOCK TABLES
Update
Im Updatefall (Erweiterungen aktualisieren usw.) müssen diese Verzeichnisse vorübergehend www-data:www-data gehören:
chown -R www-data:www-data administrator components language libraries modueles plugins
Der Datenbankbenutzer braucht vorübergehend zusätzliche Rechte für
CREATE ALTER INDEX DROP
Bei einem Testsystem können alle Verzeichnisse www-data:www-data gehören und der DB User volle Rechte auf die Joomla DB haben.
Erweiterungen
dpCalendar
Debugging
php administrator/components/com_dpcalendar/cli/eventsync.php In plugins/dpcalendar/dpcalendar_caldav/libraries/caldav/caldav-client.php uncomment the lines 354-356. I'v used them to troubleshoot once as well.
Lokales Testen über cadaver