-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation error with kaltura-dwh #420
Comments
Hi @jdwolfe, Thank for you reporting an issue and helping improve Kaltura! To get the fastest response time, and help the maintainers review and test your reported issues or suggestions, please ensure that your issue includes the following (please comment with more info if you have not included all this info in your original issue):
and paste the output.
For general troubleshooting see: If you only have a general question rather than a bug report, please close this issue and post at: Thank you in advance, |
I have only attempted on one platform, Ubuntu 14.04.2 LTS on an AWS instance. Self-hosted.
2015-07-06 21:13:37 [244152819] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [PARTNER_-1_GROUP_*_PE RMISSION] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 21:13:37 [244152819] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [PARTNER_-1_GROUP_*_PE RMISSION] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 21:13:46 [2020521252] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [MEDIA_SERVER_BASE] f or partner [-1] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 21:14:11 [703073461] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [BATCH_BASE] for partn er [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 21:14:19 [789238477] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [BATCH_BASE] for partn er [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 21:14:24 [372088392] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 22:20:23 [1860596599] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [PARTNER_-1_GROUP_*_P ERMISSION] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 22:20:23 [1860596599] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [PARTNER_-1_GROUP_*_P ERMISSION] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 22:20:23 [1860596599] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [PARTNER_-1_GROUP_*_P ERMISSION] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 22:20:32 [1394185659] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [MEDIA_SERVER_BASE] f or partner [-1] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 22:20:56 [1510433181] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [BATCH_BASE] for part ner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 22:21:04 [134925571] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [BATCH_BASE] for partn er [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 #0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')2015-07-06 22:21:09 [831738184] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 |
Looks like the DB deployment did not fully complete. dpkg-reconfigure kaltura-db? It will prompt you about removing the DB, select yes and let the postinst recreate it. dpkg-reconfigure kaltura-basedpkg-reconfigure kaltura-batchAlso, before doing all that, make sure that: curl -I -v $SERVICE_URL/api_v3/returns correctly. There is a note about vhosts there.. |
I had uninstalled and reinstalled kaltura-db several times and it failed every time. Last few lines of the log file:
What should There are no vhosts installed. This is a blank AWS instance. |
SERVICE_URL is the domain/hostname your Kaltura instance is installed on. As far as DWH - how exactly does it fail? i.e, what is the May the source be with you, Jess Portnoy On Fri, 10 Jul 2015, Jeff Wolfe wrote:
|
It fails in the log snippet I posted.
The curl statement returns a 404 since there in nothing in /var/www/html (except the default Apache page) |
The document root should be /opt/kaltura/app/alpha/web and defined by This is done when installing the kaltura-front package. If you do not have this vhost configured, all will fail, including the Do you not have this vhost set up? May the source be with you, Jess Portnoy On Fri, 10 Jul 2015, Jeff Wolfe wrote:
|
It is quite possible you forgot to enable the multiverse report which caused kaltura-front to be skipped. May the source be with you, Jess Portnoy On Fri, Jul 10, 2015 at 8:47 AM -0700, "Jess Portnoy" <notifications@github.commailto:notifications@github.com> wrote: The document root should be /opt/kaltura/app/alpha/web and defined by This is done when installing the kaltura-front package. If you do not have this vhost configured, all will fail, including the Do you not have this vhost set up? May the source be with you, Jess Portnoy On Fri, 10 Jul 2015, Jeff Wolfe wrote:
Reply to this email directly or view it on GitHubhttps://github.com//issues/420#issuecomment-120441413. |
It looks like kaltura-front wasn't installed when I ran
I'm just going to scrap this instance and start over from the beginning. |
No need to scratch it.. I think you simply forgot to enable the multiverse May the source be with you, Jess Portnoy On Fri, 10 Jul 2015, Jeff Wolfe wrote:
|
Also, just pushed a new version of the script: I am closing this but feel free to update should you still have issues. |
Thanks for your patience and helping with this. I still can't get kaltura-dwh to install and it seems to be related to database problems.
I'm assuming that Same for Is this bad data in the DB or did some other repo not get installed correctly? |
I get an error when running the install_kaltura_all_in_1.sh script.
dpkg: error processing package kaltura-dwh (--configure):
subprocess installed post-installation script returned error exit status 11
In the log file everything looks good until ...
[2015-07-06 22:20:09]exception 'Exception' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'kaltura_sphinx_log.sphinx_log' doesn't exist' in /opt/kaltura/app/infra/log/KalturaLog.php:82
I can confirm that the table does exist:
+------------------------------+
| Tables_in_kaltura_sphinx_log |
+------------------------------+
| sphinx_log |
| sphinx_log_server |
+------------------------------+
I remove and reinstalled kaltura-db.
Any one know what I can do to fix this?
The text was updated successfully, but these errors were encountered: