Foren

Unable to add new files via Liferay Sync

thumbnail
Gordon Augat, geändert vor 8 Jahren.

Unable to add new files via Liferay Sync

Regular Member Beiträge: 107 Beitrittsdatum: 16.08.06 Neueste Beiträge
Liferay Sync is unable to upload a file from my Windows client to the Liferay server. It throws a com.liferay.portlet.documentlibrary.NoSuchFolderException and the root exception is com.liferay.portal.kernel.repository.InvalidRepositoryIdException.

All the other sync functions seems to work, like getting new files from the server, updating existing files, etc. I just can't add new files.

In the sync.log file, it shows the following error...

{"uiEvent":0,"eventType":"ENTRY_MODIFY","filePathName":"D:\\LiferaySync\\www.thunderbolt5.com\\Thunderbolt5\\Germany Frankfurt Mission.jpg","fileType":"file","previousFilePathName":null,"syncAccountId":1,"syncWatchEventId":25,"timestamp":1461350636112}
12:43:59.109 TRACE [pool-10-thread-1] [UpdateFileEntriesEvent:47] Processing event UpdateFileEntriesEvent
12:43:59.446 TRACE [pool-24-thread-3] [BaseJSONHandler:352] Handling response UpdateFileEntriesHandler {"50_1461350636113":"{\"exception\": \"No Folder exists with the key {folderId=0}\", \"error\": {\"message\":\"No Folder exists with the key {folderId=0}\",\"type\":\"com.liferay.portlet.documentlibrary.NoSuchFolderException\"}, \"throwable\": \"com.liferay.portlet.documentlibrary.NoSuchFolderException: No Folder exists with the key {folderId=0}\", \"rootCause\": {\"message\":\"Missing a valid ID for folder, file entry or file version\",\"type\":\"com.liferay.portal.kernel.repository.InvalidRepositoryIdException\"}}"}
12:43:59.446 DEBUG [pool-24-thread-3] [BaseJSONHandler:144] Handling exception com.liferay.portal.kernel.repository.InvalidRepositoryIdException


Using...

Liferay Sync v3.1.1 GA (64 bit edition on Windows 10)
Liferay Portal Community Edition 6.2 CE GA6
Sync Connector CE Version: 3.1.0
thumbnail
Dennis Ju, geändert vor 8 Jahren.

RE: Unable to add new files via Liferay Sync

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Hi Gordon,

Can you send your entire sync.log to sync-feedback@liferay.com?

Thanks,
Dennis
thumbnail
Dennis Ju, geändert vor 8 Jahren.

RE: Unable to add new files via Liferay Sync

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Hi Gordon,

It appears a code commit for Sync Connector CE was missed (EE is fine).

I'll work on getting a fixed Sync Connector CE released. In the meantime, you can build from 6.2.x source. I'll also send you a WAR that you can deploy directly with the fix.

Thanks,
Dennis
thumbnail
Marco Endres, geändert vor 7 Jahren.

RE: Unable to add new files via Liferay Sync

Regular Member Beiträge: 112 Beitrittsdatum: 22.08.12 Neueste Beiträge
Hello Dennis,

Where can i download the new WAR?

I also get the error: "Folder must be an instance of DLFolder"
Will this also be fixed?

thanks,
Marco
Walid Boudich, geändert vor 7 Jahren.

RE: Unable to add new files via Liferay Sync

New Member Beitrag: 1 Beitrittsdatum: 04.02.15 Neueste Beiträge
Hello

Can we have the link to the WAR ?

Thanks
thumbnail
Dennis Ju, geändert vor 7 Jahren.

RE: Unable to add new files via Liferay Sync

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Yes, this will also fix the "Folder must be an instance of DLFolder" error.

Please e-mail sync-feedback@liferay.com w/ a request for the WAR. I will send the WAR as an attachment.
Daniel Rodriguez, geändert vor 7 Jahren.

RE: Unable to add new files via Liferay Sync

New Member Beiträge: 5 Beitrittsdatum: 03.03.15 Neueste Beiträge
Dennis Ju:
Yes, this will also fix the "Folder must be an instance of DLFolder" error.

Please e-mail sync-feedback@liferay.com w/ a request for the WAR. I will send the WAR as an attachment.


Hi Dennis,

I'm facing the same problem. Could I also receive the WAR?. I have sent an email to the above email (sync-feedback@liferay.com).

Many thanks in advance,

Daniel.
thumbnail
Dennis Ju, geändert vor 7 Jahren.

RE: Unable to add new files via Liferay Sync

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
Hi Daniel,

I sent you the WAR.

The Sync Connector CE app on Marketplace should be released later today with the same fix.

Dennis
thumbnail
Dennis Ju, geändert vor 7 Jahren.

RE: Unable to add new files via Liferay Sync

Regular Member Beiträge: 228 Beitrittsdatum: 30.09.10 Neueste Beiträge
The Sync Connector CE app has been updated yesterday to version 3.1.1 which resolves this upload issue. link
Viola Macejkovic, geändert vor 3 Jahren.

RE: Unable to add new files via Liferay Sync

New Member Beitrag: 1 Beitrittsdatum: 24.10.20 Neueste Beiträge
can I receive the WAR?