2nd attempt to move to servoy4 and the eclipse env…
(already using v3.5)
how can I install with mysql5 strait away? (dont’ want asa as I have existing php devs on the same db)
with v3.5, I could do it: after the initial failure, I could indicate where was the repository in prefs, restart and done.
if I indicate the same path as v3.5 for install, will it upgrade correctly all prefs, db setup, and solutions?
If I install in a separate folder, how can I recuperate my former solutions and everything?
so far, I have the feeling to end up in the middle of nowhere, it does not even prompt for missing repository, it says the service is not running. make sense, I did not install the service as I prefer a manual startup on the dev machine.
Use the same settings as you have for your 3.5 install and make sure that the ‘servoy.didFirstTimeInit=false’ is really false.
When your db’s are empty Servoy will create new tables etc. for a fresh respository.
You then import all solutions that you want.
You can also connect to your existing db and Servoy will tell you that it found an old repository.
Your old repository will be upgraded for use with 4.0 but… You will not be able to use it with 3.5 anymore.
thanks for the quick reply, you don’t have to, especially on a sunday.
1 I don’t want to overwrite the 3.5 installation untill I am fluent with v4 (it works if I install ASA as my 3.5 is under mysql completely, repository included)
2 where is this ‘servoy.didFirstTimeInit=false’ param? am I supposed to know this? before installation, the disk is clean, the is a new install in a new folder.
3 when you don’t use ASA, you don’t get this far, as you have no chance to specify where is the repository.
4 I’d like to have a separate repository for v4 obviously
I have entered the app after a few insults, created a repository_server instance and restarted, but it creates nothing inside as the 3.5 used to do.
I still have the feeling than everything is done to work with ASA, at least for the repository…
I use Servoy 4 (and below) with PostgreSQL myself instead of the bundled Sybase. The following precedure should be the same for any other RDBMS.
You simply don’t install the database part via the installer so Sybase,it’s databases and settings are not installed.
Once you launch Servoy you need to create the database connections yourself. Make sure that you name the connection for the repository ‘repository_server’. The database itself can be named whatever.
As for creating a new repository for v4 just create a new empty database and point your connection to it.
The next time you open Servoy (and click on the Database Servers node) it will ask you to ‘upgrade’ your repository. Click yes and it will create all the tables for you.
After you created all your database connections and rebooted Servoy you can import your old solutions via the Servoy admin pages.
thanks, it did work though not exactly as you said. actually I had almost done what is needed except the last restart.
what i did (if anyone else reads/needs this):
copy the myssl driver in the drivers folder
restart
create a repository_server “disabled” otherwise it does not save it.
restart
it now sees it, set the repository enabled
restart
now I can sync it.
as for recuperating the solution, I found the method very weird, it cannot read the old format, that’s probably why?.. so loading it with the web admin, and reading it back from the repository seems to be the way. quite misleading, I was expecting an import feature…
but that’s the start of another debate. thanks, it’s installed now, that was the idea today. Using it is another matter, so far what I see does not please me at all.
I am back on servoy 4.1 after a few months busy on something else. But I may have to get back to servoy for the next job.
I just tried to install 4.1, on top of 4.0, on top of 3.5, or alone. Still very disappointed, I must watch 2 hours of video to find out how to migrate my working stuff done with 3.5… Despite the fact that I personnally find almost no interest in using eclipse, be it standard or not, I hate the fact that 3.5 continuity is not easy. No documentation is provided on the migration subject, or did I miss it? even when installing on top of an existing installation which works fine, it cannnot find my mysql driver to be able to locate my repository, etc… Once I found all the tricks to get a repository OK (without overwriting the 3.5 one), then I am looking for a way to get my solutions back; though I see them in the webadmin, nothing in the solution explorer…
I know that you’re all passionate people, and that’s probably ok for you, but does Servoy realize that 75% of developers will go away from such a product if it does not run within the 1st hour after un upgrade? And if you don’t want to use Sybase ASA, (still wondering why Servoy likes it so much, everywhere I go, there is a MSSQL or MySQL database + php or joomla app you have to start from), you go in circles. I can admit to spend time to learn the new features, but not to start from where I was with the previous 3.5 which was running perfect.
Any alternate opinion is welcome, I love Servoy technically, it has some superb features, like javascript control on layout eelments, nested layouts, etc… I did a super webclient app (but my customer went to bankrupcy…) with it last year, but its setup, installation, updates, migrations, is always a headache. At the moment, trying to do a better migration on my 2nd PC, I did a mess… After installation, I could not update online. Looking on the forum, I ended up editing feature.xml to fix it. It did fix the problem but eclipse has lost servoy solution explorer and everything… feeling tired… I understand doing a migration wizard is a lot of work, but 6 months after v4 start, I would have expected a better start. My current goal is to start v4.1 and keep my v3.5 fully operationnal as I don’t rely on v4 at all. I have created a second repository under mysql for v4 to avoid overwriting the 3.5 one. Shall I duplicate application databases also? How can i get the former solutions to show up in v4 without spending 2 days? Can I recuperate all plug’ins + related parameters?
the joke goes on…
deleted 4.1 installation, re-installed 4.0, with new repository, re-created other data providers, then re-imported 1 solution > ok.
fine then!
now re-installed 4.1, and all collapsed. downloaded the latest 4.1 upgrade, just in case, same.
this pb (!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.) is mentionned on the forum, but it says it would happen for fresh 4.1 installs, not for people upgrading from 4.0… obviously wrong.
I wanted to make up my mind for too-morrow, I am afraid it’s done.
also tried on my second PC (1st is xp, 2nd is vista), same player shoots again…
Wasting my time, I am back to the 1st problem encountered… so i’am gonna re-install 4.0 and wait for a proper 4.1 to be releazed, or give up…
and the last one for today, while testing my former solution was OK with 3.5.7, I see a new version available 3.5.8. updating… done.
then a new problem with form dialog instances management. no time to locate it exactly, but my backup machine in 3.5.7 is still OK. I update it also, and same problem… a bit fed up for today…