{"action":"created","issue":{"url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/432","labels_url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/432/comments","events_url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/432/events","html_url":"https://github.com/kaltura/platform-install-packages/issues/432","id":99377220,"number":432,"title":"install of kaltura-base asks for a password.","user":{"login":"krischik","id":685853,"avatar_url":"https://avatars.githubusercontent.com/u/685853?v=3","gravatar_id":"","url":"https://api.github.com/users/krischik","html_url":"https://github.com/krischik","followers_url":"https://api.github.com/users/krischik/followers","following_url":"https://api.github.com/users/krischik/following{/other_user}","gists_url":"https://api.github.com/users/krischik/gists{/gist_id}","starred_url":"https://api.github.com/users/krischik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krischik/subscriptions","organizations_url":"https://api.github.com/users/krischik/orgs","repos_url":"https://api.github.com/users/krischik/repos","events_url":"https://api.github.com/users/krischik/events{/privacy}","received_events_url":"https://api.github.com/users/krischik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T07:39:24Z","updated_at":"2015-08-06T12:32:05Z","closed_at":null,"body":"When installing kaltura-base it asks for *a password* without indication which one.\r\n\r\n\r\n```\r\n>sudo aptitude install kaltura-base\r\nThe following NEW packages will be installed:\r\n  kaltura-base libmcrypt4{a} monit{a} php5-curl{a} php5-mcrypt{a}\r\n0 packages upgraded, 5 newly installed, 0 to remove and 1 not upgraded.\r\nNeed to get 0 B/79,9 MB of archives. After unpacking 192 MB will be used.\r\nDo you want to continue? [Y/n/?] y\r\nPreconfiguring packages ...\r\nSelecting previously unselected package libmcrypt4.\r\n(Reading database ... 60701 files and directories currently installed.)\r\nPreparing to unpack .../libmcrypt4_2.5.8-3.3_amd64.deb ...\r\nUnpacking libmcrypt4 (2.5.8-3.3) ...\r\nSelecting previously unselected package monit.\r\nPreparing to unpack .../monit_1%3a5.9-1_amd64.deb ...\r\nUnpacking monit (1:5.9-1) ...\r\nSelecting previously unselected package php5-curl.\r\nPreparing to unpack .../php5-curl_5.6.9+dfsg-0+deb8u1_amd64.deb ...\r\nUnpacking php5-curl (5.6.9+dfsg-0+deb8u1) ...\r\nSelecting previously unselected package php5-mcrypt.\r\nPreparing to unpack .../php5-mcrypt_5.6.9+dfsg-0+deb8u1_amd64.deb ...\r\nUnpacking php5-mcrypt (5.6.9+dfsg-0+deb8u1) ...\r\nSelecting previously unselected package kaltura-base.\r\nPreparing to unpack .../kaltura-base_10.16.0-2+b2_all.deb ...\r\nUnpacking kaltura-base (10.16.0-2+b2) ...\r\nProcessing triggers for man-db (2.7.0.2-5) ...\r\nProcessing triggers for systemd (215-17+deb8u1) ...\r\nProcessing triggers for libapache2-mod-php5 (5.6.9+dfsg-0+deb8u1) ...\r\nSetting up libmcrypt4 (2.5.8-3.3) ...\r\nSetting up monit (1:5.9-1) ...\r\nSetting up php5-curl (5.6.9+dfsg-0+deb8u1) ...\r\nphp5_invoke: Enable module curl for cli SAPI\r\nphp5_invoke: Enable module curl for apache2 SAPI\r\nSetting up php5-mcrypt (5.6.9+dfsg-0+deb8u1) ...\r\nphp5_invoke: Enable module mcrypt for cli SAPI\r\nphp5_invoke: Enable module mcrypt for apache2 SAPI\r\nSetting up kaltura-base (10.16.0-2+b2) ...\r\nEnter password:\r\n```\r\n\r\nMy guess it is the database password. But it is not very user friendly. And soon after it fails with Issue #431"},"comment":{"url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/comments/128349693","html_url":"https://github.com/kaltura/platform-install-packages/issues/432#issuecomment-128349693","issue_url":"https://api.github.com/repos/kaltura/platform-install-packages/issues/432","id":128349693,"user":{"login":"jessp01","id":5270205,"avatar_url":"https://avatars.githubusercontent.com/u/5270205?v=3","gravatar_id":"","url":"https://api.github.com/users/jessp01","html_url":"https://github.com/jessp01","followers_url":"https://api.github.com/users/jessp01/followers","following_url":"https://api.github.com/users/jessp01/following{/other_user}","gists_url":"https://api.github.com/users/jessp01/gists{/gist_id}","starred_url":"https://api.github.com/users/jessp01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessp01/subscriptions","organizations_url":"https://api.github.com/users/jessp01/orgs","repos_url":"https://api.github.com/users/jessp01/repos","events_url":"https://api.github.com/users/jessp01/events{/privacy}","received_events_url":"https://api.github.com/users/jessp01/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T12:32:05Z","updated_at":"2015-08-06T12:32:05Z","body":"the kaltura-base postinst script should prompt you with several dialogues, as can be seen here:\r\n/var/lib/dpkg/info/kaltura-base.postinst\r\n/var/lib/dpkg/info/kaltura-base.templates\r\n\r\nIf it does not, it is possible you have:\r\nDEBIAN_FRONTEND=noninteractive\r\nset. In that case, you need to create a response file as per:\r\nhttps://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-deb-based.md#unattended-installation\r\n\r\nIf that is not the case, I suggest you edit /var/lib/dpkg/info/kaltura-base.postinst and change:\r\n#!/bin/bash\r\nto:\r\n\\#!/bin/bash -x\r\nrun:\r\n\\# dpkg-reconfigure kaltura-base\r\nand see what exactly is the flow you reach."}}