owncloud no encuentra servidor
#23
(25-01-2017, 07:49 PM)gonac58 escribió: buenas
necesito una ultima ayuda y si ni lo soluciono lo dejo
he reinstalado desde cero el servidor owncloud dando permisos a la carpeta 777
pero ahora me dice que debo actualizar a libxml2 2.7.0
no se nada de linux y por lo tanto cualquier ayuda sera bienvenida.
gracias

Que currada te estás metiendo compañero!. Por lo que veo no instalas el owncloud directamente desde el appcenter de tu QNAP no?. Desde ahí podrías haber desinstalado e instalado de nuevo.

Por otro lado, investigando he encontrado de nuestros amigos qnapclub.com lo siguiente:

Step 1:
Replace libxml2:
log in to your nas via ssh, issue the following codes after another:
CODE: SELECT ALL
Código:
cd /usr/lib
mv libxml2.so.2.6.30 /share/CACHEDEV1_DATA/.qpkg/ 
cp /usr/local/medialibrary/lib/libxml2.so.2.9.2 .
ln -sf libxml2.so.2.9.2 libxml2.so
ln -sf libxml2.so.2.9.2. libxml2.so.2
/etc/init.d/Qthttpd.sh restart



Check if the libxml2 is correctly loaded by issuing the following command:
CODE: SELECT ALL
Código:
/usr/local/apache/bin/php -i | grep libXML


If everything is ok, it should look like this:
Cita:libXML support => active
libXML Compiled Version => 2.6.30
libXML Loaded Version => 20902
libXML streams => enabled


Step 2:
Patch the util.php from owncloud:
You should already have downloaded and extracted owncloud 9.0.2 somewhere on your nas. You should also know the path to that.
CODE: SELECT ALL
Código:
chmod -R httpdusr:administrators /share/Web/owncloud

is perhaps also necessary.

There is a bug in the current owncloud (9.0.2) which does only check the libxml2 version used to compile the apache, not which version is loaded. 
CODE: SELECT ALL
Código:
sed -i 's/LIBXML_DOTTED_VERSION/LIBXML_LOADED_VERSION/g' /share/Web/owncloud/lib/private/util.php


Replace the "..." with the actual path to your ownloud. If you used the standard installation, this path SHOULD work.

Now open the owncloud website and do the upgrade/install (or put some values in the config.php or whatever it needs to get owncloud running)

Step 3:
Patch the checksum warnings:
This is not necessary, but it's just annoying when logging in as admin and owncloud complains about the wrong checksum on the util.php.
Since owncloud is using code signing to prevent malicious software to modify the core libraries, it's perfectly legit for the warning to appear.
Altering the signature file will also not help, since this file is also checksumed.
So the only way to get rid of the warning is to set the branch of owncloud to something other than stable. We will set it to "custom":
Cita:sed -i 's/stable/custom/g' /share/Web/owncloud/version.php

Replace the path to owncloud with your actual path as above.


El hilo en cuestión es este por si te apetece echarle una lectura: https://forum.qnap.com/viewtopic.php?f=32&t=110563

Saludos!
  Responder


Mensajes en este tema
owncloud no encuentra servidor - por gonac58 - 29-12-2016, 06:16 PM
RE: owncloud no encuentra servidor - por Qnapero - 30-12-2016, 09:50 AM
RE: owncloud no encuentra servidor - por gonac58 - 30-12-2016, 10:07 AM
RE: owncloud no encuentra servidor - por DonPeter - 31-12-2016, 08:12 PM
RE: owncloud no encuentra servidor - por gonac58 - 31-12-2016, 09:12 PM
RE: owncloud no encuentra servidor - por DonPeter - 02-01-2017, 11:28 AM
RE: owncloud no encuentra servidor - por gonac58 - 02-01-2017, 07:46 PM
RE: owncloud no encuentra servidor - por DonPeter - 02-01-2017, 08:11 PM
RE: owncloud no encuentra servidor - por gonac58 - 19-01-2017, 01:24 PM
RE: owncloud no encuentra servidor - por DonPeter - 19-01-2017, 09:46 PM
RE: owncloud no encuentra servidor - por txipiron_ - 19-01-2017, 08:53 PM
RE: owncloud no encuentra servidor - por gonac58 - 20-01-2017, 09:06 PM
RE: owncloud no encuentra servidor - por gonac58 - 22-01-2017, 09:11 AM
RE: owncloud no encuentra servidor - por DonPeter - 23-01-2017, 11:21 PM
RE: owncloud no encuentra servidor - por DonPeter - 23-01-2017, 11:26 PM
RE: owncloud no encuentra servidor - por gonac58 - 24-01-2017, 11:17 AM
RE: owncloud no encuentra servidor - por gonac58 - 24-01-2017, 03:39 PM
RE: owncloud no encuentra servidor - por DonPeter - 25-01-2017, 01:43 AM
RE: owncloud no encuentra servidor - por gonac58 - 25-01-2017, 07:30 AM
RE: owncloud no encuentra servidor - por TS251A - 22-01-2017, 01:56 PM
RE: owncloud no encuentra servidor - por gonac58 - 22-01-2017, 02:11 PM
RE: owncloud no encuentra servidor - por gonac58 - 25-01-2017, 07:49 PM
RE: owncloud no encuentra servidor - por DonPeter - 25-01-2017, 08:30 PM
RE: owncloud no encuentra servidor - por gonac58 - 27-01-2017, 05:47 PM
RE: owncloud no encuentra servidor - por txipiron_ - 27-01-2017, 08:41 PM
RE: owncloud no encuentra servidor - por gonac58 - 29-01-2017, 11:13 AM
RE: owncloud no encuentra servidor - por KILERFER - 06-02-2018, 11:00 PM
RE: owncloud no encuentra servidor - por gonac58 - 07-02-2018, 06:11 AM



Usuarios navegando en este tema: 1 invitado(s)