Jump to content


Photo

Upgrading Zurmo Version with an existing installation

upgrade install update

  • Please log in to reply
25 replies to this topic

#1 framirez

framirez

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 25 May 2012 - 03:02 PM

Which is the correct steps to upgrade from version 0.6.x to 0.6.6?

#2 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 26 May 2012 - 02:13 AM

Are you using bitbucket for source control for your development or just locally on your machine?

Jason Green
Zurmo Team
Need support? Upgrade now


#3 framirez

framirez

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 26 May 2012 - 03:03 AM

Just locally in a machine.

#4 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 26 May 2012 - 01:45 PM

Ok, assumming you don't have custom code I would do this:

A. Backup your config/perInstance.php and config/debug.php files
B. Backup your app folder and db (just in case)
B. Download the latest stable and replace the entire app folder with the new stable release.
C. Put the config files from step A in the correct spot. You will not be replacing files as these 2 files will not exist yet from the stable download.
D. Use the command line tool to run updateSchema by doing from the command folder: zurmoc updateSchema super. Assumming your super admin username is 'super' otherwise use the correct one. if you are on linux you might have to do php zurmoc from the command line instead of just php.
E. clear the contents from assets/ folder and also runtime/minScript/cache
F. When you login, you should execute the &clearCache=1 upon going to the login page in the URL.
G. Make sure to hold shift on the browser to refresh the JS/CSS. You might have to do this a few times.

I hope this helps.

Jason Green
Zurmo Team
Need support? Upgrade now


#5 jimf

jimf

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts

Posted 23 June 2012 - 03:28 AM

The Update Schema worked great. On the Mac OSX, I had to run: php zurmoc.php updateSchema super

#6 cobrawnl

cobrawnl

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationUtrecht Area, The Netherlands

Posted 12 July 2012 - 06:10 PM

I'm running version 0.6.2 and want to upgrade to 0.6.9.. I followed the directions above.. But my zurmo won't work!!

An error has occurred. Please click here to continue to the home page. If the error persists please contact your administrator.

include(a.php): failed to open stream: No such file or directory


I'ved ran the test.php script to check if my system settings are still correct. And they are!

I recovered the files and database with my backup to run 0.6.2 again.

Please help me out!

#7 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 12 July 2012 - 10:31 PM

I'm running version 0.6.2 and want to upgrade to 0.6.6.. I followed the directions above.. But my zurmo won't work!!



I'ved ran the test.php script to check if my system settings are still correct. And they are!

I recovered the files and database with my backup to run 0.6.2 again.

Please help me out!

What do you mean you ran the test.php script? you aren't supposed to run that through the browser. Is that message above after you ran test.php or just going to the login page?

Jason Green
Zurmo Team
Need support? Upgrade now


#8 cobrawnl

cobrawnl

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationUtrecht Area, The Netherlands

Posted 12 July 2012 - 11:05 PM

Sorry.. I've to explain myself better.
The login page is showing up.. but when i try to login (doenst matter what username) my address bar shows me:
http://www.mywebsite.com/app/index.php/users/default/confirmTimeZone
with the error page..

I tried the test.php script to check if it had something to do with file permissions. But that is not the problem..

Then i did a fresh clean install.. which work like a charm.. But it's not an option since i will lose my data.

After that i tried to reproduce the problem..
I copied the newest zurmo to my server.. unzipped in the right directory.
Copied the 2 setting files from the old zurmo to the updated one.
And so far so good, the login page came up, i tried to login.. going to the timezoneconfirmation (following the address bar) And now i'm getting another error!

include(u.php): failed to open stream: No such file or directory


i enabled the debug to produce a stack trace..: stacktrace
And here is my perInstance.php (censored offcourse;) )

I hope you can help me out

#9 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 13 July 2012 - 02:20 AM

Ok in the situation where you got here with an error:

http://www.mywebsite.com/app/index.php/users/default/confirmTimeZone
You should try to reload the URL with ?clearCache=1 added on. Please paste the url here so i can make sure ?clearCache=1 will work. If you have get params, you will need to use &clearCache=1 instead.

Also your second scenario, what is the stack trace where you get:
include(u.php): failed to open stream: No such file or directory

Jason Green
Zurmo Team
Need support? Upgrade now


#10 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 13 July 2012 - 02:21 AM

Another question - why aren't u updating to 0.6.9?

Jason Green
Zurmo Team
Need support? Upgrade now


#11 cobrawnl

cobrawnl

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationUtrecht Area, The Netherlands

Posted 13 July 2012 - 06:09 AM

Another question - why aren't u updating to 0.6.9?

Stupid Typo ;) i'm upgrading to 0.6.9 ;)

You should try to reload the URL with ?clearCache=1 added on. Please paste the url here so i can make sure ?clearCache=1 will work. If you have get params, you will need to use &clearCache=1 instead.


i tried the following urls..
mydomain.com/app/index.php?clearCache=1&/users/default/confirmTimeZone --> stacktrace2
mydomain.com/app/index.php?&clearCache=1&/users/default/confirmTimeZone --> stacktrace2
mydomain.com/app/index.php&clearCache=1&/users/default/confirmTimeZone --> 404 not found
mydomain.com/app/index.php/users/default/confirmTimeZone?clearCache=1 --> stacktrace2
mydomain.com/app/index.php/users/default/confirmTimeZone&clearCache=1 --> error page
mydomain.com/app/index.php/users/default/confirmTimeZone?&clearCache=1 --> stacktrace2

Yesterday.. i enabled the debug mode in "debug.php" and just refreshed the page to retrieve the stack trace..
So i was a little bit flabbergasted when you asked:

Also your second scenario, what is the stack trace where you get:
include(u.php): failed to open stream: No such file or directory


But when i now refresh the page, the stacktrace look different ..
Now the "include(u.php): failed to open stream: No such file or directory" error is in the stack trace2...

#12 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 15 July 2012 - 02:49 AM

Clear the auditevent table. I think this will fix your issue.

Jason Green
Zurmo Team
Need support? Upgrade now


#13 cobrawnl

cobrawnl

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationUtrecht Area, The Netherlands

Posted 17 July 2012 - 08:04 AM

Nice, i'm 1 step further..

The following error shows up above the normal layout..
What is this error ?

THIS IS NOT A VALID XHTML FILE


DOMDocument::validate(): Element ul content does not follow the DTD, expecting (li)+, got
DOMDocument::validate(): Element colgroup is not declared in form list of possible children
DOMDocument::validate(): Element th is not declared in div list of possible children
DOMDocument::validate(): Element td is not declared in div list of possible children
DOMDocument::validate(): Element th is not declared in div list of possible children
DOMDocument::validate(): Element td is not declared in div list of possible children
DOMDocument::validate(): Element th is not declared in div list of possible children
DOMDocument::validate(): Element td is not declared in div list of possible children
DOMDocument::validate(): Element th is not declared in div list of possible children
DOMDocument::validate(): Element td is not declared in div list of possible children


When i want to go the another page.. Click dashboard for example. I'm getting a new error:


include(MeetingsMyListView.php): failed to open stream: No such file or directory

Here the stack trace.

#14 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 18 July 2012 - 03:54 AM

Nice, i'm 1 step further..

The following error shows up above the normal layout..
What is this error ?



When i want to go the another page.. Click dashboard for example. I'm getting a new error:



Here the stack trace.

Turn debug to false. Also clear the portlets table. Then make sure to add ?clearCache=1 to your url. Assumming you have no other get params.

Jason Green
Zurmo Team
Need support? Upgrade now


#15 cobrawnl

cobrawnl

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationUtrecht Area, The Netherlands

Posted 18 July 2012 - 12:05 PM

Yeah! That works for so far! (for the left menu)

I'm still expierence problems
When i go to "my profile",
Stack trace

When i login as super user, and try to click an item in the settings menu (right top corner):
Admin - Does nothing
About - Does nothing
Logout - Does nothing
Designer - Stack trace
Your Profile - Does nothing
Import - Stack trace
Groups - Stack trace
Users - Stack trace
Roles - Stack trace

Why is upgrading so difficult with deleting tables etc?

#16 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 18 July 2012 - 03:24 PM

A. clear the ZurmoModule row in the global metadata table.
B. make sure to clear runtime/minscript/cache and the contents of the assets/ folder. Then clear your browser cache too and refresh.

The reason it is so hard is because we haven't completed the new upgrade process yet. Once that is completed it will be much easier.

Jason Green
Zurmo Team
Need support? Upgrade now


#17 cobrawnl

cobrawnl

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationUtrecht Area, The Netherlands

Posted 19 July 2012 - 12:23 AM

Nice, that works! Zurmo is now running fine!!!

Zurmo is a great CRM initiative with active support from the developers!
Credits to every zurmo developer with Jason in advance!

#18 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 19 July 2012 - 02:02 AM

Nice, that works! Zurmo is now running fine!!!

Zurmo is a great CRM initiative with active support from the developers!
Credits to every zurmo developer with Jason in advance!

Thanks for the kind words. Please keep us posted and try to help others in the forum if you have time :)

Jason Green
Zurmo Team
Need support? Upgrade now


#19 cobrawnl

cobrawnl

    Member

  • Members
  • PipPip
  • 15 posts
  • LocationUtrecht Area, The Netherlands

Posted 23 July 2012 - 10:34 PM

Since the update; the title of a note is too long.. (see example)
How can i fix this?

example:
Posted Image

#20 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 24 July 2012 - 02:24 PM

I made a story for this:
https://www.pivotalt...y/show/33280615

In the meantime, which module is this in?

Jason Green
Zurmo Team
Need support? Upgrade now






Also tagged with one or more of these keywords: upgrade, install, update

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users