# Migrating old version 3 to new host cant get to work

**URL:** <https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473>\
**Category:** Pydio Cells\
**Created:** [May 15, 2019, 10:21am UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473 "2019-05-15T10:21:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Warburton](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/mike_warburton/32/899_2.png) [@Mike\_Warburton](https://forum.pydio.com/u/Mike_Warburton)\
**Post date:** [May 15, 2019, 10:21am UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/1 "2019-05-15T10:21:24Z")

</div>

i have a client who has a version 3 install of ajaxplorer and i just did a cpanel account copy so everything was the same but when i try to run i get

**Strict Standards** : Non-static method DOMDocument::loadXML() should not be called statically, assuming $this from incompatible context in **/home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_Plugin.php** on line **273**

it would be nice if i can upgrade it but its on a really old server atm and the new one its going to isnt that newer either but i can get a version 5 to run but not his version 3

in the error log also im getting  
[15-May-2019 10:12:11 UTC] PHP Strict Standards: Non-static method DOMDocument::loadXML() should not be called statically, assuming $this from incompatible context in /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_Plugin.php on line 273  
[15-May-2019 10:12:11 UTC] PHP Strict Standards: Static function AbstractAjxpUser::deleteUser() should not be abstract in /home/loadserv/public\_html/Fileshare Server/server/classes/class.AbstractAjxpUser.php on line 300  
[15-May-2019 10:12:11 UTC] PHP Strict Standards: Non-static method DOMDocument::loadXML() should not be called statically, assuming $this from incompatible context in /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_Plugin.php on line 273  
[15-May-2019 10:12:11 UTC] PHP Warning: session\_start(): Cannot send session cache limiter - headers already sent (output started at /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_Plugin.php:273) in /home/loadserv/public\_html/Fileshare Server/index.php on line 60  
[15-May-2019 10:12:11 UTC] PHP Fatal error: AuthService::getDefaultRootId(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "AJXP\_SqlUser" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a \_\_autoload() function to load the class definition in /home/loadserv/public\_html/Fileshare Server/server/classes/class.AuthService.php on line 278

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 17, 2019, 9:38am UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/2 "2019-05-17T09:38:51Z")

</div>

Hello,

Please install php-xml extension

---

<div class="post-metadata">

**Author:** ![Mike\_Warburton](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/mike_warburton/32/899_2.png) [@Mike\_Warburton](https://forum.pydio.com/u/Mike_Warburton)\
**Post date:** [May 17, 2019, 10:58am UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/3 "2019-05-17T10:58:03Z")

</div>

how do i do this  
and is this installed on the new server or the old server before moving

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 17, 2019, 11:04am UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/4 "2019-05-17T11:04:48Z")

</div>

Hello,  
Could you please detail the version of Pydio before migration, php version, os name  
How did you do the migration?

On new server, what is php version, os version and Pydio version?

---

<div class="post-metadata">

**Author:** ![Mike\_Warburton](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/mike_warburton/32/899_2.png) [@Mike\_Warburton](https://forum.pydio.com/u/Mike_Warburton)\
**Post date:** [May 17, 2019, 2:45pm UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/5 "2019-05-17T14:45:37Z")

</div>

old server pecs as follows  
CENTOS 5.11 x86\_64 standard  
[WHM 56.0 (build 52)]

|Default PHP Version (.php files)|5|  
|PHP 5 Handler|suphp|  
|Apache suEXEC|on|  
|Apache Ruid2|off|

new server

- CENTOS 7.6 [host]
- [v76.0.20]  
still php 5

moved using cpanel cpmove backupfile  
when i try to run the version 3 from the backup i get the below error

Error while parsing JSON response : Badly formed JSON string: ’  
\n **Fatal error** : Uncaught exception ‘Exception’ with message ‘Cannot find plugin for type log’ in /home/loadserv/public\_html/Fileshare Server/server/classes/class.ConfService.php:145\nStack trace:\n#0 /home/loadserv/public\_html/Fileshare Server/server/classes/class.ConfService.php(160): ConfService-\>initUniquePluginImplInst(‘LOG\_DRIVER’, ‘log’)\n#1 /home/loadserv/public\_html/Fileshare Server/server/classes/class.ConfService.php(189): ConfService-\>getUniquePluginImplInst(‘LOG\_DRIVER’, ‘log’)\n#2 /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_Logger.php(82): ConfService::getLogDriverImpl()\n#3 /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_Logger.php(62): AJXP\_Logger::getInstance()\n#4 /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_XMLWriter.php(111): AJXP\_Logger::logAction(‘error’, Array)\n#5 /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_XMLWriter.php(124): AJXP\_XMLWriter::catchError(0, ‘Cannot find plu…’, ‘/home/loadserv/…’, 145, NULL)\n in **/home/loadserv/public\_html/Fileshare Server/server/classes/class.ConfService.php** on line **145**  
\n’

i can run the new version 5 and i can run the import tool it looks like the import went ok but after that there are no files there.

also we are concerned once moved to version 5 the share links would have changed

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 20, 2019, 7:30am UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/6 "2019-05-20T07:30:56Z")

</div>

Hello,

I’ve never done the migration from ajaxplorer 3 to Pydio before. It’s very complicated. What I did is use a migration tool (available in enterprise version) to migration from Pydio 5 to 6, then from pydio 6 you can update to latest version.

---

<div class="post-metadata">

**Author:** ![Mike\_Warburton](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/mike_warburton/32/899_2.png) [@Mike\_Warburton](https://forum.pydio.com/u/Mike_Warburton)\
**Post date:** [May 20, 2019, 1:30pm UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/7 "2019-05-20T13:30:57Z")

</div>

i dont understand why the 2 servers are more or less the same but when i restor a backup i get  
Error while parsing JSON response : Badly formed JSON string: ’  
\n **Fatal error** : Uncaught exception ‘Exception’ with message ‘Cannot find plugin for type log’ in /home/loadserv/public\_html/Fileshare Server/server/classes/class.ConfService.php:145\nStack trace:\n#0 /home/loadserv/public\_html/Fileshare Server/server/classes/class.ConfService.php(160): ConfService-\>initUniquePluginImplInst(‘LOG\_DRIVER’, ‘log’)\n#1 /home/loadserv/public\_html/Fileshare Server/server/classes/class.ConfService.php(189): ConfService-\>getUniquePluginImplInst(‘LOG\_DRIVER’, ‘log’)\n#2 /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_Logger.php(82): ConfService::getLogDriverImpl()\n#3 /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_Logger.php(62): AJXP\_Logger::getInstance()\n#4 /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_XMLWriter.php(111): AJXP\_Logger::logAction(‘error’, Array)\n#5 /home/loadserv/public\_html/Fileshare Server/server/classes/class.AJXP\_XMLWriter.php(124): AJXP\_XMLWriter::catchError(0, ‘Cannot find plu…’, ‘/home/loadserv/…’, 145, NULL)\n in **/home/loadserv/public\_html/Fileshare Server/server/classes/class.ConfService.php** on line **145**  
\n’

---

<div class="post-metadata">

**Author:** ![Mike\_Warburton](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/mike_warburton/32/899_2.png) [@Mike\_Warburton](https://forum.pydio.com/u/Mike_Warburton)\
**Post date:** [May 20, 2019, 3:00pm UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/8 "2019-05-20T15:00:34Z")

</div>

right i managed to get version 5 working but the share links are not the same  
on the version 3 it was [http://domainname/Fileshare%20Server/public/file.php](http://domainname/Fileshare%20Server/public/file.php)  
on the version 5 it is now [http://domainname/Fileshare%20Server/data/public/file.php](http://domainname/Fileshare%20Server/data/public/file.php)

which means none of the files shared already are just broken links

is there a database file somewhere that needs copying across so the version 5 knows what links where there originally

how do i remove the /data/  
so all my links will work

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [May 16, 2023, 10:30am UTC](https://forum.pydio.com/t/migrating-old-version-3-to-new-host-cant-get-to-work/2473/9 "2023-05-16T10:30:11Z")

</div>

Closed on May 16, 2023, 10:30am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
