syncFilesystem Error

Talk about anything that doesn't fit in the other catagories :) (and of course is about Group-Office)

Moderator: Developers

kimthostrup
Posts: 3
Joined: Sat Jun 24, 2017 7:59 am

syncFilesystem Error

Postby kimthostrup » Wed Jun 28, 2017 6:55 am

Hi Experts,

Can someone please guide me in the right direction, when it comes to finding the root cause of this error message I got, when trying to synchronise the filesystem on a new server after I rsync'ed /home/groupoffice over as well as the DB (which is imported with out any issues):
----snip----
root@office:~# time sudo -u www-data php /usr/share/groupoffice/groupofficecli.php -r=files/folder/syncFilesystem

Group-Office CLI - Copyright Intermesh BV.

<pre>Syncing users
PHP Notice: Trying to get property of non-object in /usr/share/groupoffice/modules/files/model/File.php on line 261
PHP Fatal error: Uncaught Error: Call to a member function isWritable() on null in /usr/share/groupoffice/modules/files/model/File.php:261
Stack trace:
#0 /usr/share/groupoffice/go/base/db/ActiveRecord.php(3190): GO\Files\Model\File->beforeSave()
#1 /usr/share/groupoffice/modules/files/model/Folder.php(678): GO\Base\Db\ActiveRecord->save()
#2 /usr/share/groupoffice/modules/files/model/Folder.php(781): GO\Files\Model\Folder->addFile('H-07-01951-0096...')
#3 /usr/share/groupoffice/modules/files/model/Folder.php(800): GO\Files\Model\Folder->syncFilesystem(true, false)
#4 /usr/share/groupoffice/modules/files/model/Folder.php(800): GO\Files\Model\Folder->syncFilesystem(true, false)
#5 /usr/share/groupoffice/modules/files/model/Folder.php(800): GO\Files\Model\Folder->syncFilesystem(true, false)
#6 /usr/share/groupoffice/modules/files/model/Folder.php(800): GO\Files\Model\Folder->syncFilesystem(true, false)
#7 /usr/share/groupoffice/modules/files/model/Folder.php(800): GO\Files\Model\Folder->syncFilesystem(true, false)
#8 /usr/share in /usr/share/groupoffice/modules/files/model/File.php on line 261
----snip----


The "old" server is running 5.0.112 and the new server is running 6.2.42

The www-data user owns all the files/folders in /home/groupoffice, the permissions has been set to 777 for al files (to make sure that this was not a issue)
The folder with the "H-07-01951-009" file is a really long folder path like this (obfuscated names) : /home/groupoffice/users/xx/yyyyyyyy fdfdfd/VV-RR/BobbyT/2012/03 - Marts/JS. 2012.03.29 kl. 08.30 (send DDDD GFFGG ccc@gfgfhfhfht.aa) (fjhdgsjhgfklf) Thstkgksnbf 62, 4444 Rykiju (Pk.1) (Send fffffff hhh dhdhdhdhdhdh tt mail - hhh tytytytyt srrrr ddd) (Maaaa)/H-07-01951-0096.pdf
But it is readable and reachable.

The size of the /home/groupoffice folder is 750GB
Thanks in advance.
Kim

Return to “GroupOffice main discussion”

Who is online

Users browsing this forum: No registered users and 1 guest

cron