Answers.Body: <p>In "own question - own answer" mode .. again. Well, it turned that server name resolves as <strong>www.hostname.tld</strong> while all paths we used were in just <strong>hostname.tld</strong> format. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-03T20:24:37.980Z
Answers.LastActivityDate: 2015-12-03T20:24:37.980Z
Answers.UserDisplayName: yurg
Body: <p>We've changed server host name recently and all seems to be fine excluding dashlet reports disappearance: there is just "Object Moved, This document may be found here" like on this screen grab <a href="http://awesomescreenshot.com/0375gftva1" rel="nofollow">http://awesomescreenshot.com/0375gftva1</a> </p>
  
  <p>We've checked carefully all paths at: </p>
  
  <ul>
  <li>civicrm.settings.php </li>
  <li>Administer - System Settings - Directories</li>
  <li>Administer - System Settings - Resource URLs </li>
  <li>Administer - System
  Settings - Cleanup Caches and Update Paths</li>
  </ul>
  
  <p>Also</p>
  
  <ul>
  <li>Cache has been instantly cleared, </li>
  <li>Refresh Dashboard button used, </li>
  <li>each report has been enabled / disabled / updated, </li>
  <li>log files in ConfigAndLogs folder has been monitored, </li>
  <li>page has been inspected using  XHR inspector in Firefox, </li>
  <li>as well as server logs. </li>
  </ul>
  
  <p>There are several suspicious messages in Drupal Watchdog though, like:</p>
  
  <pre><code>* undefined index: columns in CRM_Contact_Page_AJAX::dashboard() 
  (line 610 of /civicrm/CRM/Contact/Page/AJAX.php).
  
  * $Fatal Error Details = Array ( [callback] =&gt; Array ( [0] =&gt;
   CRM_Core_Error [1] =&gt; handle ) [code] =&gt; -5 [message] =&gt; 
  DB Error: already exists [mode] =&gt; 16 [debug_info] =&gt; INSERT INTO civicrm_menu 
  (domain_id , path , breadcrumb ) VALUES  
  </code></pre>
  
  <p>..but it's unclear how it might be relevant to this case, especially when cache has been cleared almost instantly. Any clue, please?</p>
  
Tags: <dashboard><dashlet><migration>
Title: All dashlets display "Object Moved" after host name change
ThreadText: # All dashlets display "Object Moved" after host name change
  
  (Asked by: username_0 on 2015-12-03)
  
  We've changed server host name recently and all seems to be fine excluding dashlet reports disappearance: there is just "Object Moved, This document may be found here" like on this screen grab http://awesomescreenshot.com/0375gftva1 
  We've checked carefully all paths at: 
  
  civicrm.settings.php 
  Administer - System Settings - Directories
  Administer - System Settings - Resource URLs 
  Administer - System
  Settings - Cleanup Caches and Update Paths
  
  Also
  
  Cache has been instantly cleared, 
  Refresh Dashboard button used, 
  each report has been enabled / disabled / updated, 
  log files in ConfigAndLogs folder has been monitored, 
  page has been inspected using  XHR inspector in Firefox, 
  as well as server logs. 
  
  There are several suspicious messages in Drupal Watchdog though, like:
  * undefined index: columns in CRM_Contact_Page_AJAX::dashboard() 
  (line 610 of /civicrm/CRM/Contact/Page/AJAX.php).
  
  * $Fatal Error Details = Array ( [callback] => Array ( [0] =>
   CRM_Core_Error [1] => handle ) [code] => -5 [message] => 
  DB Error: already exists [mode] => 16 [debug_info] => INSERT INTO civicrm_menu 
  (domain_id , path , breadcrumb ) VALUES  
  
  ..but it's unclear how it might be relevant to this case, especially when cache has been cleared almost instantly. Any clue, please?
  
  **Tags:** dashboard, dashlet, migration
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-12-03. Score: 1 | Accepted answer
  
  In "own question - own answer" mode .. again. Well, it turned that server name resolves as **www.hostname.tld** while all paths we used were in just **hostname.tld** format.
  
  
  ---
  
  