Closed syedwaseemjan closed 7 years ago
Does /opt/kaltura/web/content/templates/entry/thumbnail/audio_thumb.jpg exist and is readable by the Apache user?
Thumbnail folder wasn't there. Copying it from one of our other kaltura server solved the problem. Thanks a lot.
You're welcome. From your attached log entries, I see you're missing additional files, for instance:
2017-09-18 08:31:24 [0.000344] [192.168.90.84] [1504947821] [85] [API] [kFileSyncUtils::getContentsByFileSync] INFO: file was not found locally [/opt/kaltura/web/content/templates/entry/data/kmc_template_playlist1.txt]
I suggest you make sure to copy /opt/kaltura/web/content in its entirety and of course, while preserving the original permissions.
Ok but why does re-installing html5lib doesn't create these files ? Also after copying those file I am still getting file does not exist but without any path or filename
2017-09-18 10:35:32 [0.000229] [745400894] [19] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:32 [0.002557] [745400894] [20] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(105): KalturaLog::err('Error with fold...')
--
2017-09-18 10:35:32 [0.000250] [745400894] [79] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:32 [0.000378] [745400894] [80] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(105): KalturaLog::err('Error with fold...')
--
2017-09-18 10:35:32 [0.000229] [745400894] [139] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:32 [0.000336] [745400894] [140] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(105): KalturaLog::err('Error with fold...')
--
2017-09-18 10:35:32 [0.000235] [745400894] [199] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:32 [0.000338] [745400894] [200] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(105): KalturaLog::err('Error with fold...')
--
2017-09-18 10:35:33 [0.000280] [745400894] [259] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:33 [0.000351] [745400894] [260] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Because they don't belong to the kaltura-html5lib package, they belong to kaltura-base. You can use: # rpm -qf /path/to/file or: # dpkg -S /path/to/file to see what package owns a given file.
ok I have reinstalled kaltura-base but why am I still getting those above errors in the logs files. There errors are apparently not effecting anything.
When you say "these errors" what errors are you referring to? You had several different errors in your original post. Not all of them due to missing files... Do you now have /opt/kaltura/web/content/templates/entry/data/kmc_template_playlist1.txt and /opt/kaltura/web/content/templates/entry/thumbnail/audio_thumb.jpg?
I am not talking about the orignial post. I mentioned them in comments, let me paste them again here
2017-09-18 10:35:32 [0.000229] [745400894] [19] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:32 [0.002557] [745400894] [20] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(105): KalturaLog::err('Error with fold...')
--
2017-09-18 10:35:32 [0.000250] [745400894] [79] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:32 [0.000378] [745400894] [80] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(105): KalturaLog::err('Error with fold...')
--
2017-09-18 10:35:32 [0.000229] [745400894] [139] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:32 [0.000336] [745400894] [140] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(105): KalturaLog::err('Error with fold...')
--
2017-09-18 10:35:32 [0.000235] [745400894] [199] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:32 [0.000338] [745400894] [200] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(105): KalturaLog::err('Error with fold...')
--
2017-09-18 10:35:33 [0.000280] [745400894] [259] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2017-09-18 10:35:33 [0.000351] [745400894] [260] [BATCH] [KAsyncDropFolderWatcher->freeExclusiveDropFolder] ERR: exception 'Exception' with message 'Error with folder id [2] - Failed to list files located in the drop folder. Please verify drop folder path and/or listing permissions in physical drop folder path' in /opt/kaltura/app/infra/log/KalturaLog.php:83
That's something else. You apparently have one [or more] drop folder[s] configured and the path you specified for them does not exist on the disk or the 'kaltura' user cannot read from. You can get a listing of them with:
mysql> select id,name,path,status from drop_folder;
From the log, it seems the complaint is about drop_folder.id 2.
I have these entries in my drop_folder table
| id | name | path | status |
+----+---------------+--------------------------------------------------------+--------+
| 1 | monitor local | /opt/kaltura/web/dropfolders/monitor | 1 |
| 2 | sanity_drop | /tmp/sanity-drop-04-06-09-05-ktsqa2015 | 3 |
| 3 | sanity_drop | /tmp/sanity-drop-13-06-09-15-ktsqa2015 | 2 |
| 4 | sanity_drop | /tmp/sanity-drop-14-03-09-11-newqa.kaltura.artstor.org | 2
I emptied the tmp folder few days ago. Should I just remove these entries to get rid of those errors?
As a general rule, I don't recommend setting up drop folders under /tmp since, during init, all files under /tmp are removed in most if not all, Linux distros.
From the name of the dropfolder [sanity_drop], I presume this was created as a test when running the kaltura-sanity.sh script. You probably stopped it in mid run so it didn't have the chance to delete the dropfolder. You can go into Admin Console->Publishers->The Publisher this drop folder was set for->Profiles->Drop Folders and remove it.
To get the Partner ID this drop folder is associated with:
mysql> select id,name,path,status,partner_id from drop_folder where id=2;
Yep, that worked. Most of the errors have gone now. One other thing I have noticed is the default message for under process media. The message has changed after the update. Can we change it? This is what we are getting now This is what it was previously
We have upgraded Kaltura from 10.0.1 to 13.0.1. After alot of problems we were able to make it run but now we have a small issue with one of our thumbnails. We are not getting the audio thumbnail anymore. So either the file is missing on the server or we have some permission issue. I have tried to re-install kaltura-html5lib but nothing changed. I have run front-config also after updating html5lib. Our /opt/kaltura/web is a symlink to another folder located on a different drive /home/kaltura/kaltura/web/
Here is what we are getting This is what we should have
Here are the contents of /home/kaltura/kaltura/web/
Some output from kaltlog
libs versions
Here are contents of /opt/kaltura/web/content/templates/entry/data/