<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Activesync: error 500 while handling FolderUpdate </title> 
  <pubDate>Fri, 10 Apr 2026 20:05:42 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/13334</link> 
  <atom:link rel="self" type="application/rss+xml" title="Activesync: error 500 while handling FolderUpdate " href="https://bugs.horde.org/ticket/13334/rss" /> 
  <description>Activesync: error 500 while handling FolderUpdate </description> 
 
   
   
  <item> 
   <title>Synchronising from a BlackBerry device on 10.2.1

The logs</title> 
   <description>Synchronising from a BlackBerry device on 10.2.1

The logs show this:
T01:35:00+02:00 ERR: HORDE Returning HTTP 500 while handling FolderUpdate command. [pid 89163 on line 159 of &quot;/var/www/html/webmail/rpc.php&quot;]
T01:35:00+02:00 ERR: HORDE Error in communicating with ActiveSync server: Protocol Error [pid 89163 on line 162 of &quot;/php/lib/php/Horde/Rpc/ActiveSync.php&quot;]
T01:35:00+02:00 ERR: HORDE #0 /php/lib/php/Horde/ActiveSync/Request/Base.php(253): Horde_ActiveSync_Request_FolderCreate-&gt;_handle()
#1 /php/lib/php/Horde/ActiveSync.php(880): Horde_ActiveSync_Request_Base-&gt;handle()
#2 /php/lib/php/Horde/Rpc/ActiveSync.php(143): Horde_ActiveSync-&gt;handleRequest(&#039;FolderUpdate&#039;, &#039;BBABCD1234&#039;)
#3 /var/www/html/webmail/rpc.php(159): Horde_Rpc_ActiveSync-&gt;getResponse(NULL)
#4 {main} [pid 89163 on line 162 of &quot;/php/lib/php/Horde/Rpc/ActiveSync.php&quot;]
T01:35:00+02:00 ERR: HORDE Buffer contents:  [pid 89163 on line 162 of &quot;/php/lib/php/Horde/Rpc/ActiveSync.php&quot;]</description> 
   <pubDate>Tue, 08 Jul 2014 23:59:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84540</link> 
  </item> 
   
  <item> 
   <title>It seems that the upgrade broke the sync relationship which </title> 
   <description>It seems that the upgrade broke the sync relationship which existed between accounts on the device and Horde sync sources.

This is from the sync log:
2014-07-09T03:40:22+02:00 INFO: [5683] Horde_Core_ActiveSync_Driver::authenticate() attempt for user@domain.tld
2014-07-09T03:40:22+02:00 INFO: [5683] FOLDERUPDATE request received for user user@domain.tld
2014-07-09T03:40:22+02:00 INFO: [5683] Device entry exists for BB1234ABCD, updating userAgent and version.
2014-07-09T03:40:22+02:00 INFO: [5683] Request being handled for device: BB1234ABCD, Supporting protocol version: 14.1, Using Horde_ActiveSync v2.16.9
2014-07-09T03:40:22+02:00 INFO: [5683] GET VARIABLES: Array
(
    [Cmd] =&gt; FolderUpdate
    [DeviceType] =&gt; BlackBerry
    [User] =&gt; user@domain.tld
    [DeviceId] =&gt; BB1234ABCD
)

2014-07-09T03:40:22+02:00 INFO: [BB1234ABCD] Handling FOLDER[CREATE|DELETE|CHANGE] command.
2014-07-09T03:40:22+02:00 DEBUG: [5683] I  &lt;FolderHierarchy:FolderUpdate&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I   &lt;FolderHierarchy:SyncKey&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I     {53944bcf-adf4-4bd1-b3ca-24b2904cae96}3
2014-07-09T03:40:22+02:00 DEBUG: [5683] I   &lt;/FolderHierarchy:SyncKey&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I   &lt;FolderHierarchy:ServerEntryId&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I     Ncf4f9a88
2014-07-09T03:40:22+02:00 DEBUG: [5683] I   &lt;/FolderHierarchy:ServerEntryId&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I   &lt;FolderHierarchy:ParentId&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I     0
2014-07-09T03:40:22+02:00 DEBUG: [5683] I   &lt;/FolderHierarchy:ParentId&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I   &lt;FolderHierarchy:DisplayName&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I     Notepad of user@domain.tld
2014-07-09T03:40:22+02:00 DEBUG: [5683] I   &lt;/FolderHierarchy:DisplayName&gt;
2014-07-09T03:40:22+02:00 DEBUG: [5683] I  &lt;/FolderHierarchy:FolderUpdate&gt;
2014-07-09T03:40:22+02:00 INFO: [5683] Loading state for synckey {53944bcf-adf4-4bd1-b3ca-24b2904cae96}3
2014-07-09T03:40:22+02:00 INFO: [5683] Loading FOLDERSYNC state containing 12 folders.
2014-07-09T03:40:22+02:00 INFO: [5683] Horde_ActiveSync_Connector_Importer::importFolderChange(Ncf4f9a88, Notepad of user@domain.tld, 0, )
2014-07-09T03:40:22+02:00 INFO: [5683] Horde_Core_ActiveSync_Driver::changeFolder(Notes:_randomised, Notepad of user@domain.tld, 0, Ncf4f9a88, )
2014-07-09T03:40:22+02:00 INFO: [5683] Polling Horde_Core_ActiveSync_Driver::_getMailFolders()
2014-07-09T03:40:22+02:00 ERR: Share name _randomised not found</description> 
   <pubDate>Wed, 09 Jul 2014 01:45:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84542</link> 
  </item> 
   
  <item> 
   <title>
&gt; 2014-07-09T03:40:22+02:00 INFO: [5683] Loading state for</title> 
   <description>
&gt; 2014-07-09T03:40:22+02:00 INFO: [5683] Loading state for synckey 
&gt; {53944bcf-adf4-4bd1-b3ca-24b2904cae96}3
&gt; 2014-07-09T03:40:22+02:00 INFO: [5683] Loading FOLDERSYNC state 
&gt; containing 12 folders

This shows that the sync state is still intact and available.

&gt; Horde_Core_ActiveSync_Driver::_getMailFolders()
&gt; 2014-07-09T03:40:22+02:00 ERR: Share name _randomised not found

This means that in whatever application this is polling, the share is no longer available. It was either deleted or renamed, or this user no longer has permissions to it.

Re-saving the synchronization preferences for this app should rectify the situation.</description> 
   <pubDate>Wed, 09 Jul 2014 15:42:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84567</link> 
  </item> 
   
  <item> 
   <title>Going to mark this as at least related to Bug: 13338</title> 
   <description>Going to mark this as at least related to Bug: 13338</description> 
   <pubDate>Thu, 10 Jul 2014 16:58:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84619</link> 
  </item> 
   
  <item> 
   <title>On a newly added account, after the initial sync, this error</title> 
   <description>On a newly added account, after the initial sync, this error comes back:
2014-07-10T19:48:45+02:00 ERR: Share name _randomised not found

The log is similar to what I posted earlier in the log.

I did not make any modifications to the notes in the phone or in Horde, except for changing the colour of the folder in the phone.

I did move a task from one folder to another, but there is no complaint about that.

I can see the share in the DB, it has the correct share_owner. That Notebook was created on an earlier version of Horde and it starts with an underscore (not sure if it&#039;s relevant)


</description> 
   <pubDate>Thu, 10 Jul 2014 18:03:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84633</link> 
  </item> 
   
  <item> 
   <title>
&gt; 2014-07-10T19:48:45+02:00 ERR: Share name _randomised no</title> 
   <description>
&gt; 2014-07-10T19:48:45+02:00 ERR: Share name _randomised not found

Does it actually say &quot;_randomised&quot;??</description> 
   <pubDate>Thu, 10 Jul 2014 18:05:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84634</link> 
  </item> 
   
  <item> 
   <title>&gt; On a newly added account, after the initial sync, this err</title> 
   <description>&gt; On a newly added account, after the initial sync, this error comes back:
&gt; 2014-07-10T19:48:45+02:00 ERR: Share name _randomised not found
&gt;
&gt; The log is similar to what I posted earlier in the log.
&gt;
&gt; I did not make any modifications to the notes in the phone or in 
&gt; Horde, except for changing the colour of the folder in the phone.
&gt;
&gt; I did move a task from one folder to another, but there is no 
&gt; complaint about that.

Are we talking about Tasks, or Notes? You reference both.

Also, what client is this?
</description> 
   <pubDate>Thu, 10 Jul 2014 18:07:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84635</link> 
  </item> 
   
  <item> 
   <title>&gt; Are we talking about Tasks, or Notes? You reference both.</title> 
   <description>&gt; Are we talking about Tasks, or Notes? You reference both.
&gt;
&gt; Also, what client is this?
&gt;
That&#039;s a BlackBerry 10 device with OS 10.2. I&#039;m testing the support for multiple tasks and notes folder synchronisation.

The error I&#039;m presently seeing is about a note share which is not found. We&#039;re using sharesng, but it shouldn&#039;t make a difference, since everything went fine in the initial sync.

The name of the share (share_name) starts with an underscore and is followed by an alphanumeric sequence, sorry for calling it _randomised.
_siqWNjWBqAIyNNy2m8i

</description> 
   <pubDate>Thu, 10 Jul 2014 18:15:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84638</link> 
  </item> 
   
  <item> 
   <title>I&#039;ll have to download the latest simulator and test.</title> 
   <description>I&#039;ll have to download the latest simulator and test.</description> 
   <pubDate>Thu, 10 Jul 2014 18:34:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84639</link> 
  </item> 
   
  <item> 
   <title>
&gt; I&#039;ll have to download the latest simulator and test.

</title> 
   <description>
&gt; I&#039;ll have to download the latest simulator and test.

I think I&#039;ve identified the problem, looking at this different trace:

2014-07-10T20:48:43+02:00 ERR: HORDE Returning HTTP 500 while handling FolderUpdate command. [pid 52217 on line 159 of &quot;/horde/rpc.php&quot;]
2014-07-10T20:48:43+02:00 ERR: HORDE Error in communicating with ActiveSync server: Share name _siqWNjWBqAIyNNy2m8i not found [pid 52217 on line 162 of &quot;/php/Horde/Rpc/ActiveSync.php&quot;]
2014-07-10T20:48:43+02:00 ERR: HORDE #0 /php/Horde/Share/Base.php(199): Horde_Share_Sql-&gt;_getShare(&#039;_siqWNjWBqAIy...&#039;)
#1 [internal function]: Horde_Share_Base-&gt;getShare(&#039;_siqWNjWBqAIy...&#039;)
#2 /php/Horde/Core/Share/Driver.php(63): call_user_func_array(Array, Array)
#3 /horde/nag/lib/Api.php(131): Horde_Core_Share_Driver-&gt;__call(&#039;getShare&#039;, Array)
#4 /horde/nag/lib/Api.php(131): Horde_Core_Share_Driver-&gt;getShare(&#039;_siqWNjWBqAIy...&#039;)
#5 [internal function]: Nag_Api-&gt;getTasklist(&#039;_siqWNjWBqAIy...&#039;)
#6 /php/Horde/Registry.php(1136): call_user_func_array(Array, Array)
#7 /php/Horde/Registry.php(1093): Horde_Registry-&gt;callByPackage(&#039;nag&#039;, &#039;getTasklist&#039;, Array)
#8 /php/Horde/Registry/Caller.php(41): Horde_Registry-&gt;call(&#039;tasks/getTaskli...&#039;, Array)
#9 /php/Horde/Core/ActiveSync/Connector.php(1219): Horde_Registry_Caller-&gt;__call(&#039;getTasklist&#039;, Array)
#10 /php/Horde/Core/ActiveSync/Connector.php(1219): Horde_Registry_Caller-&gt;getTasklist(&#039;_siqWNjWBqAIy...&#039;)
#11 /php/Horde/Core/ActiveSync/Driver.php(718): Horde_Core_ActiveSync_Connector-&gt;changeFolder(&#039;Notes&#039;, &#039;_siqWNjWBqAIy...&#039;, &#039;Notes (o@of)&#039;)
#12 /php/Horde/ActiveSync/Connector/Importer.php(347): Horde_Core_ActiveSync_Driver-&gt;changeFolder(&#039;Notes:_IqHpMZrX...&#039;, &#039;Notes (o@of)&#039;, &#039;0&#039;, &#039;N65f21b18&#039;, false)
#13 /php/Horde/ActiveSync/Request/FolderCreate.php(149): Horde_ActiveSync_Connector_Importer-&gt;importFolderChange(&#039;N65f21b18&#039;, &#039;Notes (o@of)&#039;, &#039;0&#039;, false)
#14 /php/Horde/ActiveSync/Request/Base.php(253): Horde_ActiveSync_Request_FolderCreate-&gt;_handle()
#15 /php/Horde/ActiveSync.php(880): Horde_ActiveSync_Request_Base-&gt;handle()
#16 /php/Horde/Rpc/ActiveSync.php(143): Horde_ActiveSync-&gt;handleRequest(&#039;FolderUpdate&#039;, &#039;BB1234ABCD&#039;)
#17 /horde/rpc.php(159): Horde_Rpc_ActiveSync-&gt;getResponse(NULL)
#18 {main} [pid 52217 on line 162 of &quot;/php/Horde/Rpc/ActiveSync.php&quot;]

ActiveSync is looking for a Mnemo share using the Nag driver
The share only exists in mnemo_sharesng, not in nag_sharesng

</description> 
   <pubDate>Thu, 10 Jul 2014 19:03:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84641</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 2c28ef420442</title> 
   <description>Changes have been made in Git (master):

commit 2c28ef420442261badd33b8613a213bfbdff2522
Author: Michael J Rubinsky &lt;mrubinsk@horde.org&gt;
Date:   Thu Jul 10 22:33:34 2014 -0400

    Bug: 13334 Fix broken CHANGEFOLDER functionality for NOTES collections.

 .../Core/lib/Horde/Core/ActiveSync/Connector.php   |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

http://github.com/horde/horde/commit/2c28ef420442261badd33b8613a213bfbdff2522</description> 
   <pubDate>Fri, 11 Jul 2014 02:36:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84646</link> 
  </item> 
   
  <item> 
   <title>Silly, silly typo.

Fixed for Horde_Core 2.12.5</title> 
   <description>Silly, silly typo.

Fixed for Horde_Core 2.12.5</description> 
   <pubDate>Fri, 11 Jul 2014 02:37:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13334#t84647</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
