copy the database file? (the only time you should copy a repository is to have a backup)
Always use export/import solution to a newly created repository.
That’s what we did. We made a new database (servoy_repository_dev), exported the solution from the original database (servoy_repository), and imported it into servoy_repository_dev. Now, for some reason, we are getting errors in the original database.
Anyway, whether or not we made a procedural gaffe (which is certainly possible), what can we do to fix this problem?
Not sure if we understand each other correctly, the Servoy application uses one database called “servoy_repository” to store information about solutions.
It is just impossible to get your solution in a repository named other wise
The user tables/data used by solutions can be put in any other named database.
As far as we know it is impossible to get an database error on a servoy_xxxx table, when no other (db)tools than the Servoy applications are used on the database called “servoy_repository”
If I understand correctly, the database can be named anything – it is the database connection that must be named servoy_repository.
We have two servoy environments – a production environment that uses a copy of Servoy Server that connects to the servoy_repository database, and a development environment with individual copies of Servoy Developer that connect to servoy_repository_dev (although this database connection is named “servoy_repository” as well).
Regarding it being impossible to get database errors… all I know is that we are getting database errors. Do you know what we can do to fix them? What can I do to make this error go away?
Regarding it being impossible to get database errors…
So far we never had a report of database errors on the database called repository_server. (when using servoy only apps on that db)
Did you maybe replace (stop/start) the repository database while servoy developer was running?
In short there is no solution for this problem other than exporting your solutions and reimport them in a new/empty database