we’re using razuna 1.6.5 (the war, not the stand alone server), the configured database is mysql.
i deleted one of my tenants and it dosn’t work as expected. in fact, it seems that it went terribly wrong. what happened:
the little popup “deleting is unrecoverable” appeared, i clicked ok -> my browser window became completly white. trying to open a razuna page ended in a http 404 or a white page.
checking my server i found the folders admin, bluedragon, global and WEB-INF empty (the “global” ones, not only the tenant’s linked ones).
the tenant was deleted in the database, it’s razXX directory was still there.
re-deploying the war file does simply nothing, catalina.out logged
INFO: Deployment of web application archive /var/lib/tomcat7/webapps/razuna2.war has finished in 73 ms
but nothing of the missing files was deployed. the war file is ok, deplying it on another server works without problems.
is there a way to restore the tenants and their assets?
edit: forgot to mention: if i try to access one of the former tenants this error is thrown:
I’m confused as you opted to delete a tenant and and now you are asking if
the tenant can be restored, or? If so, no, the window states that “deleting
is unrecoverable”.
The database is correct as tenants are separated by host_id and not tables.
this is a misunderstanding. probably my post was a little unclear.
i do not want to restore this tenant, but the 20 others which are gone now. deleting this one tenant deleted obviously parts of razuna (see my previous post, several folders are completely empty now). this installation of razuna doesn’t work any longer, all i get is a white page or a 404 error (which is logical, because e.g. the “admin” folder is empty). i’ve copied the still exisiting part of this installation to a new one, but i didn’t find a way to restore the tenants and their assets. they are still in the database and all assets are in place. so my question is: is there a way to link a new installation to the old database?
All assets are still in the /assets folder, yes? So, only the “raz(x)”
folders are gone? If so, you can create a new tenants, thus creating
another “rap(x)” folder and then edit the fusebox.xml file inside to change
the host_id.
You can link any razuna installation to your database. Simply choose to do
so in the setup wizard under advanced setup.