Hi Andre,

this might be both a bug and a bit an unforeseeable recording status.

I think a recording should never be stuck in the state of
"Recording.Status.PROCESSING", I think that would mean the recording was
not correctly finalised.

So, two things to do:
1) Please fill a bug, there is a need to fix:
https://svn.apache.org/viewvc/openmeetings/application/tags/3.1.2/openmeetings-install/src/main/java/org/apache/openmeetings/backup/BackupImport.java?view=markup

to handle old Recording Status format types.
Please open a ticket at: https://issues.apache.org/jira/browse/OPENMEETINGS

You can assign it to me.

2) Please unzip the backup and look into the file "flvRecordings.xml".

Maybe send me an example or put it somewhere on pastebin.com.
But it should be as easy as replacing all occurrence of "Processing" and
replace with "CONVERTING"

Then zip it up again (keep in mind that I think you got to zip the content
of the folder, not the root folder) and re-do the import.

Thanks,
Sebastian


2016-08-15 8:22 GMT+12:00 Andre Wruszczak <wruszc...@web.de>:

> Dear openmeetings user group,
>
>
>
> The problem persists, no matter how I try importing the backup.
>
> ./admin.sh -i or -r both do not work.
>  I always get the same error.
>
> The Web-Client itself isn’t really an option, my backup is very big J
>
>
>
>
>
> Cheers
>
> Andre
>
>
>
> *Von:* Andre Wruszczak [mailto:wruszc...@web.de]
> *Gesendet:* Sunday, August 14, 2016 5:33 PM
> *An:* user@openmeetings.apache.org
> *Betreff:* Not able to install with backup (3.02 to 3.12) "Enum missing"
>
>
>
> Dear openmeetings user group,
>
>
>
> Today I tried upgrading my openmeetings version (from 3.02 to 3.12, made a
> backup of DB and OM from 3.02 and tried importing like presented in this
> guide : http://openmeetings.apache.org/Upgrade.html) and stumbled across
> following error :
>
>
>
> [ERROR] [main] org.apache.openmeetings.cli.Admin - Restore failed
>
> java.lang.IllegalArgumentException: No enum constant
> org.apache.openmeetings.db.entity.record.Recording.Status.PROCESSING
>
>         at java.lang.Enum.valueOf(Enum.java:238)
>
>         at org.simpleframework.xml.transform.EnumTransform.read(
> EnumTransform.java:58)
>
>         at org.simpleframework.xml.transform.EnumTransform.read(
> EnumTransform.java:29)
>
>         at org.simpleframework.xml.transform.Transformer.read(
> Transformer.java:106)
>
>         at org.simpleframework.xml.core.Support.read(Support.java:372)
>
>         at org.simpleframework.xml.core.PrimitiveFactory.getInstance(
> PrimitiveFactory.java:105)
>
>         at org.simpleframework.xml.core.Primitive.readTemplate(
> Primitive.java:231)
>
>         at org.simpleframework.xml.core.Primitive.read(Primitive.java:171)
>
>         at org.simpleframework.xml.core.Primitive.readElement(
> Primitive.java:207)
>
>         at org.simpleframework.xml.core.Primitive.readElement(
> Primitive.java:189)
>
>         at org.simpleframework.xml.core.Primitive.read(Primitive.java:124)
>
>         at org.simpleframework.xml.core.Composite.readVariable(
> Composite.java:623)
>
>         at org.simpleframework.xml.core.Composite.readInstance(
> Composite.java:573)
>
>         at org.simpleframework.xml.core.Composite.readUnion(Composite.
> java:549)
>
>         at org.simpleframework.xml.core.Composite.readElement(
> Composite.java:532)
>
>         at org.simpleframework.xml.core.Composite.readElements(
> Composite.java:445)
>
>         at org.simpleframework.xml.core.Composite.access$400(
> Composite.java:59)
>
>         at org.simpleframework.xml.core.Composite$Builder.read(
> Composite.java:1383)
>
>         at org.simpleframework.xml.core.Composite.read(Composite.java:201)
>
>         at org.simpleframework.xml.core.Composite.read(Composite.java:148)
>
>         at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
>
>         at org.simpleframework.xml.core.Persister.read(Persister.java:625)
>
>         at org.simpleframework.xml.core.Persister.read(Persister.java:606)
>
>         at org.simpleframework.xml.core.Persister.read(Persister.java:584)
>
>         at org.apache.openmeetings.backup.BackupImport.readRecordingList(
> BackupImport.java:825)
>
>         at org.apache.openmeetings.backup.BackupImport.
> performImport(BackupImport.java:502)
>
>         at org.apache.openmeetings.cli.Admin.restoreOm(Admin.java:521)
>
>         at org.apache.openmeetings.cli.Admin.process(Admin.java:272)
>
>         at org.apache.openmeetings.cli.Admin.main(Admin.java:528)
>
> This happened while running : ./admin.sh -i -file backup_yesterday.zip
>
> Everything up to this point went smoothly and was installed properly. But
> Rooms and Recordings have not been imported yet ( as the installer fails)
>
>
>
> Would really appreciate some help. Currently I am trying to install it via
> the Web-Client instead of the CLI – but I do not think that this will help
> at all.
>
>
>
> Cheers
>
> Andre
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
seba.wag...@gmail.com

Reply via email to