Hi Federico,
Release 4.1.1 is not a really good choice for migrating. There are still a
couple of migration issues in that release. I advise you to migrate to
4.5.4 to be really safe with migration. If you continue to have migration
issue with that version, please provide the container logs to diagnose the
issue. Be careful to properly merge your xwiki.cfg file with the
distributed one, and to let migrations run on all databases.
Regards,
On Tue, Aug 6, 2013 at 3:23 PM, Federico Moglia <
federico.moglia(a)workingteams.com> 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=packageinf…
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!
_______________________________________________
notifications mailing list
notifications(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications
--
Denis Gervalle
SOFTEC sa - CEO
eGuilde sarl - CTO