Error when try to install page from XAR

Hello.
I try to imort page from one wiki to another.
But after import content, when try install - get error
image

Where can I see logs to clarify error reason

Hi,

This could be related to the versions of your wikis. This often happens when the XAR is considered corrupted as in documents having different metadata in the archive than expected in the wiki.

Hope it helps,
Alex

Both xwiki 15.1

Could you translate the error message or at least paste it as text so I can translate it?

image

It’ll be very good to know what exactly incorrect…

Version 15.1 installed locally - work OK
The same version on remote PC - error;

Does this page contain some metadata, some object of a class that is missing from the destination wiki? Could you share the xar?

can’t upload here
https://drive.google.com/file/d/18FbCBlIiNEw_Ev0QHqRxh4Cjhbit0AnQ/view?usp=sharing

There’s nothing wrong with your XAR. You can try a restart on you wiki you try to import and try again.

1 Like

done; the same error

Anything on the server console?

Could you tell how to go to server console?
I’m trying to find any logs;

How do you start your wiki? What distribution are you using?
Have you ever seen these information? These are the startup logs. And whey your import fail, you could see something there

2023-11-09 16:15:57,636 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Updating Solr home directory at [/home/alex/Downloads/xwiki-platform-distribution-flavor-jetty-hsqldb-15.1/data/store/solr] 
2023-11-09 16:15:57,639 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Starting embedded Solr server... 
2023-11-09 16:15:57,640 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Using Solr home directory: [/home/alex/Downloads/xwiki-platform-distribution-flavor-jetty-hsqldb-15.1/data/store/solr] 
2023-11-09 16:15:58,036 [main] WARN  o.e.j.u.s.S.config             - Trusting all certificates configured for Client@1a48e48e[provider=null,keyStore=null,trustStore=null] 
2023-11-09 16:15:58,036 [main] WARN  o.e.j.u.s.S.config             - No Client EndPointIdentificationAlgorithm configured for Client@1a48e48e[provider=null,keyStore=null,trustStore=null] 
2023-11-09 16:15:58,117 [main] WARN  o.e.j.u.s.S.config             - Trusting all certificates configured for Client@1b94df68[provider=null,keyStore=null,trustStore=null] 
2023-11-09 16:15:58,118 [main] WARN  o.e.j.u.s.S.config             - No Client EndPointIdentificationAlgorithm configured for Client@1b94df68[provider=null,keyStore=null,trustStore=null] 
2023-11-09 16:15:58,151 [main] WARN  o.a.s.c.CoreContainer          - Not all security plugins configured!  authentication=disabled authorization=disabled.  Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external.  See https://s.apache.org/solrsecurity for more info 
2023-11-09 16:15:59,300 [main] INFO  o.x.s.s.i.EmbeddedSolr         - Started embedded Solr server. 
2023-11-09 16:16:03,839 [main] INFO  o.x.s.f.i.FilesystemStoreTools - Using filesystem store directory [/home/alex/Downloads/xwiki-platform-distribution-flavor-jetty-hsqldb-15.1/data/store/file] 
2023-11-09 16:16:03.942:INFO :oxtjl.NotifyListener:main: ----------------------------------
2023-11-09 16:16:03.942:INFO :oxtjl.NotifyListener:main: Server started, you can now open http://alex:8080/ in your browser to access your wiki.
2023-11-09 16:16:03.942:INFO :oxtjl.NotifyListener:main: ----------------------------------
2023-11-09 16:17:37,118 [XWiki initialization] INFO  .HibernateDataMigrationManager - Storage schema updates and data migrations are enabled 
2023-11-09 16:17:37,261 [XWiki initialization] INFO  .HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] currently in version [150000000] 
2023-11-09 16:17:37,261 [XWiki initialization] INFO  .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki] 
2023-11-09 16:17:45,365 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@57a81fa7([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - Starting job of type [solr.indexer] with identifier [[solr, indexer]] 
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.SerializationMembers (file:/home/alex/Downloads/xwiki-platform-distribution-flavor-jetty-hsqldb-15.1/webapps/xwiki/WEB-INF/lib/xstream-1.4.17.jar) to method java.util.concurrent.CopyOnWriteArrayList.readObject(java.io.ObjectInputStream)
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.SerializationMembers
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-11-09 16:17:46,003 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@57a81fa7([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - 1327 documents added, 6 deleted and 0 updated during the synchronization of the Solr index. 
2023-11-09 16:17:46,003 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@57a81fa7([solr, indexer])] INFO  o.x.s.s.i.j.IndexerJob         - Finished job of type [solr.indexer] with identifier [[solr, indexer]] 

:slight_smile:
I start xwiki as service
image

Search for the catalina log file

Catalina log is empty.
I checked it before;