You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Linas Redeckis <li...@ku.lt> on 2013/04/26 14:54:59 UTC

2.0.0 backup -> 2.1.0 import error

I made a backup trough GUI, version is 2.0.0 (r1361497-14-07-2012_1108).
have tried with and without files.
And trying to import this backup to new 2.1.0 (dont know revision, its from
main site). If i do it in GUI, theres popup "HTTP error 500" or smthing. no
other information. but if I try command line with "admin.sh -i" then last
thing it says is this:
...
DEBUG 04-26 15:39:58.514 ImportInitvalues.java 81145 966
org.apache.openmeetings.installation.ImportInitvalues [main] - All
languages are imported
DEBUG 04-26 15:39:58.613 ImportInitvalues.java 81244 258
org.apache.openmeetings.installation.ImportInitvalues [main] - Salutations
ADDED
DEBUG 04-26 15:39:58.613 ImportInitvalues.java 81244 829
org.apache.openmeetings.installation.ImportInitvalues [main] -
ImportInitValues.loadInitAppointmentCategories
 INFO 04-26 15:39:58.623 UsersDao.java 81254 163
org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
USER_ID given
DEBUG 04-26 15:39:58.645 ImportInitvalues.java 81276 849
org.apache.openmeetings.installation.ImportInitvalues [main] -
ImportInitValues.loadInitAppointmentReminderTypes
 INFO 04-26 15:39:58.655 UsersDao.java 81286 163
org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
USER_ID given
 INFO 04-26 15:39:58.677 UsersDao.java 81308 163
org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
USER_ID given
 INFO 04-26 15:39:58.697 UsersDao.java 81328 163
org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
USER_ID given
DEBUG 04-26 15:39:58.812 ImportInitvalues.java 81443 493
org.apache.openmeetings.installation.ImportInitvalues [main] -
conference_Id: 1
DEBUG 04-26 15:39:58.844 ImportInitvalues.java 81475 500
org.apache.openmeetings.installation.ImportInitvalues [main] -
restricted_Id: 3
DEBUG 04-26 15:39:58.860 ImportInitvalues.java 81491 504
org.apache.openmeetings.installation.ImportInitvalues [main] -
interview_Id: 4
DEBUG 04-26 15:39:58.876 ImportInitvalues.java 81507 509
org.apache.openmeetings.installation.ImportInitvalues [main] - RoomTypes
ADDED
DEBUG 04-26 15:39:59.669 ImportInitvalues.java 82300 487
org.apache.openmeetings.installation.ImportInitvalues [main] -
Configuration ADDED
DEBUG 04-26 15:39:59.671 BackupImportController.java 82302 201
org.apache.openmeetings.servlet.outputhandler.BackupImportController [main]
- ##### WRITE FILE TO:
/usr/local/www/om210/webapps/openmeetings/upload/import/import_2013_04_26_15_39_59
[ERROR] [main] org.apache.openmeetings.cli.Admin - Restore failed Empty
value for @org.simpleframework.xml.Element(name=, data=true, required=true,
type=void) on field 'name' private java.lang.String
org.apache.openmeetings.persistence.beans.domain.Organisation.name in class
org.apache.openmeetings.persistence.beans.domain.Organisation at line 11

Does seem like the backup is not right in the first place. how to tell what
"name" it tries to find (and doesnt) ?


Thanks in advance.

Re: 2.0.0 backup -> 2.1.0 import error

Posted by Linas Redeckis <li...@ku.lt>.
Thanks Maxim, it helped. Tho i had to clear /uploads directory, because of
some small error in writing there.. now its all ok.


2013/4/26 Maxim Solodovnik <so...@gmail.com>

> Hello Linas,
>
> It seems like you have organisation with no name in your backup file
> you can:
> 1) open zip
> 2) edit organisation.xml (remove bad entry/correct it)
> 3) drop db
> 4) create db + run it one more time
>
> If you will send me your backup (privately) I can fix it and you can use
> 2.1.1 nightly build to perform import
>
>
> On Fri, Apr 26, 2013 at 7:54 PM, Linas Redeckis <li...@ku.lt>wrote:
>
>> I made a backup trough GUI, version is 2.0.0 (r1361497-14-07-2012_1108).
>> have tried with and without files.
>> And trying to import this backup to new 2.1.0 (dont know revision, its
>> from main site). If i do it in GUI, theres popup "HTTP error 500" or
>> smthing. no other information. but if I try command line with "admin.sh -i"
>> then last thing it says is this:
>> ...
>> DEBUG 04-26 15:39:58.514 ImportInitvalues.java 81145 966
>> org.apache.openmeetings.installation.ImportInitvalues [main] - All
>> languages are imported
>> DEBUG 04-26 15:39:58.613 ImportInitvalues.java 81244 258
>> org.apache.openmeetings.installation.ImportInitvalues [main] - Salutations
>> ADDED
>> DEBUG 04-26 15:39:58.613 ImportInitvalues.java 81244 829
>> org.apache.openmeetings.installation.ImportInitvalues [main] -
>> ImportInitValues.loadInitAppointmentCategories
>>  INFO 04-26 15:39:58.623 UsersDao.java 81254 163
>> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
>> USER_ID given
>> DEBUG 04-26 15:39:58.645 ImportInitvalues.java 81276 849
>> org.apache.openmeetings.installation.ImportInitvalues [main] -
>> ImportInitValues.loadInitAppointmentReminderTypes
>>  INFO 04-26 15:39:58.655 UsersDao.java 81286 163
>> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
>> USER_ID given
>>  INFO 04-26 15:39:58.677 UsersDao.java 81308 163
>> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
>> USER_ID given
>>  INFO 04-26 15:39:58.697 UsersDao.java 81328 163
>> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
>> USER_ID given
>> DEBUG 04-26 15:39:58.812 ImportInitvalues.java 81443 493
>> org.apache.openmeetings.installation.ImportInitvalues [main] -
>> conference_Id: 1
>> DEBUG 04-26 15:39:58.844 ImportInitvalues.java 81475 500
>> org.apache.openmeetings.installation.ImportInitvalues [main] -
>> restricted_Id: 3
>> DEBUG 04-26 15:39:58.860 ImportInitvalues.java 81491 504
>> org.apache.openmeetings.installation.ImportInitvalues [main] -
>> interview_Id: 4
>> DEBUG 04-26 15:39:58.876 ImportInitvalues.java 81507 509
>> org.apache.openmeetings.installation.ImportInitvalues [main] - RoomTypes
>> ADDED
>> DEBUG 04-26 15:39:59.669 ImportInitvalues.java 82300 487
>> org.apache.openmeetings.installation.ImportInitvalues [main] -
>> Configuration ADDED
>> DEBUG 04-26 15:39:59.671 BackupImportController.java 82302 201
>> org.apache.openmeetings.servlet.outputhandler.BackupImportController [main]
>> - ##### WRITE FILE TO:
>> /usr/local/www/om210/webapps/openmeetings/upload/import/import_2013_04_26_15_39_59
>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Restore failed Empty
>> value for @org.simpleframework.xml.Element(name=, data=true, required=true,
>> type=void) on field 'name' private java.lang.String
>> org.apache.openmeetings.persistence.beans.domain.Organisation.name in
>> class org.apache.openmeetings.persistence.beans.domain.Organisation at line
>> 11
>>
>> Does seem like the backup is not right in the first place. how to tell
>> what "name" it tries to find (and doesnt) ?
>>
>>
>> Thanks in advance.
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: 2.0.0 backup -> 2.1.0 import error

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Linas,

It seems like you have organisation with no name in your backup file
you can:
1) open zip
2) edit organisation.xml (remove bad entry/correct it)
3) drop db
4) create db + run it one more time

If you will send me your backup (privately) I can fix it and you can use
2.1.1 nightly build to perform import


On Fri, Apr 26, 2013 at 7:54 PM, Linas Redeckis <li...@ku.lt>wrote:

> I made a backup trough GUI, version is 2.0.0 (r1361497-14-07-2012_1108).
> have tried with and without files.
> And trying to import this backup to new 2.1.0 (dont know revision, its
> from main site). If i do it in GUI, theres popup "HTTP error 500" or
> smthing. no other information. but if I try command line with "admin.sh -i"
> then last thing it says is this:
> ...
> DEBUG 04-26 15:39:58.514 ImportInitvalues.java 81145 966
> org.apache.openmeetings.installation.ImportInitvalues [main] - All
> languages are imported
> DEBUG 04-26 15:39:58.613 ImportInitvalues.java 81244 258
> org.apache.openmeetings.installation.ImportInitvalues [main] - Salutations
> ADDED
> DEBUG 04-26 15:39:58.613 ImportInitvalues.java 81244 829
> org.apache.openmeetings.installation.ImportInitvalues [main] -
> ImportInitValues.loadInitAppointmentCategories
>  INFO 04-26 15:39:58.623 UsersDao.java 81254 163
> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
> USER_ID given
> DEBUG 04-26 15:39:58.645 ImportInitvalues.java 81276 849
> org.apache.openmeetings.installation.ImportInitvalues [main] -
> ImportInitValues.loadInitAppointmentReminderTypes
>  INFO 04-26 15:39:58.655 UsersDao.java 81286 163
> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
> USER_ID given
>  INFO 04-26 15:39:58.677 UsersDao.java 81308 163
> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
> USER_ID given
>  INFO 04-26 15:39:58.697 UsersDao.java 81328 163
> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] Info: No
> USER_ID given
> DEBUG 04-26 15:39:58.812 ImportInitvalues.java 81443 493
> org.apache.openmeetings.installation.ImportInitvalues [main] -
> conference_Id: 1
> DEBUG 04-26 15:39:58.844 ImportInitvalues.java 81475 500
> org.apache.openmeetings.installation.ImportInitvalues [main] -
> restricted_Id: 3
> DEBUG 04-26 15:39:58.860 ImportInitvalues.java 81491 504
> org.apache.openmeetings.installation.ImportInitvalues [main] -
> interview_Id: 4
> DEBUG 04-26 15:39:58.876 ImportInitvalues.java 81507 509
> org.apache.openmeetings.installation.ImportInitvalues [main] - RoomTypes
> ADDED
> DEBUG 04-26 15:39:59.669 ImportInitvalues.java 82300 487
> org.apache.openmeetings.installation.ImportInitvalues [main] -
> Configuration ADDED
> DEBUG 04-26 15:39:59.671 BackupImportController.java 82302 201
> org.apache.openmeetings.servlet.outputhandler.BackupImportController [main]
> - ##### WRITE FILE TO:
> /usr/local/www/om210/webapps/openmeetings/upload/import/import_2013_04_26_15_39_59
> [ERROR] [main] org.apache.openmeetings.cli.Admin - Restore failed Empty
> value for @org.simpleframework.xml.Element(name=, data=true, required=true,
> type=void) on field 'name' private java.lang.String
> org.apache.openmeetings.persistence.beans.domain.Organisation.name in
> class org.apache.openmeetings.persistence.beans.domain.Organisation at line
> 11
>
> Does seem like the backup is not right in the first place. how to tell
> what "name" it tries to find (and doesnt) ?
>
>
> Thanks in advance.
>



-- 
WBR
Maxim aka solomax