Please file this is as minor BUG to JIRA :) Will try to fix it in next release :)
On Sat, Dec 7, 2013 at 3:50 PM, Michael Wuttke <mwut...@beuth-hochschule.de>wrote: > Hi Maxin, > > it works, when I use /usr/lib/red5/admin.sh -v -f --cleanup. But with > some remains. May be they are not realy important. ;-) > > When I delete the recordings via the GUI as the moderator of the > conference room, the whole folder with the captured files will be purged. > In my case it was the folder ~/streams/1: > > /usr/lib/red5/webapps/openmeetings/streams/1/rec_1_stream_fba9bd0473ae91d80fd5111f13d1426a_2013_12_06_14_55_23.flv': > > /usr/lib/red5/webapps/openmeetings/streams/1/rec_1_stream_fba9bd0473ae91d80fd5111f13d1426a_2013_12_06_14_55_23_FINAL_WAVE.wav > > In the folder ~/streams/hibernate the files flvRecording_1.flv, > flvRecording_1.avi and flvRecording_1.??? will be deleted. > > But in the folder ~/streams/hibernate the file flvRecording_1.flv.meta > and in the tables flvrecording, flvrecording_log and > flvrecording_meta_delta of the openmeetings database all the entries for > the deleted recording still exists. > > Thanks, > Michael > > Am 07.12.13 02:00, schrieb Maxim Solodovnik: > > Cleanup is the purge. ;) does it work for you? > > On Dec 7, 2013 2:15 AM, "Michael Wuttke" <mwut...@beuth-hochschule.de> > > wrote: > > > >> Hello Maxim, > >> > >> I did the cleanup with: > >> /usr/lib/red5/admin.sh -v -f --cleanup > >> > >> What would be the purge option in this case? > >> > >> Thanks in advance, > >> Michael > >> > >> Am 06.12.13 17:35, schrieb Maxim Solodovnik: > >>> Hello Michael, > >>> please try to purge already deleted records using > >>> clean option of admin? > >>> > >>> > >>> On Fri, Dec 6, 2013 at 10:49 PM, Michael Wuttke < > >>> michael.wut...@beuth-hochschule.de> wrote: > >>> > >>>> Hello Maxim, > >>>> > >>>> thank you for your great work. ;-) > >>>> > >>>> I tested the latest OM 2.2 version build 24 (with debian sqeeze, 4 GB > >>>> RAM, Intel Core 2 Duo 2.67GHz & 1 GB LAN), with the following > scenarios: > >>>> > >>>> 1. create a conference room via moodle - ok > >>>> 2. enter the conference room via moodle as a moderator (Ubuntu 13.04 > >>>> with FF 25, 8 GB RAM, Intel Core 2 Duo 2.13GHz & 1 GB LAN) - ok > >>>> 3. test of audio and video as a monderator - ok > >>>> 4. upload a pdf, doc, docx, ppt, pptx, jpeg, jpg, png, gif, txt, xls > & a > >>>> xlsx file to the WB - ok > >>>> 5. zoom of the content in the WB as a moderator - ok > >>>> 6. test the chat as moderator - ok > >>>> 7. enter the conference room via moodle as a non moderator user > (Windows > >>>> 7 SP 1, IE 10, RAM 4 GB, Intel Core 2 Duo 2.13GHz & 1 GB LAN) - ok > >>>> 8. test of audio and video as a non monderator - ok > >>>> 9. zoom of the content in the WB as a non moderator - ok > >>>> 10. test the chat as non moderator - ok > >>>> 11. test the private chat as moderator - ok > >>>> 12. test the private chat as non moderator - ok > >>>> 13. sync of the zoom of content in the WB for the non moderator - ok > >>>> 14. start a screensharing session as the moderator via moodle - ok > >>>> 15. getting a screensharing session as non moderator user via moodle - > >> ok > >>>> 16. stopp the screensharing session as moderator via moodle - ok > >>>> 17. start a recording session as the moderator via moodle for just a > >>>> minute with high quality - ok > >>>> 18. stop the recording session as the moderator via moodle - ok > >>>> 19. create an activity in moodle to see the recording again as the > >>>> moderator - creating was ok (but playing the recording via moodle was > >>>> "fast forwarded") !!! > >>>> 20. play the recording again as the non moderator - ok > >>>> 21. test the pointer as moderator - ok (not only the firstname and the > >>>> name is shown: the first name and two times the lastname; see attached > >>>> screenshot_pointer.jpg file) > >>>> 22. test the pointer as non moderator - ok > >>>> 23. a non moderator asks to become the privileges of a moderator - ok > >>>> 24. a moderator can give a non moderator the privileges of a moderator > >> - ok > >>>> 25. a former non moderator, now with the privileges of a moderator, > can > >>>> unenrole the first moderator - it works (Is this a bug or the normal > >>>> behaviour?) !!! > >>>> 26. move files from home drive to public drive as a moderator - ok > >>>> 27. move files from public drive to home drive as a moderator - ok > >>>> 28. delete all the files from the files directory - ok > >>>> 29. download the recording as flv & avi file and play them with > >>>> vlc-player - ok (but playing the recording localy was "fast forwarded" > >>>> as well) !!! > >>>> > >>>> 30. backup & restore to test the function of deleting the recording I > >>>> made in step 19. with the following steps: > >>>> 30.0. stop the service: /etc/init.d/red5 stop > >>>> 30.1. perform the export: /usr/lib/red5/admin.sh -b -file > >> /tmp/backup.zip > >>>> 30.2. unzip the backup file: unzip /tmp/backup.zip -d import > >>>> 30.3. remove the recordings & delete the nodes from flvrecordings.xml > >>>> 30.4. zip the files back to /tmp/import.zip: cd /tmp/import && zip -r > >>>> /tmp/import ./* > >>>> 30.5. recreate the om_db: mysql -u root -h localhost > >>>> 30.6. drop database openmeetings; > >>>> 30.7. CREATE DATABASE openmeetings DEFAULT CHARACTER SET 'utf8' > COLLATE > >>>> utf8_general_ci; > >>>> 30.8. \q > >>>> 30.9. perform the import: /usr/lib/red5/admin.sh -i -v -file > >>>> /tmp/import.zip > >>>> > >>>> Step 30.9. ends with the following error message again; same same like > >>>> in the last tests (I don't know what is wrong with my import.zip > file): > >>>> > >>>> INFO 12-06 14:36:04.699 UsersDao.java 46882 163 > >>>> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] > Info: > >>>> No USER_ID given > >>>> DEBUG 12-06 14:36:04.705 ImportInitvalues.java 46888 858 > >>>> org.apache.openmeetings.installation.ImportInitvalues [main] - > >>>> ImportInitValues.loadInitAppointmentReminderTypes > >>>> INFO 12-06 14:36:04.721 UsersDao.java 46904 163 > >>>> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] > Info: > >>>> No USER_ID given > >>>> INFO 12-06 14:36:04.727 UsersDao.java 46910 163 > >>>> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] > Info: > >>>> No USER_ID given > >>>> INFO 12-06 14:36:04.729 UsersDao.java 46912 163 > >>>> org.apache.openmeetings.data.user.dao.UsersDao [main] - [getUser] > Info: > >>>> No USER_ID given > >>>> DEBUG 12-06 14:36:04.799 ImportInitvalues.java 46982 505 > >>>> org.apache.openmeetings.installation.ImportInitvalues [main] - > >>>> conference_Id: 1 > >>>> DEBUG 12-06 14:36:04.804 ImportInitvalues.java 46987 512 > >>>> org.apache.openmeetings.installation.ImportInitvalues [main] - > >>>> restricted_Id: 3 > >>>> DEBUG 12-06 14:36:04.807 ImportInitvalues.java 46990 516 > >>>> org.apache.openmeetings.installation.ImportInitvalues [main] - > >>>> interview_Id: 4 > >>>> DEBUG 12-06 14:36:04.809 ImportInitvalues.java 46992 521 > >>>> org.apache.openmeetings.installation.ImportInitvalues [main] - > RoomTypes > >>>> ADDED > >>>> DEBUG 12-06 14:36:04.925 ImportInitvalues.java 47108 499 > >>>> org.apache.openmeetings.installation.ImportInitvalues [main] - > >>>> Configuration ADDED > >>>> DEBUG 12-06 14:36:04.927 BackupImportController.java 47110 201 > >>>> org.apache.openmeetings.servlet.outputhandler.BackupImportController > >>>> [main] - ##### WRITE FILE TO: > >>>> > >> > /usr/lib/red5/webapps/openmeetings/upload/import/import_2013_12_06_14_36_04 > >>>> [ERROR] [main] org.apache.openmeetings.cli.Admin - Restore failed > >>>> java.io.FileNotFoundException: > >>>> > >>>> > >> > /usr/lib/red5/webapps/openmeetings/upload/import/import_2013_12_06_14_36_04/recordingFiles/one_second.wav > >>>> (Not a directory) > >>>> at java.io.FileOutputStream.open(Native Method) ~[na:1.6.0_26] > >>>> at java.io.FileOutputStream.<init>(FileOutputStream.java:194) > >>>> ~[na:1.6.0_26] > >>>> at java.io.FileOutputStream.<init>(FileOutputStream.java:145) > >>>> ~[na:1.6.0_26] > >>>> at > >>>> > org.apache.commons.transaction.util.FileHelper.copy(FileHelper.java:268) > >>>> ~[commons-transaction-jar-1.2.jar:1.2] > >>>> at > >>>> > >>>> > >> > org.apache.openmeetings.servlet.outputhandler.BackupImportController.performImport(BackupImportController.java:219) > >>>> ~[openmeetings-2.2.0-SNAPSHOT.jar:na] > >>>> at org.apache.openmeetings.cli.Admin.restoreOm(Admin.java:623) > >>>> [openmeetings-2.2.0-SNAPSHOT.jar:na] > >>>> at org.apache.openmeetings.cli.Admin.process(Admin.java:269) > >>>> [openmeetings-2.2.0-SNAPSHOT.jar:na] > >>>> at org.apache.openmeetings.cli.Admin.main(Admin.java:630) > >>>> [openmeetings-2.2.0-SNAPSHOT.jar:na] > >>>> > >>>> Than I reinstalled OM 2.2 (build 24) and repeated step 19. > >>>> > >>>> 31. I deleted the recording as a moderator of the conference room via > >>>> the OM GUI (But in the folders ~/streams/1 & ~/streams/hibernate the > >>>> video files and in the tables flvrecording, flvrecording_log and > >>>> flvrecording_meta_delta the entries for the deleted recording still > >> exists) > >>>> 32. Thats why I started a system cleanup with: /etc/init.d/red5 stop > >>>> 33. /usr/lib/red5/admin.sh -v -f --cleanup - was ok (But in the folder > >>>> ~/streams/hibernate the file flvRecording_1.flv.meta and in the tables > >>>> flvrecording, flvrecording_log and flvrecording_meta_delta all the > >>>> entries for the deleted recording still exists.) > >>>> 34. create a webinar room via moodle and using it as moderator and mon > >>>> moderator like in step 2. - 29. - ok > >>>> 35. create a interview room via moodle and using it as moderator and > mon > >>>> moderator like in step 2. - 29. - ok (But there is one confusing > thing: > >>>> In the interview room exists for a moderator the posibility to upload > a > >>>> file but there is no WB or file directory to use. What is it good for, > >>>> this upload function?) ;-) > >>>> > >>>> Thanks & greetings, > >>>> Michael > >>>> > >>>> Am 06.12.2013 07:57, schrieb Maxim Solodovnik: > >>>>> I'm going to pack RC1 based on 2.2.0#24 > >>>>> please let me know if you have any objections > >>>> > >>> > >>> > >>> > >> > > > -- WBR Maxim aka solomax