Re: [xwiki-devs] [xwiki-notifications] Problems with XWiki 3.1
Hi Federico, The root of the problem seems to be a corrupted database. Changing rights fails to commit the changes to the database. Trying to upgrade fails to execute some migrations, mandatory database changes needed for the new version. You should look at the logs that occur while starting the new version, it will say what migration failed to execute and why. On 08/06/2013 09:23 AM, Federico Moglia wrote:
Hi! I'm Federico and I'm working with XWiki Enterprise 3.1. I have some problems in the app, for example, when I tried to assign rights to any user. Attach screen of error and a txt file with the stack trace of exception.
For try to solve this, I've imported the xwiki database to the version 4.1.1. The restore in PostgreSQL didn't give any errors. But when I tried to access, the application shows me this exception in the browser: Exception while switching to database xwiki Wrapped Exception: Database xwiki needs migration(s), it could not be safely used! (Attach file with the full stack trace) I am using PostgreSQL 9.1. In the file xwiki.cfg, I have configured the migration with the next line: xwiki.store.migration=1. So, I don't understand why fails. Maybe my database is corrupted and this is the cause of the problem. But I don't know how I solve this.
When I tried to import the xwiki in .xar format, the log in catalina.out shows this: 2013-07-26 16:17:43,752 http://localhost:9001/xwiki/bin/get/XWiki/XWikiPreferences?xpage=packageinfo... WARN c.x.x.p.p.Package - Failed to parse document [Disney/GlosarioTecnico.xml] from XML during import, thus it will not be installed. The error was: Error number 2002 in 2: Error parsing xml Wrapped Exception: Truncated ZIP file Nested exception: Truncated ZIP file
The information that I've found in Internet was not very useful to resolve the problem, for this reason, I decided to write you. I hope that you can help me with this.
Thanks!
-- Sergiu Dumitriu http://purl.org/net/sergiu
participants (1)
-
Sergiu Dumitriu