[1] MLD-5.x / General / [5.3] nginx - php - owncloud funktioniert nicht.
 

Offline TimUx

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 755
    • View Profile
Hallo zusammen,
hat denn überhaupt mal jemand in 5.3 Testing das nginx und php in Verbindung mit owncloud getestet, bevor 5.3 zu stable gemacht wurde?

Anscheinend wurde auf php7 umgestellt, was ich persönlich aktuell noch nicht gut finde.

Dabei wurden aber z.B. in Start-Skript vergessen, den Deamon auf php7 umzustellen.

Code: [Select]
server> ls -la /etc/init.d/php-fpm
-rwxr-xr-x    1 root     root           581 May 10 11:04 /etc/init.d/php-fpm
server> cat /etc/init.d/php-fpm
#!/bin/sh

. /etc/init.d/rc.functions

NAME=${0##*/}
DAEMON=/usr/sbin/php5-fpm
ARGS="--daemonize --fpm-config /etc/php5/fpm/php-fpm.conf -R"
PID_FILE=/var/run/$NAME.pid

Wenn man owncloud neu installier, bekommt man direkt PHP Module angezeigt, welche noch fehlen.

Code: [Select]
Setting up owncloud (9.1.3-17) ...
Failed loading /usr/lib/php/20151012/opcache.so:  /usr/lib/php/20151012/opcache.so: cannot open shared object file: No such file or directory
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xml.so' - /usr/lib/php/20151012/xml.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/apc.so' - /usr/lib/php/20151012/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/simplexml.so' - /usr/lib/php/20151012/simplexml.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/wddx.so' - /usr/lib/php/20151012/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlwriter.so' - /usr/lib/php/20151012/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
ownCloud is not installed - only a limited number of commands are available
PHP module zip not installed.
Please ask your server administrator to install the module.

PHP module dom not installed.
Please ask your server administrator to install the module.

PHP module XMLWriter not installed.
Please ask your server administrator to install the module.

PHP module XMLReader not installed.
Please ask your server administrator to install the module.

PHP module libxml not installed.
Please ask your server administrator to install the module.

PHP module mb multibyte not installed.
Please ask your server administrator to install the module.

PHP module SimpleXML not installed.
Please ask your server administrator to install the module.

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/owncloud/lib/private/Console/Application.php:120

Die nginx Site für owncloud wurde ebenfalls noch nicht auf php7 umgestellt.

Code: [Select]
server> cd /etc/nginx/sites-available/
server> ls -la
drwxr-xr-x    1 root     root            16 May 28 21:01 .
drwxr-xr-x    1 root     root            56 May 28 20:59 ..
-rw-r--r--    1 root     root          3115 May 28 21:01 owncloud
server> cat owncloud
upstream php-handler {
        #server 127.0.0.1:9000;
        server unix:/var/run/php5-fpm.sock;
}


In dem zusammenhang, mit all den anderen Probleme, welche ich aktuell noch mit 5.3 Stable habe, werde ich erst einmal mit dem Snap auf 5.1 zurück gehen.

Gruß Timo
VDR Server:
- ASUS TROOPER B150 D3 -- Intel i5 6400T -- 8GB RAM -- 128GB SSD -- 2x L4M-Twin S2 ver 6.5
MLD 5.4.0 Server (streamdev server, vdr-plugin-epg2vdr, ...)

NAS:
Rockpi 4, 4GB, SATA-Head 4x 2TB SSD ZFS Raid 5, Nextcloud-Pi, Jellyfin-Server, NFS, SMB, EPG-Daemon

Clients:
- Rasperry pi 3 
MLD 5.4.0 (streamdev-client, epg2vdr)

- Sony Android TV (RoboTV, Jellyfin, ...)

-Xiaomi Android TV Stick (RoboTV, Jellyfin, ...)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20195
    • View Profile
    • ClausMuus.de
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #1 on: May 29, 2017, 11:21:17 »
Hi,

wir Entwickler können nicht alles (bei jedem Update) selber testen. Dafür fehlt einfach die Zeit. Ganz offensichtlich hat aber auch keiner unser Tester oder User die Beschriebenen Funktionen in den letzten Monaten (seit dem es die 5.3 testing mit php7 gibt) getestet, ansonsten wäre das aufgefallen und behoben worden.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline TimUx

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 755
    • View Profile
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #2 on: May 31, 2017, 16:26:37 »
Hi, danke für die Info.

Ich selber hatte die letzten Monate auf Grund eines Projektes leider wenig Zeit.

Wer ist denn auf die Idee gekommen, von php5 auf php7 umzustellen?
Könnt ihr nicht einfach wieder php5 umstellen.?

Dann sollte es keine Probleme mehr geben.

Gruß Timo
VDR Server:
- ASUS TROOPER B150 D3 -- Intel i5 6400T -- 8GB RAM -- 128GB SSD -- 2x L4M-Twin S2 ver 6.5
MLD 5.4.0 Server (streamdev server, vdr-plugin-epg2vdr, ...)

NAS:
Rockpi 4, 4GB, SATA-Head 4x 2TB SSD ZFS Raid 5, Nextcloud-Pi, Jellyfin-Server, NFS, SMB, EPG-Daemon

Clients:
- Rasperry pi 3 
MLD 5.4.0 (streamdev-client, epg2vdr)

- Sony Android TV (RoboTV, Jellyfin, ...)

-Xiaomi Android TV Stick (RoboTV, Jellyfin, ...)

Offline TimUx

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 755
    • View Profile
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #3 on: May 31, 2017, 22:46:15 »
Hi,
Ich schau mal, ob ich es schaffe mir die Tage eine neue dev Umgebung aufzubauen.

Vielleicht bekomme ich es ja schnell auf php7 umgestellt.

Gruß Timo
VDR Server:
- ASUS TROOPER B150 D3 -- Intel i5 6400T -- 8GB RAM -- 128GB SSD -- 2x L4M-Twin S2 ver 6.5
MLD 5.4.0 Server (streamdev server, vdr-plugin-epg2vdr, ...)

NAS:
Rockpi 4, 4GB, SATA-Head 4x 2TB SSD ZFS Raid 5, Nextcloud-Pi, Jellyfin-Server, NFS, SMB, EPG-Daemon

Clients:
- Rasperry pi 3 
MLD 5.4.0 (streamdev-client, epg2vdr)

- Sony Android TV (RoboTV, Jellyfin, ...)

-Xiaomi Android TV Stick (RoboTV, Jellyfin, ...)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20195
    • View Profile
    • ClausMuus.de
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #4 on: June 01, 2017, 00:24:04 »
Hi,

ich hab die nötigen Anpassungen gemacht, damit es mit mariadb und php7 läuft.
Was ich noch nicht weiß, wie der mariadb benutzername und das Passwort sind, die am Anfang erfragt werden. Da muss sich mal jemand anders zu äußern. Ich würde es auch besser finden wenn das bereits voreingestellt wäre.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline TimUx

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 755
    • View Profile
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #5 on: June 01, 2017, 07:30:59 »
Hi Claus,
In welcher Version hast du es geändert?

5.3 testing, 5.3 stable, 5.4?

Ich werde mir mal eine vm aufsetzten und es testen.

Gruß Timo
VDR Server:
- ASUS TROOPER B150 D3 -- Intel i5 6400T -- 8GB RAM -- 128GB SSD -- 2x L4M-Twin S2 ver 6.5
MLD 5.4.0 Server (streamdev server, vdr-plugin-epg2vdr, ...)

NAS:
Rockpi 4, 4GB, SATA-Head 4x 2TB SSD ZFS Raid 5, Nextcloud-Pi, Jellyfin-Server, NFS, SMB, EPG-Daemon

Clients:
- Rasperry pi 3 
MLD 5.4.0 (streamdev-client, epg2vdr)

- Sony Android TV (RoboTV, Jellyfin, ...)

-Xiaomi Android TV Stick (RoboTV, Jellyfin, ...)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20195
    • View Profile
    • ClausMuus.de
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #6 on: June 01, 2017, 10:55:17 »
5.4 testing
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline TimUx

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 755
    • View Profile
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #7 on: June 01, 2017, 11:28:46 »
Hi Claus,
ich habe gerade mal eine 5.4 testing 64bit VM aufgesetzt.

Beim installieren der mariadb gibt es anscheinend ein Problem, was zur Folge hat, dass das owncloud packet auch nicht sauber installiert wird.

Code: [Select]
Setting up mariadb-server (10.1.22-8) ...
Installing mysql initial Database:                                                                                                                                     done
Starting mariadb-server:                                                                                                                                               done
Version check failed. Got the following error when calling the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
FATAL ERROR: Upgrade failed
dpkg: error processing package mariadb-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libcurl3 (7.52.1-~2) ...
Setting up libldb1 (1.1.27-~1) ...
dpkg: dependency problems prevent configuration of owncloud:
 owncloud depends on mariadb-server; however:
  Package mariadb-server is not configured yet.

dpkg: error processing package owncloud (--configure):
 dependency problems - leaving unconfigured

Gruß Timo
VDR Server:
- ASUS TROOPER B150 D3 -- Intel i5 6400T -- 8GB RAM -- 128GB SSD -- 2x L4M-Twin S2 ver 6.5
MLD 5.4.0 Server (streamdev server, vdr-plugin-epg2vdr, ...)

NAS:
Rockpi 4, 4GB, SATA-Head 4x 2TB SSD ZFS Raid 5, Nextcloud-Pi, Jellyfin-Server, NFS, SMB, EPG-Daemon

Clients:
- Rasperry pi 3 
MLD 5.4.0 (streamdev-client, epg2vdr)

- Sony Android TV (RoboTV, Jellyfin, ...)

-Xiaomi Android TV Stick (RoboTV, Jellyfin, ...)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20195
    • View Profile
    • ClausMuus.de
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #8 on: June 01, 2017, 12:31:49 »
hm, vielleicht hätte ich gestern Abend zum Abschluss doch noch mal eine komplette neuinstallation ausprobieren sollen,...
Ich hatte auch solch nen Fehler, hatte den aber da drauf zurückgeführt, dass ich den ersten Versuch im Livesystem gemacht hatte, und dort das root Filesystem voll gelaufen war.

Jedenfalls scheint bei Dir die Datenbank nicht zu laufen. Ich schaue mir das heute Abend noch mal an.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20195
    • View Profile
    • ClausMuus.de
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #9 on: June 01, 2017, 23:28:58 »
Hi,

da fehlte nur das Paket bash, das ich bei meinen letzten Tests für was anderes benötigt und installiert hatte.
Das bash Paket wird jetzt mit installiert.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline TimUx

  • MLD-Tester
  • Expert Member
  • ******
  • Posts: 755
    • View Profile
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #10 on: June 02, 2017, 20:33:55 »
Hi Claus,
ich habe noch mal eine neue VM aufgesetzt.

Das sieht jetzt schon fast gut aus.  ;)

Es fehlt aber nich ein Order /  Pfad für das PHP Paket, in welchem die PHP Session Files abgelegt werden.
Als default ist hier "/var/lib/php/sessions" voreingestellt.

Dieser Ordner fehlt aber und somit ist ein anmelden bei owncloud nicht möglich.

Kannst du den Ordner im php Paket noch anlegen mit anlegen lassen?

Danke & Gruß
Timo
VDR Server:
- ASUS TROOPER B150 D3 -- Intel i5 6400T -- 8GB RAM -- 128GB SSD -- 2x L4M-Twin S2 ver 6.5
MLD 5.4.0 Server (streamdev server, vdr-plugin-epg2vdr, ...)

NAS:
Rockpi 4, 4GB, SATA-Head 4x 2TB SSD ZFS Raid 5, Nextcloud-Pi, Jellyfin-Server, NFS, SMB, EPG-Daemon

Clients:
- Rasperry pi 3 
MLD 5.4.0 (streamdev-client, epg2vdr)

- Sony Android TV (RoboTV, Jellyfin, ...)

-Xiaomi Android TV Stick (RoboTV, Jellyfin, ...)

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20195
    • View Profile
    • ClausMuus.de
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #11 on: June 02, 2017, 22:23:06 »
Ist erledigt.

Wie sind denn die voreingestellten Login Daten für owncloud?

EDIT: Habs gefunden. Es ist der normale MLD login: "root" und "mld500"

Claus
« Last Edit: June 03, 2017, 01:05:03 by clausmuus »
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20195
    • View Profile
    • ClausMuus.de
[5.3] nginx - php - owncloud funktioniert nicht.
« Reply #12 on: June 03, 2017, 01:06:44 »
Ich hab noch nen Fehler behoben. Bei mir funktioniert jetzt auch der Upload :)
Der Webdav Zugriff funktioniert bei mir aber noch nicht. Vielleicht hast Du da ja ne Idee.

Claus
« Last Edit: June 03, 2017, 01:31:30 by clausmuus »
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

[1] MLD-5.x / General / [5.3] nginx - php - owncloud funktioniert nicht.
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.