You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by "Odent Philippe (eExplore)" <po...@eexplore.fr> on 2015/07/12 08:20:54 UTC

Backup feature generates "Internal Error" in OM 3.0.5

Dear all,

With OM 3.0.5 , clicking on "System Backup" in Administration Panel 
generates a blank page with "Internal Error"

When i try the same feature as root with command line "./admin.sh -b 
-file backup_today.zip", i get the following message
...
2770  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA 
2.3.0
[ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed null

In /openmeetings/upload/backup/backup_folder, on following files are 
created
organizations.xml containing the right informations
users.xml with a 0 byte size
..and nothing else

Any idea of what could be the problem ?

All my best,
Philippe



Philippe Odent / General Manager
06.66.23.23.84/ podent@eexplore.fr

eExplore Formation Office: 0366.732.794
145 Boulevard de Valmy 59650 Villeneuve d'Ascq
http://eexplore.fr



Ce message peut contenir des informations confidentielles ou 
privilégiées et est destiné uniquement à l'usage du destinataire prévu. 
Toute publication, diffusion, distribution ou copie se fondant sur les 
informations présentes est interdite. Nos courriels ne sont pas 
sécurisés et ne peuvent pas être exempts d’erreurs, car ils peuvent être 
interceptés, modifiés ou contenir des virus ajoutés à notre insu. Toute 
personne qui communique avec nous par e-mail est réputée avoir accepté 
ces risques. Notre entreprise n'est pas responsable des erreurs ou 
omissions dans ce message et décline toute responsabilité pour tout 
dommage découlant de l'utilisation de ce message. Les opinions ou 
déclarations contenues dans ce message et les pièces attachées sont 
celles de l'auteur et ne représentent pas nécessairement celles de 
l'entreprise.


Re: Re[6]: Backup feature generates "Internal Error" in OM 3.0.5

Posted by Maxim Solodovnik <so...@gmail.com>.
owner_id should be empty for the real users
it is being set only for contacts

2015-07-13 11:57 GMT+06:00 Odent Philippe (eExplore) <po...@eexplore.fr>:

>  I don't know if it's normal but some users are orphans without any
> owner_id in users_om table...
>
> Thanks,
>
> [image: eExplore Formation] <http://eexplore.fr/>
>
> Philippe Odent / General Manager
> 06.66.23.23.84/ podent@eexplore.fr
>
> eExplore Formation Office: 0366.732.794
> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
> http://eexplore.fr
>
> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
> <https://twitter.com/e_explore> [image: Google Plus]
> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
> <https://www.linkedin.com/company/eexplore> [image: Skype]
> <ht...@outlook.fr>
>
> Ce message peut contenir des informations confidentielles ou privilégiées
> et est destiné uniquement à l'usage du destinataire prévu. Toute
> publication, diffusion, distribution ou copie se fondant sur les
> informations présentes est interdite. Nos courriels ne sont pas sécurisés
> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
> communique avec nous par e-mail est réputée avoir accepté ces risques.
> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
> message et décline toute responsabilité pour tout dommage découlant de
> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
> message et les pièces attachées sont celles de l'auteur et ne représentent
> pas nécessairement celles de l'entreprise.
>
>
>
> ------ Message d'origine ------
> De : "Maxim Solodovnik" <so...@gmail.com>
> À : "Odent Philippe (eExplore)" <po...@eexplore.fr>
> Cc: "Openmeetings user-list" <us...@openmeetings.apache.org>
> Envoyé 13/07/2015 07:46:57
> Objet : Re: Re[4]: Backup feature generates "Internal Error" in OM 3.0.5
>
>
> great!
> thanks for the report
>
> On Mon, Jul 13, 2015 at 11:46 AM, Odent Philippe (eExplore) <
> podent@eexplore.fr> wrote:
>
>>  Hi Max,
>> Thanks for the tip. Problem solved now.
>> I'll have to update in 3.0.7 because we have to add new users on a weekly
>> basis.
>> All my best,
>> Phil
>>
>>
>>
>> [image: eExplore Formation] <http://eexplore.fr/>
>>
>> Philippe Odent / General Manager
>> 06.66.23.23.84/ podent@eexplore.fr
>>
>> eExplore Formation Office: 0366.732.794
>> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
>> http://eexplore.fr/
>>
>> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
>> <https://twitter.com/e_explore> [image: Google Plus]
>> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
>> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
>> <https://www.linkedin.com/company/eexplore> [image: Skype]
>> <ht...@outlook.fr>
>>
>> Ce message peut contenir des informations confidentielles ou privilégiées
>> et est destiné uniquement à l'usage du destinataire prévu. Toute
>> publication, diffusion, distribution ou copie se fondant sur les
>> informations présentes est interdite. Nos courriels ne sont pas sécurisés
>> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
>> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
>> communique avec nous par e-mail est réputée avoir accepté ces risques.
>> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
>> message et décline toute responsabilité pour tout dommage découlant de
>> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
>> message et les pièces attachées sont celles de l'auteur et ne représentent
>> pas nécessairement celles de l'entreprise.
>>
>>
>>
>> ------ Message d'origine ------
>> De : "Maxim Solodovnik" <so...@gmail.com>
>> À : "Odent Philippe (eExplore)" <po...@eexplore.fr>
>> Cc: "Openmeetings user-list" <us...@openmeetings.apache.org>
>> Envoyé 13/07/2015 07:30:32
>> Objet : Re: Re[2]: Backup feature generates "Internal Error" in OM 3.0.5
>>
>>
>> I just have fixed this in 3.0.7 (not sure how to reproduce this locally,
>> but possible error should be fixed now)
>>
>> in your case I can recommend you to update DB manually and set regdate
>> for every user to current date
>>
>> On Mon, Jul 13, 2015 at 11:22 AM, Maxim Solodovnik <so...@gmail.com>
>> wrote:
>>
>>> somehow you have users in DB with empty registration date ......
>>> I was sure it is impossible :((
>>> what database are you using?
>>> Maybe you can remember how this user was created?
>>>
>>> On Mon, Jul 13, 2015 at 11:19 AM, Odent Philippe (eExplore) <
>>> podent@eexplore.fr> wrote:
>>>
>>>>  Hi Max,
>>>> Here we go...
>>>>
>>>> SLF4J: Class path contains multiple SLF4J bindings.
>>>> SLF4J: Found binding in [jar:file:/var/www/vhosts/
>>>> vps182246.ovh.net/httpdocs/openmeetings/red5-server.jar!/org/slf4j/impl/StaticLoggerBinder.class
>>>> ]
>>>> SLF4J: Found binding in [jar:file:/var/www/vhosts/
>>>> vps182246.ovh.net/httpdocs/openmeetings/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class
>>>> ]
>>>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
>>>> explanation.
>>>> SLF4J: Actual binding is of type
>>>> [org.red5.logging.LoggingContextSelector]
>>>> Context init...
>>>> Logger name for context: openmeetings
>>>> DEBUG 07-13 07:17:42.611 ContextLoggingListener.java 213 72 ROOT [main]
>>>> - Starting up context openmeetings
>>>> [INFO] [main]
>>>> org.springframework.context.support.ClassPathXmlApplicationContext -
>>>> Refreshing
>>>> org.springframework.context.support.ClassPathXmlApplicationContext@55a561cf:
>>>> startup date [Mon Jul 13 07:17:42 CEST 2015]; root of context hierarchy
>>>> [INFO] [main]
>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
>>>> bean definitions from class path resource
>>>> [openmeetings-applicationContext.xml]
>>>> [INFO] [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean
>>>> - Building JPA EntityManagerFactory for persistence unit 'openmeetings'
>>>> 587  openmeetings  INFO   [main] openjpa.Runtime - OpenJPA dynamically
>>>> loaded the class enhancer. Any classes that were not enhanced at build time
>>>> will be enhanced when they are loaded by the JVM.
>>>> [INFO] [main]
>>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>>> - Mapped
>>>> "{[/networktest.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>>> onto public void
>>>> org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.servicePost(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>>>> throws javax.servlet.ServletException,java.io.IOException
>>>> [INFO] [main]
>>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>>> - Mapped
>>>> "{[/networktest.upload],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>>> onto public void
>>>> org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.serviceGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>>>> throws javax.servlet.ServletException,java.io.IOException
>>>> [INFO] [main]
>>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>>> - Mapped
>>>> "{[/screen.upload],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>>> onto public void
>>>> org.apache.openmeetings.servlet.outputhandler.ScreenController.handleRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>>>> [INFO] [main]
>>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>>> - Mapped
>>>> "{[/file.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>>> onto public void
>>>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleFileUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>>>> throws javax.servlet.ServletException
>>>> [INFO] [main]
>>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>>> - Mapped
>>>> "{[/remotelog.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>>> onto public void
>>>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleRemoteLog(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>>>> throws javax.servlet.ServletException
>>>> [INFO] [main]
>>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>>> - Mapped
>>>> "{[/upload.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>>> onto public void
>>>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleFormUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>>>> throws javax.servlet.ServletException
>>>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Using default
>>>> implementation for ThreadExecutor
>>>> [INFO] [main] org.quartz.core.SchedulerSignalerImpl - Initialized
>>>> Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
>>>> [INFO] [main] org.quartz.core.QuartzScheduler - Quartz Scheduler
>>>> v.2.1.7 created.
>>>> [INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
>>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data:
>>>> Quartz Scheduler (v2.1.7)
>>>> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with
>>>> instanceId 'NON_CLUSTERED'
>>>>   Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
>>>>   NOT STARTED.
>>>>   Currently in standby mode.
>>>>   Number of jobs executed: 0
>>>>   Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10
>>>> threads.
>>>>   Using job-store 'org.quartz.simpl.RAMJobStore' - which does not
>>>> support persistence. and is not clustered.
>>>>
>>>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
>>>> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized
>>>> from an externally provided properties instance.
>>>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
>>>> version: 2.1.7
>>>> [INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to:
>>>> org.springframework.scheduling.quartz.AdaptableJobFactory@1716e8c5
>>>> [INFO] [main]
>>>> org.springframework.context.support.DefaultLifecycleProcessor - Starting
>>>> beans in phase 2147483647
>>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>>>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>>>> started.
>>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>>>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>>>> shutting down.
>>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>>>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>>>> paused.
>>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>>>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>>>> shutdown complete.
>>>> 3677  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA
>>>> 2.3.0
>>>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed
>>>> java.lang.NullPointerException: null
>>>>         at
>>>> org.apache.openmeetings.backup.BackupExport.exportUsers(BackupExport.java:466)
>>>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>>         at
>>>> org.apache.openmeetings.backup.BackupExport.exportUsers(BackupExport.java:455)
>>>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>>         at
>>>> org.apache.openmeetings.backup.BackupExport.performExport(BackupExport.java:158)
>>>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>>         at org.apache.openmeetings.cli.Admin.process(Admin.java:295)
>>>> [openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>>         at org.apache.openmeetings.cli.Admin.main(Admin.java:620)
>>>> [openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>>
>>>>
>>>>
>>>> Hope it helps
>>>>
>>>>
>>>> [image: eExplore Formation] <http://eexplore.fr/>
>>>>
>>>> Philippe Odent / General Manager
>>>> 06.66.23.23.84/ podent@eexplore.fr
>>>>
>>>> eExplore Formation Office: 0366.732.794
>>>> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
>>>> http://eexplore.fr/
>>>>
>>>> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
>>>> <https://twitter.com/e_explore> [image: Google Plus]
>>>> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
>>>> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
>>>> <https://www.linkedin.com/company/eexplore> [image: Skype]
>>>> <ht...@outlook.fr>
>>>>
>>>> Ce message peut contenir des informations confidentielles ou
>>>> privilégiées et est destiné uniquement à l'usage du destinataire prévu.
>>>> Toute publication, diffusion, distribution ou copie se fondant sur les
>>>> informations présentes est interdite. Nos courriels ne sont pas sécurisés
>>>> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
>>>> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
>>>> communique avec nous par e-mail est réputée avoir accepté ces risques.
>>>> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
>>>> message et décline toute responsabilité pour tout dommage découlant de
>>>> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
>>>> message et les pièces attachées sont celles de l'auteur et ne représentent
>>>> pas nécessairement celles de l'entreprise.
>>>>
>>>>
>>>>
>>>> ------ Message d'origine ------
>>>> De : "Maxim Solodovnik" <so...@gmail.com>
>>>> À : "Openmeetings user-list" <us...@openmeetings.apache.org>; "Odent
>>>> Philippe (eExplore)" <po...@eexplore.fr>
>>>> Envoyé 13/07/2015 06:22:11
>>>> Objet : Re: Backup feature generates "Internal Error" in OM 3.0.5
>>>>
>>>>
>>>> can you please try to run "./admin.sh *-v *-b -file backup_today.zip"
>>>> to get detailed output?
>>>>
>>>> 2015-07-12 12:20 GMT+06:00 Odent Philippe (eExplore) <
>>>> podent@eexplore.fr>:
>>>>
>>>>>  Dear all,
>>>>>
>>>>> With OM 3.0.5 , clicking on "System Backup" in Administration Panel
>>>>> generates a blank page with "Internal Error"
>>>>>
>>>>> When i try the same feature as root with command line "./admin.sh -b
>>>>> -file backup_today.zip", i get the following message
>>>>> ...
>>>>> 2770  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA
>>>>> 2.3.0
>>>>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed null
>>>>>
>>>>> In /openmeetings/upload/backup/backup_folder, on following files are
>>>>> created
>>>>> organizations.xml containing the right informations
>>>>> users.xml with a 0 byte size
>>>>> ..and nothing else
>>>>>
>>>>> Any idea of what could be the problem ?
>>>>>
>>>>> All my best,
>>>>> Philippe
>>>>>
>>>>>
>>>>>
>>>>> [image: eExplore Formation] <http://eexplore.fr/>
>>>>>
>>>>> Philippe Odent / General Manager
>>>>> 06.66.23.23.84/ podent@eexplore.fr
>>>>>
>>>>> eExplore Formation Office: 0366.732.794
>>>>> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
>>>>> http://eexplore.fr/
>>>>>
>>>>> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
>>>>> <https://twitter.com/e_explore> [image: Google Plus]
>>>>> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
>>>>> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
>>>>> <https://www.linkedin.com/company/eexplore> [image: Skype]
>>>>> <ht...@outlook.fr>
>>>>>
>>>>> Ce message peut contenir des informations confidentielles ou
>>>>> privilégiées et est destiné uniquement à l'usage du destinataire prévu.
>>>>> Toute publication, diffusion, distribution ou copie se fondant sur les
>>>>> informations présentes est interdite. Nos courriels ne sont pas sécurisés
>>>>> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
>>>>> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
>>>>> communique avec nous par e-mail est réputée avoir accepté ces risques.
>>>>> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
>>>>> message et décline toute responsabilité pour tout dommage découlant de
>>>>> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
>>>>> message et les pièces attachées sont celles de l'auteur et ne représentent
>>>>> pas nécessairement celles de l'entreprise.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>


-- 
WBR
Maxim aka solomax

Re: Re[4]: Backup feature generates "Internal Error" in OM 3.0.5

Posted by Maxim Solodovnik <so...@gmail.com>.
great!
thanks for the report

On Mon, Jul 13, 2015 at 11:46 AM, Odent Philippe (eExplore) <
podent@eexplore.fr> wrote:

>  Hi Max,
> Thanks for the tip. Problem solved now.
> I'll have to update in 3.0.7 because we have to add new users on a weekly
> basis.
> All my best,
> Phil
>
>
>
> [image: eExplore Formation] <http://eexplore.fr/>
>
> Philippe Odent / General Manager
> 06.66.23.23.84/ podent@eexplore.fr
>
> eExplore Formation Office: 0366.732.794
> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
> http://eexplore.fr
>
> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
> <https://twitter.com/e_explore> [image: Google Plus]
> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
> <https://www.linkedin.com/company/eexplore> [image: Skype]
> <ht...@outlook.fr>
>
> Ce message peut contenir des informations confidentielles ou privilégiées
> et est destiné uniquement à l'usage du destinataire prévu. Toute
> publication, diffusion, distribution ou copie se fondant sur les
> informations présentes est interdite. Nos courriels ne sont pas sécurisés
> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
> communique avec nous par e-mail est réputée avoir accepté ces risques.
> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
> message et décline toute responsabilité pour tout dommage découlant de
> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
> message et les pièces attachées sont celles de l'auteur et ne représentent
> pas nécessairement celles de l'entreprise.
>
>
>
> ------ Message d'origine ------
> De : "Maxim Solodovnik" <so...@gmail.com>
> À : "Odent Philippe (eExplore)" <po...@eexplore.fr>
> Cc: "Openmeetings user-list" <us...@openmeetings.apache.org>
> Envoyé 13/07/2015 07:30:32
> Objet : Re: Re[2]: Backup feature generates "Internal Error" in OM 3.0.5
>
>
> I just have fixed this in 3.0.7 (not sure how to reproduce this locally,
> but possible error should be fixed now)
>
> in your case I can recommend you to update DB manually and set regdate for
> every user to current date
>
> On Mon, Jul 13, 2015 at 11:22 AM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
>> somehow you have users in DB with empty registration date ......
>> I was sure it is impossible :((
>> what database are you using?
>> Maybe you can remember how this user was created?
>>
>> On Mon, Jul 13, 2015 at 11:19 AM, Odent Philippe (eExplore) <
>> podent@eexplore.fr> wrote:
>>
>>>  Hi Max,
>>> Here we go...
>>>
>>> SLF4J: Class path contains multiple SLF4J bindings.
>>> SLF4J: Found binding in [jar:file:/var/www/vhosts/
>>> vps182246.ovh.net/httpdocs/openmeetings/red5-server.jar!/org/slf4j/impl/StaticLoggerBinder.class
>>> ]
>>> SLF4J: Found binding in [jar:file:/var/www/vhosts/
>>> vps182246.ovh.net/httpdocs/openmeetings/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class
>>> ]
>>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
>>> explanation.
>>> SLF4J: Actual binding is of type
>>> [org.red5.logging.LoggingContextSelector]
>>> Context init...
>>> Logger name for context: openmeetings
>>> DEBUG 07-13 07:17:42.611 ContextLoggingListener.java 213 72 ROOT [main]
>>> - Starting up context openmeetings
>>> [INFO] [main]
>>> org.springframework.context.support.ClassPathXmlApplicationContext -
>>> Refreshing
>>> org.springframework.context.support.ClassPathXmlApplicationContext@55a561cf:
>>> startup date [Mon Jul 13 07:17:42 CEST 2015]; root of context hierarchy
>>> [INFO] [main]
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
>>> bean definitions from class path resource
>>> [openmeetings-applicationContext.xml]
>>> [INFO] [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean
>>> - Building JPA EntityManagerFactory for persistence unit 'openmeetings'
>>> 587  openmeetings  INFO   [main] openjpa.Runtime - OpenJPA dynamically
>>> loaded the class enhancer. Any classes that were not enhanced at build time
>>> will be enhanced when they are loaded by the JVM.
>>> [INFO] [main]
>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>> - Mapped
>>> "{[/networktest.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>> onto public void
>>> org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.servicePost(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>>> throws javax.servlet.ServletException,java.io.IOException
>>> [INFO] [main]
>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>> - Mapped
>>> "{[/networktest.upload],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>> onto public void
>>> org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.serviceGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>>> throws javax.servlet.ServletException,java.io.IOException
>>> [INFO] [main]
>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>> - Mapped
>>> "{[/screen.upload],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>> onto public void
>>> org.apache.openmeetings.servlet.outputhandler.ScreenController.handleRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>>> [INFO] [main]
>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>> - Mapped
>>> "{[/file.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>> onto public void
>>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleFileUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>>> throws javax.servlet.ServletException
>>> [INFO] [main]
>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>> - Mapped
>>> "{[/remotelog.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>> onto public void
>>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleRemoteLog(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>>> throws javax.servlet.ServletException
>>> [INFO] [main]
>>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>>> - Mapped
>>> "{[/upload.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>>> onto public void
>>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleFormUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>>> throws javax.servlet.ServletException
>>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Using default
>>> implementation for ThreadExecutor
>>> [INFO] [main] org.quartz.core.SchedulerSignalerImpl - Initialized
>>> Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
>>> [INFO] [main] org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.1.7
>>> created.
>>> [INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data:
>>> Quartz Scheduler (v2.1.7)
>>> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with
>>> instanceId 'NON_CLUSTERED'
>>>   Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
>>>   NOT STARTED.
>>>   Currently in standby mode.
>>>   Number of jobs executed: 0
>>>   Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10
>>> threads.
>>>   Using job-store 'org.quartz.simpl.RAMJobStore' - which does not
>>> support persistence. and is not clustered.
>>>
>>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
>>> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized
>>> from an externally provided properties instance.
>>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
>>> version: 2.1.7
>>> [INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to:
>>> org.springframework.scheduling.quartz.AdaptableJobFactory@1716e8c5
>>> [INFO] [main]
>>> org.springframework.context.support.DefaultLifecycleProcessor - Starting
>>> beans in phase 2147483647
>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>>> started.
>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>>> shutting down.
>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>>> paused.
>>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>>> shutdown complete.
>>> 3677  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA
>>> 2.3.0
>>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed
>>> java.lang.NullPointerException: null
>>>         at
>>> org.apache.openmeetings.backup.BackupExport.exportUsers(BackupExport.java:466)
>>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>         at
>>> org.apache.openmeetings.backup.BackupExport.exportUsers(BackupExport.java:455)
>>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>         at
>>> org.apache.openmeetings.backup.BackupExport.performExport(BackupExport.java:158)
>>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>         at org.apache.openmeetings.cli.Admin.process(Admin.java:295)
>>> [openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>         at org.apache.openmeetings.cli.Admin.main(Admin.java:620)
>>> [openmeetings-cli-3.0.5-RELEASE.jar:na]
>>>
>>>
>>>
>>> Hope it helps
>>>
>>>
>>> [image: eExplore Formation] <http://eexplore.fr/>
>>>
>>> Philippe Odent / General Manager
>>> 06.66.23.23.84/ podent@eexplore.fr
>>>
>>> eExplore Formation Office: 0366.732.794
>>> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
>>> http://eexplore.fr/
>>>
>>> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
>>> <https://twitter.com/e_explore> [image: Google Plus]
>>> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
>>> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
>>> <https://www.linkedin.com/company/eexplore> [image: Skype]
>>> <ht...@outlook.fr>
>>>
>>> Ce message peut contenir des informations confidentielles ou
>>> privilégiées et est destiné uniquement à l'usage du destinataire prévu.
>>> Toute publication, diffusion, distribution ou copie se fondant sur les
>>> informations présentes est interdite. Nos courriels ne sont pas sécurisés
>>> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
>>> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
>>> communique avec nous par e-mail est réputée avoir accepté ces risques.
>>> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
>>> message et décline toute responsabilité pour tout dommage découlant de
>>> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
>>> message et les pièces attachées sont celles de l'auteur et ne représentent
>>> pas nécessairement celles de l'entreprise.
>>>
>>>
>>>
>>> ------ Message d'origine ------
>>> De : "Maxim Solodovnik" <so...@gmail.com>
>>> À : "Openmeetings user-list" <us...@openmeetings.apache.org>; "Odent
>>> Philippe (eExplore)" <po...@eexplore.fr>
>>> Envoyé 13/07/2015 06:22:11
>>> Objet : Re: Backup feature generates "Internal Error" in OM 3.0.5
>>>
>>>
>>> can you please try to run "./admin.sh *-v *-b -file backup_today.zip"
>>> to get detailed output?
>>>
>>> 2015-07-12 12:20 GMT+06:00 Odent Philippe (eExplore) <podent@eexplore.fr
>>> >:
>>>
>>>>  Dear all,
>>>>
>>>> With OM 3.0.5 , clicking on "System Backup" in Administration Panel
>>>> generates a blank page with "Internal Error"
>>>>
>>>> When i try the same feature as root with command line "./admin.sh -b
>>>> -file backup_today.zip", i get the following message
>>>> ...
>>>> 2770  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA
>>>> 2.3.0
>>>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed null
>>>>
>>>> In /openmeetings/upload/backup/backup_folder, on following files are
>>>> created
>>>> organizations.xml containing the right informations
>>>> users.xml with a 0 byte size
>>>> ..and nothing else
>>>>
>>>> Any idea of what could be the problem ?
>>>>
>>>> All my best,
>>>> Philippe
>>>>
>>>>
>>>>
>>>> [image: eExplore Formation] <http://eexplore.fr/>
>>>>
>>>> Philippe Odent / General Manager
>>>> 06.66.23.23.84/ podent@eexplore.fr
>>>>
>>>> eExplore Formation Office: 0366.732.794
>>>> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
>>>> http://eexplore.fr/
>>>>
>>>> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
>>>> <https://twitter.com/e_explore> [image: Google Plus]
>>>> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
>>>> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
>>>> <https://www.linkedin.com/company/eexplore> [image: Skype]
>>>> <ht...@outlook.fr>
>>>>
>>>> Ce message peut contenir des informations confidentielles ou
>>>> privilégiées et est destiné uniquement à l'usage du destinataire prévu.
>>>> Toute publication, diffusion, distribution ou copie se fondant sur les
>>>> informations présentes est interdite. Nos courriels ne sont pas sécurisés
>>>> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
>>>> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
>>>> communique avec nous par e-mail est réputée avoir accepté ces risques.
>>>> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
>>>> message et décline toute responsabilité pour tout dommage découlant de
>>>> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
>>>> message et les pièces attachées sont celles de l'auteur et ne représentent
>>>> pas nécessairement celles de l'entreprise.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>


-- 
WBR
Maxim aka solomax

Re: Re[2]: Backup feature generates "Internal Error" in OM 3.0.5

Posted by Maxim Solodovnik <so...@gmail.com>.
I just have fixed this in 3.0.7 (not sure how to reproduce this locally,
but possible error should be fixed now)

in your case I can recommend you to update DB manually and set regdate for
every user to current date

On Mon, Jul 13, 2015 at 11:22 AM, Maxim Solodovnik <so...@gmail.com>
wrote:

> somehow you have users in DB with empty registration date ......
> I was sure it is impossible :((
> what database are you using?
> Maybe you can remember how this user was created?
>
> On Mon, Jul 13, 2015 at 11:19 AM, Odent Philippe (eExplore) <
> podent@eexplore.fr> wrote:
>
>>  Hi Max,
>> Here we go...
>>
>> SLF4J: Class path contains multiple SLF4J bindings.
>> SLF4J: Found binding in [jar:file:/var/www/vhosts/
>> vps182246.ovh.net/httpdocs/openmeetings/red5-server.jar!/org/slf4j/impl/StaticLoggerBinder.class
>> ]
>> SLF4J: Found binding in [jar:file:/var/www/vhosts/
>> vps182246.ovh.net/httpdocs/openmeetings/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class
>> ]
>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
>> explanation.
>> SLF4J: Actual binding is of type [org.red5.logging.LoggingContextSelector]
>> Context init...
>> Logger name for context: openmeetings
>> DEBUG 07-13 07:17:42.611 ContextLoggingListener.java 213 72 ROOT [main] -
>> Starting up context openmeetings
>> [INFO] [main]
>> org.springframework.context.support.ClassPathXmlApplicationContext -
>> Refreshing
>> org.springframework.context.support.ClassPathXmlApplicationContext@55a561cf:
>> startup date [Mon Jul 13 07:17:42 CEST 2015]; root of context hierarchy
>> [INFO] [main]
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
>> bean definitions from class path resource
>> [openmeetings-applicationContext.xml]
>> [INFO] [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean -
>> Building JPA EntityManagerFactory for persistence unit 'openmeetings'
>> 587  openmeetings  INFO   [main] openjpa.Runtime - OpenJPA dynamically
>> loaded the class enhancer. Any classes that were not enhanced at build time
>> will be enhanced when they are loaded by the JVM.
>> [INFO] [main]
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> - Mapped
>> "{[/networktest.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>> onto public void
>> org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.servicePost(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>> throws javax.servlet.ServletException,java.io.IOException
>> [INFO] [main]
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> - Mapped
>> "{[/networktest.upload],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>> onto public void
>> org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.serviceGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>> throws javax.servlet.ServletException,java.io.IOException
>> [INFO] [main]
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> - Mapped
>> "{[/screen.upload],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>> onto public void
>> org.apache.openmeetings.servlet.outputhandler.ScreenController.handleRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> [INFO] [main]
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> - Mapped
>> "{[/file.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>> onto public void
>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleFileUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
>> throws javax.servlet.ServletException
>> [INFO] [main]
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> - Mapped
>> "{[/remotelog.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>> onto public void
>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleRemoteLog(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws javax.servlet.ServletException
>> [INFO] [main]
>> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
>> - Mapped
>> "{[/upload.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
>> onto public void
>> org.apache.openmeetings.servlet.outputhandler.UploadController.handleFormUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws javax.servlet.ServletException
>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Using default
>> implementation for ThreadExecutor
>> [INFO] [main] org.quartz.core.SchedulerSignalerImpl - Initialized
>> Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
>> [INFO] [main] org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.1.7
>> created.
>> [INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data:
>> Quartz Scheduler (v2.1.7)
>> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with
>> instanceId 'NON_CLUSTERED'
>>   Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
>>   NOT STARTED.
>>   Currently in standby mode.
>>   Number of jobs executed: 0
>>   Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
>>   Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support
>> persistence. and is not clustered.
>>
>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
>> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized
>> from an externally provided properties instance.
>> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
>> version: 2.1.7
>> [INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to:
>> org.springframework.scheduling.quartz.AdaptableJobFactory@1716e8c5
>> [INFO] [main]
>> org.springframework.context.support.DefaultLifecycleProcessor - Starting
>> beans in phase 2147483647
>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>> started.
>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>> shutting down.
>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>> paused.
>> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
>> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
>> shutdown complete.
>> 3677  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.3.0
>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed
>> java.lang.NullPointerException: null
>>         at
>> org.apache.openmeetings.backup.BackupExport.exportUsers(BackupExport.java:466)
>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>         at
>> org.apache.openmeetings.backup.BackupExport.exportUsers(BackupExport.java:455)
>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>         at
>> org.apache.openmeetings.backup.BackupExport.performExport(BackupExport.java:158)
>> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>>         at org.apache.openmeetings.cli.Admin.process(Admin.java:295)
>> [openmeetings-cli-3.0.5-RELEASE.jar:na]
>>         at org.apache.openmeetings.cli.Admin.main(Admin.java:620)
>> [openmeetings-cli-3.0.5-RELEASE.jar:na]
>>
>>
>>
>> Hope it helps
>>
>>
>> [image: eExplore Formation] <http://eexplore.fr/>
>>
>> Philippe Odent / General Manager
>> 06.66.23.23.84/ podent@eexplore.fr
>>
>> eExplore Formation Office: 0366.732.794
>> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
>> http://eexplore.fr
>>
>> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
>> <https://twitter.com/e_explore> [image: Google Plus]
>> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
>> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
>> <https://www.linkedin.com/company/eexplore> [image: Skype]
>> <ht...@outlook.fr>
>>
>> Ce message peut contenir des informations confidentielles ou privilégiées
>> et est destiné uniquement à l'usage du destinataire prévu. Toute
>> publication, diffusion, distribution ou copie se fondant sur les
>> informations présentes est interdite. Nos courriels ne sont pas sécurisés
>> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
>> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
>> communique avec nous par e-mail est réputée avoir accepté ces risques.
>> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
>> message et décline toute responsabilité pour tout dommage découlant de
>> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
>> message et les pièces attachées sont celles de l'auteur et ne représentent
>> pas nécessairement celles de l'entreprise.
>>
>>
>>
>> ------ Message d'origine ------
>> De : "Maxim Solodovnik" <so...@gmail.com>
>> À : "Openmeetings user-list" <us...@openmeetings.apache.org>; "Odent
>> Philippe (eExplore)" <po...@eexplore.fr>
>> Envoyé 13/07/2015 06:22:11
>> Objet : Re: Backup feature generates "Internal Error" in OM 3.0.5
>>
>>
>> can you please try to run "./admin.sh *-v *-b -file backup_today.zip" to
>> get detailed output?
>>
>> 2015-07-12 12:20 GMT+06:00 Odent Philippe (eExplore) <po...@eexplore.fr>
>> :
>>
>>>  Dear all,
>>>
>>> With OM 3.0.5 , clicking on "System Backup" in Administration Panel
>>> generates a blank page with "Internal Error"
>>>
>>> When i try the same feature as root with command line "./admin.sh -b
>>> -file backup_today.zip", i get the following message
>>> ...
>>> 2770  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA
>>> 2.3.0
>>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed null
>>>
>>> In /openmeetings/upload/backup/backup_folder, on following files are
>>> created
>>> organizations.xml containing the right informations
>>> users.xml with a 0 byte size
>>> ..and nothing else
>>>
>>> Any idea of what could be the problem ?
>>>
>>> All my best,
>>> Philippe
>>>
>>>
>>>
>>> [image: eExplore Formation] <http://eexplore.fr/>
>>>
>>> Philippe Odent / General Manager
>>> 06.66.23.23.84/ podent@eexplore.fr
>>>
>>> eExplore Formation Office: 0366.732.794
>>> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
>>> http://eexplore.fr/
>>>
>>> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
>>> <https://twitter.com/e_explore> [image: Google Plus]
>>> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
>>> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
>>> <https://www.linkedin.com/company/eexplore> [image: Skype]
>>> <ht...@outlook.fr>
>>>
>>> Ce message peut contenir des informations confidentielles ou
>>> privilégiées et est destiné uniquement à l'usage du destinataire prévu.
>>> Toute publication, diffusion, distribution ou copie se fondant sur les
>>> informations présentes est interdite. Nos courriels ne sont pas sécurisés
>>> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
>>> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
>>> communique avec nous par e-mail est réputée avoir accepté ces risques.
>>> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
>>> message et décline toute responsabilité pour tout dommage découlant de
>>> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
>>> message et les pièces attachées sont celles de l'auteur et ne représentent
>>> pas nécessairement celles de l'entreprise.
>>>
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: Re[2]: Backup feature generates "Internal Error" in OM 3.0.5

Posted by Maxim Solodovnik <so...@gmail.com>.
somehow you have users in DB with empty registration date ......
I was sure it is impossible :((
what database are you using?
Maybe you can remember how this user was created?

On Mon, Jul 13, 2015 at 11:19 AM, Odent Philippe (eExplore) <
podent@eexplore.fr> wrote:

>  Hi Max,
> Here we go...
>
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/var/www/vhosts/
> vps182246.ovh.net/httpdocs/openmeetings/red5-server.jar!/org/slf4j/impl/StaticLoggerBinder.class
> ]
> SLF4J: Found binding in [jar:file:/var/www/vhosts/
> vps182246.ovh.net/httpdocs/openmeetings/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class
> ]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.red5.logging.LoggingContextSelector]
> Context init...
> Logger name for context: openmeetings
> DEBUG 07-13 07:17:42.611 ContextLoggingListener.java 213 72 ROOT [main] -
> Starting up context openmeetings
> [INFO] [main]
> org.springframework.context.support.ClassPathXmlApplicationContext -
> Refreshing
> org.springframework.context.support.ClassPathXmlApplicationContext@55a561cf:
> startup date [Mon Jul 13 07:17:42 CEST 2015]; root of context hierarchy
> [INFO] [main]
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
> bean definitions from class path resource
> [openmeetings-applicationContext.xml]
> [INFO] [main] org.springframework.orm.jpa.LocalEntityManagerFactoryBean -
> Building JPA EntityManagerFactory for persistence unit 'openmeetings'
> 587  openmeetings  INFO   [main] openjpa.Runtime - OpenJPA dynamically
> loaded the class enhancer. Any classes that were not enhanced at build time
> will be enhanced when they are loaded by the JVM.
> [INFO] [main]
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> - Mapped
> "{[/networktest.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
> onto public void
> org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.servicePost(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
> throws javax.servlet.ServletException,java.io.IOException
> [INFO] [main]
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> - Mapped
> "{[/networktest.upload],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}"
> onto public void
> org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.serviceGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
> throws javax.servlet.ServletException,java.io.IOException
> [INFO] [main]
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> - Mapped
> "{[/screen.upload],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}"
> onto public void
> org.apache.openmeetings.servlet.outputhandler.ScreenController.handleRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> [INFO] [main]
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> - Mapped
> "{[/file.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
> onto public void
> org.apache.openmeetings.servlet.outputhandler.UploadController.handleFileUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession)
> throws javax.servlet.ServletException
> [INFO] [main]
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> - Mapped
> "{[/remotelog.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
> onto public void
> org.apache.openmeetings.servlet.outputhandler.UploadController.handleRemoteLog(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws javax.servlet.ServletException
> [INFO] [main]
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
> - Mapped
> "{[/upload.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}"
> onto public void
> org.apache.openmeetings.servlet.outputhandler.UploadController.handleFormUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws javax.servlet.ServletException
> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Using default
> implementation for ThreadExecutor
> [INFO] [main] org.quartz.core.SchedulerSignalerImpl - Initialized
> Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
> [INFO] [main] org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.1.7
> created.
> [INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data:
> Quartz Scheduler (v2.1.7)
> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with
> instanceId 'NON_CLUSTERED'
>   Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
>   NOT STARTED.
>   Currently in standby mode.
>   Number of jobs executed: 0
>   Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
>   Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support
> persistence. and is not clustered.
>
> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized
> from an externally provided properties instance.
> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
> version: 2.1.7
> [INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to:
> org.springframework.scheduling.quartz.AdaptableJobFactory@1716e8c5
> [INFO] [main]
> org.springframework.context.support.DefaultLifecycleProcessor - Starting
> beans in phase 2147483647
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
> started.
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
> shutting down.
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
> paused.
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
> shutdown complete.
> 3677  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.3.0
> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed
> java.lang.NullPointerException: null
>         at
> org.apache.openmeetings.backup.BackupExport.exportUsers(BackupExport.java:466)
> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>         at
> org.apache.openmeetings.backup.BackupExport.exportUsers(BackupExport.java:455)
> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>         at
> org.apache.openmeetings.backup.BackupExport.performExport(BackupExport.java:158)
> ~[openmeetings-cli-3.0.5-RELEASE.jar:na]
>         at org.apache.openmeetings.cli.Admin.process(Admin.java:295)
> [openmeetings-cli-3.0.5-RELEASE.jar:na]
>         at org.apache.openmeetings.cli.Admin.main(Admin.java:620)
> [openmeetings-cli-3.0.5-RELEASE.jar:na]
>
>
>
> Hope it helps
>
>
> [image: eExplore Formation] <http://eexplore.fr/>
>
> Philippe Odent / General Manager
> 06.66.23.23.84/ podent@eexplore.fr
>
> eExplore Formation Office: 0366.732.794
> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
> http://eexplore.fr
>
> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
> <https://twitter.com/e_explore> [image: Google Plus]
> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
> <https://www.linkedin.com/company/eexplore> [image: Skype]
> <ht...@outlook.fr>
>
> Ce message peut contenir des informations confidentielles ou privilégiées
> et est destiné uniquement à l'usage du destinataire prévu. Toute
> publication, diffusion, distribution ou copie se fondant sur les
> informations présentes est interdite. Nos courriels ne sont pas sécurisés
> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
> communique avec nous par e-mail est réputée avoir accepté ces risques.
> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
> message et décline toute responsabilité pour tout dommage découlant de
> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
> message et les pièces attachées sont celles de l'auteur et ne représentent
> pas nécessairement celles de l'entreprise.
>
>
>
> ------ Message d'origine ------
> De : "Maxim Solodovnik" <so...@gmail.com>
> À : "Openmeetings user-list" <us...@openmeetings.apache.org>; "Odent
> Philippe (eExplore)" <po...@eexplore.fr>
> Envoyé 13/07/2015 06:22:11
> Objet : Re: Backup feature generates "Internal Error" in OM 3.0.5
>
>
> can you please try to run "./admin.sh *-v *-b -file backup_today.zip" to
> get detailed output?
>
> 2015-07-12 12:20 GMT+06:00 Odent Philippe (eExplore) <po...@eexplore.fr>:
>
>>  Dear all,
>>
>> With OM 3.0.5 , clicking on "System Backup" in Administration Panel
>> generates a blank page with "Internal Error"
>>
>> When i try the same feature as root with command line "./admin.sh -b
>> -file backup_today.zip", i get the following message
>> ...
>> 2770  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.3.0
>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed null
>>
>> In /openmeetings/upload/backup/backup_folder, on following files are
>> created
>> organizations.xml containing the right informations
>> users.xml with a 0 byte size
>> ..and nothing else
>>
>> Any idea of what could be the problem ?
>>
>> All my best,
>> Philippe
>>
>>
>>
>> [image: eExplore Formation] <http://eexplore.fr/>
>>
>> Philippe Odent / General Manager
>> 06.66.23.23.84/ podent@eexplore.fr
>>
>> eExplore Formation Office: 0366.732.794
>> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
>> http://eexplore.fr/
>>
>> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
>> <https://twitter.com/e_explore> [image: Google Plus]
>> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
>> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
>> <https://www.linkedin.com/company/eexplore> [image: Skype]
>> <ht...@outlook.fr>
>>
>> Ce message peut contenir des informations confidentielles ou privilégiées
>> et est destiné uniquement à l'usage du destinataire prévu. Toute
>> publication, diffusion, distribution ou copie se fondant sur les
>> informations présentes est interdite. Nos courriels ne sont pas sécurisés
>> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
>> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
>> communique avec nous par e-mail est réputée avoir accepté ces risques.
>> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
>> message et décline toute responsabilité pour tout dommage découlant de
>> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
>> message et les pièces attachées sont celles de l'auteur et ne représentent
>> pas nécessairement celles de l'entreprise.
>>
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>


-- 
WBR
Maxim aka solomax

Re: Backup feature generates "Internal Error" in OM 3.0.5

Posted by Maxim Solodovnik <so...@gmail.com>.
can you please try to run "./admin.sh *-v *-b -file backup_today.zip" to
get detailed output?

2015-07-12 12:20 GMT+06:00 Odent Philippe (eExplore) <po...@eexplore.fr>:

>  Dear all,
>
> With OM 3.0.5 , clicking on "System Backup" in Administration Panel
> generates a blank page with "Internal Error"
>
> When i try the same feature as root with command line "./admin.sh -b -file
> backup_today.zip", i get the following message
> ...
> 2770  openmeetings  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.3.0
> [ERROR] [main] org.apache.openmeetings.cli.Admin - Backup failed null
>
> In /openmeetings/upload/backup/backup_folder, on following files are
> created
> organizations.xml containing the right informations
> users.xml with a 0 byte size
> ..and nothing else
>
> Any idea of what could be the problem ?
>
> All my best,
> Philippe
>
>
>
> [image: eExplore Formation] <http://eexplore.fr/>
>
> Philippe Odent / General Manager
> 06.66.23.23.84/ podent@eexplore.fr
>
> eExplore Formation Office: 0366.732.794
> 145 Boulevard de Valmy 59650 Villeneuve d'Ascq
> http://eexplore.fr
>
> [image: Facebook] <https://www.facebook.com/eExplore> [image: Twitter]
> <https://twitter.com/e_explore> [image: Google Plus]
> <https://plus.google.com/+EexploreFr/posts> [image: Youtube]
> <https://www.youtube.com/watch?v=yi3oAYMzmys> [image: Linkedin]
> <https://www.linkedin.com/company/eexplore> [image: Skype]
> <ht...@outlook.fr>
>
> Ce message peut contenir des informations confidentielles ou privilégiées
> et est destiné uniquement à l'usage du destinataire prévu. Toute
> publication, diffusion, distribution ou copie se fondant sur les
> informations présentes est interdite. Nos courriels ne sont pas sécurisés
> et ne peuvent pas être exempts d’erreurs, car ils peuvent être interceptés,
> modifiés ou contenir des virus ajoutés à notre insu. Toute personne qui
> communique avec nous par e-mail est réputée avoir accepté ces risques.
> Notre entreprise n'est pas responsable des erreurs ou omissions dans ce
> message et décline toute responsabilité pour tout dommage découlant de
> l'utilisation de ce message. Les opinions ou déclarations contenues dans ce
> message et les pièces attachées sont celles de l'auteur et ne représentent
> pas nécessairement celles de l'entreprise.
>
>



-- 
WBR
Maxim aka solomax