Loading...
 
Skip to main content

9.x - trunk: Can NOT export fields nor synchronize a big tracker

Status
Closed
Subject
9.x - trunk: Can NOT export fields nor synchronize a big tracker
Version
11.x
12.x
9.x
Category
  • Error
  • Usability
Feature
Trackers
Resolution status
Fix on the Way
Submitted by
Xavier de Pedro
Volunteered to solve
Nelson Ko
Lastmod by
Xavier de Pedro
Rating
(0)
Description

9.x - trunk: Can NOT export fields nor synchronize a big tracker

Smaller trackers seem to be fine with exporting tracker fields.
But with this one, no content is shown in the popup box where the exported fields should be shown.
Somehow I managed to replicate this issue in my localhost in a Tiki 11.x, and I see this error message then:

Copy to clipboard
Request-URI Too Large The requested URL's length exceeds the capacity limit for this server. -------------------------------- Apache/2.2.22 (Ubuntu) Server...


This seems to be related to these two apache directives, that I didn't manage to change in my localhost (or at least, the error didn't dissapear):

  1. http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestline
  2. http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfieldsize


Show instance created.
U: admin
P: 12345
To reproduce, try to export all or any of the 167 fields here:
http://xavi-9794-4756.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1



I tried also exporting the whole tracker, fields and data through the tracker synchronization feature (), but After I click at the button to "search the trackers to clone" (or similar), at teh remote tracker duplication step, then I get this fatal error page:

Copy to clipboard
Fatal error: Uncaught exception 'Zend_Http_Client_Adapter_Exception' with message 'Read timed out after 10 seconds' in /path/lib/core/Zend/Http/Client/Adapter/Socket.php:511 Stack trace: #0 /path/lib/core/Zend/Http/Client/Adapter/Socket.php(329): Zend_Http_Client_Adapter_Socket->_checkSocketReadTimeout() #1 /path/lib/core/Zend/Http/Client.php(1075): Zend_Http_Client_Adapter_Socket->read() #2 /path/lib/core/Services/RemoteController.php(57): Zend_Http_Client->request('POST') #3 /path/lib/core/Services/RemoteController.php(26): Services_RemoteController->getJson('list_trackers', Array) #4 /path/lib/core/Services/Tracker/SyncController.php(266): Services_RemoteController->__call('list_trackers', Array) #5 /path/lib/core/Services/Tracker/SyncController.php(266): Services_RemoteController->list_trackers() #6 /path/lib/core/Services/Tracker/SyncController.php(280): Services_Tracker_SyncController->getRemoteTrackerList('http://ueb.vhir...') #7 /path/lib/core/Services in /path/lib/core/Zend/Http/Client/Adapter/Socket.php on line 511


Any help to get the tracker exported, by any means, to another Tiki install?

Workaround

How about exporting the tracker to a profile using latest 12.x using:

php console.php profile:export:init trackerexport
php console.php profile:export:tracker x
php console.php profile:export:finalize

the yaml will be deposited in <tikiroot>/profiles/trackerexport.yml

it can be installed in another server: php console.php profile:apply trackerexport file://profiles

Are you also trying to to sync the data? if so, then you have to try make the trackersync feature. lp wrote that for one of our (CR) projects but we never used it in production (beyond testing).


UPDATE: Yes, Nelson, I did a workaround like that one through the tiki interface (I exported the tracker in yaml), created a profiles.tiki.org page, and applied that profile in the tiki 9 lts site.

What you say might work (I didn't try), but I wish there was an easier way for tiki power users (without ssh access) to export medium sized trackers, also, like the one reported here.

Importance
8
Easy to solve?
5
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4756
Created
Wednesday 18 September, 2013 10:05:23 UTC
by Xavier de Pedro
LastModif
Friday 22 November, 2013 22:55:54 UTC


Show PHP error messages