I am moving from Servoy 2.2.7 to 3.1.8. (Yes, I know 3.5.5 is out too but I’ve had lots of issues with it!!!).
Are there any pitfalls with installing a fresh version without uninstalling the old one, especially concerning the Adaptive Server and Servoy Application services?
I would like the option to be to able to switch back to 2.2.7 if needed.
Thanks!
So none of the moderators, edward, Jan Aleman, maarten, bcusick, BDuncan, can answer the above question?
I can’t speak to Adaptive Server as we use MySQL, but leaving the old version in place is how we do each major upgrade.
We just choose a different install directory for each version (e.g. /usr/local/servoy31, /usr/local/servoy22 ) and make sure the previous version is shut down completely and set to not be automatically started when the machine reboots with our init.d scripts (we use linux also, so I don’t know how this part is done in windows). We then make a separate copy of the repository and run the new version off that db in case of any schema changes to the repo made by servoy in the new version.
And yes it works fine for rolling back to a previous version as we have to do a roll back before.
I would go for 3.5.5 instead of 3.1.8: Things that people reported as not being compatible between 2.2.7 and 3.1 have been fixed in 3.5.x, so going from 2.2.7 straight to 3.5.5 should be less work than going from 2.2.7 to 3.1.x
I suggest you do a clean install of 3.5.5, make copies of your DB’s and attach them to the 3.5.5 server and then test everything.
Going from 2.2.7 to 3.1 or 3.5 will upgrade your repository for sure, so make sure you are working on a separate repository (create an empty repo and import all your solutions is the best way to go)
Paul
I think what Providence is asking for is if you can install 2 different Servoy Server versions on a Windows machine. Yes you can install it in a different directory but what about the services.
Will it overwrite the old services or will 2 Servoy Server instances show up in the Services control panel.
Ditto with Sybase iAnywhere.
I have never done this so I can’t share my experiences with this. Anyone knows ?
On Windows you can have multiple Services running, no problem. I think they just need to have different names/identifiers.
Paul
Thanks so much!!! Appreciate your advice!
Paul:
I’ve been trying to go to 3.5.5 but I have tons of errors.
controller.find() that do not work! ShowFormInDialogs that don’t work anywhere.
Harjo said he was not seeing any of those issues, but I’ve done a clean install of 3.5.4, upgraded to 3.5.5 and imported the solution.
What else can a brother do?
I think I need to take a baby step because 3.1 seems to work for me okay.
I think I’m going to wait until 3.5.6 but I have to do something while I’m waiting - need more functionality.
Providence1:
Paul:
I’ve been trying to go to 3.5.5 but I have tons of errors.
controller.find() that do not work! ShowFormInDialogs that don’t work anywhere.
Honestly: don’t you think that a version where controller.find doesn’t work would raise a lot of noise in the forum? ![Wink :wink:]()
Could you post the not working method?
The controller.find() issue you experience is probably something that is mentioned in the release notes:
controller.find() returns a boolean, which indicates if it was possible to go into find mode.
You should always check what value it returned.
When does it return false? For example when you run in “autoSave = false” mode and there are unsaved changes.
So, when you want to go into findMode, you need to do the following:
if(!controller.find())
{
databaseManager.saveDate();
if (!controller.find()) {
application.output('Not able to go into findMode');
return;
}
}
As for the formIndialogs: I cannot recall any upgrade notes in that area, but I might have missed something.
Please provide some code so we can have a look at it.
Waiting for 3.5.6 is not likely going to fix any of your issues if there are any and you do not report them, since most people have upgraded to 3.5.5 and are not experiencing the issues you mention.
Paul[/code]
Thanks Paul and Ric and Robert…
I think it’s a java issue. I have several versions of java and I have citrix server running on the same machine. Once I clean those off and put the latest version of java on there, I’ll check back in!
Providence1:
So none of the moderators, edward, Jan Aleman, maarten, bcusick, BDuncan, can answer the above question?
Moderators moderate, that’s not the same as answering tech support questions.
Yes, I should have phrased it as, “Can one of the moderators answer the question above?”
Providence1:
Yes, I should have phrased it as, “Can one of the moderators answer the question above?”
Well the idea of the forum is that users help each other, post questions (but answer questions as well) and form a community, the moderators moderate when necessary. If what you are looking for is just tech-support Servoy and many Servoy partners have many options available to help.
On a brand new PC with a clean copy of 3.5.5 and my 2.2.7_01 solution installed I get the same errors… my form will not go into Find Mode!
I am using sybase 9 and not 10…
Have you read my post on the find/search technique about 6 post up in this thread?
Paul
Yes, and I used the exact same syntax and it does not work.
Something else is wrong and I’m wondering if it’s because of the version of Sybase I’m using.
Can you show the code you are using?
Paul
Started here:
controller.find();
Then here:
if (controller.find())
{
//apply search critiria
first_name = '#%' + globals.Search + '%'
controller.search()
}
Then here:
if(!controller.find())
{
databaseManager.saveData();
if (!controller.find()) {
application.output('Not able to go into findMode');
return;
}
}
The Find returns a false no matter how I execute it.
I can duplicate the form and I get the same results. No ability to enter Find mode.
I have to pull everything off the form, all fields, buttons, labels, tabpanels to get into Find mode. It works when there is nothing on it.
I can add brand new fields, labels, buttons and tabpanels from the menu bar with no prior formatting and it works.
I can then copy over fields, labels, buttons et al from the original form… and it works…
I can then pull off those new ‘virgin’ fields with no formatting and leave the fields I copied over from the original form… and it works…
Explain that one…
It sounds odd indeed.
Can you file a case in our support system with the solution attached + description how to reproduce it?
Paul