I’m installing KalturaCE v6.0.0 on CentOS 6.5 using the tutorial at Kaltura From GitHub. The only difference is that I haven’t built an installation package but I’ve downloaded the zip file and put its content into Apache folder (/var/www/html/).
When I run the ‘install.php’ my installation failed, this is my install_log file:
14.01.2014 16:37:25 INFO Installation started
14.01.2014 16:37:25 INFO Installing Kaltura
14.01.2014 16:37:25 USER Thank you for installing Kaltura Video Platform - Community Edition
14.01.2014 16:37:25 USER A previous installation attempt has been detected, do you want to use the input you provided during you last installation? (Y/n)
14.01.2014 16:37:26 INFO User input is
14.01.2014 16:37:26 INFO Using default value: y
14.01.2014 16:37:26 INFO Distribution: Description: CentOS release 6.5 (Final)
14.01.2014 16:37:27 INFO Sending install report
14.01.2014 16:37:27 INFO OS: Linux
14.01.2014 16:37:27 INFO OS: linux
14.01.2014 16:37:27 INFO OS: Linux
14.01.2014 16:37:27 USER Skipping user input, previous installation input will be used.
14.01.2014 16:37:27 INFO Defining installation tokens for config
14.01.2014 16:37:27 INFO Host name: kaltura-server.dromedian.it
14.01.2014 16:37:46 USER Verifing prerequisites
14.01.2014 16:37:46 USER Checking for leftovers from a previous installation
14.01.2014 16:37:46 USER Installation is now ready to begin. Start installation now? (Y/n)
14.01.2014 16:37:50 INFO User input is
14.01.2014 16:37:50 INFO Using default value: y
14.01.2014 16:37:50 USER Copying application files to /opt/kaltura
14.01.2014 16:37:50 USER current working dir is /var/www/html/kaltura/installer
14.01.2014 16:37:50 INFO Executing rsync -r --exclude web/content package/app/ /opt/kaltura
14.01.2014 16:37:51 ERROR Executing command failed: rsync -r --exclude web/content package/app/ /opt/kaltura
14.01.2014 16:37:51 ERROR Output from command is:
14.01.2014 16:37:51 ERROR End of Output
14.01.2014 16:37:52 INFO Sending install report
14.01.2014 16:37:52 USER Installation failed.
14.01.2014 16:37:52 USER Failed to copy application files to target directory
14.01.2014 16:37:52 USER For assistance, please upload the installation log file to the Kaltura CE forum at kaltura.org
Have you solutions? Thanks.
Thanks for your answer oferc.
If I run rsync command in terminal I have a no such file or directory error for package/app/.
Now I’ve built the installation package as indicated in the GitHub guide and then the rsync command run successfully but now I’ve another error:
15.01.2014 10:49:41 INFO Executing cp -r /opt/kaltura/app/configurations/admin.template.ini /opt/kaltura/app/configurations/admin.ini
15.01.2014 10:49:41 ERROR Executing command failed: cp -r /opt/kaltura/app/configurations/admin.template.ini /opt/kaltura/app/configurations/admin.ini
15.01.2014 10:49:41 ERROR Output from command is:
15.01.2014 10:49:41 ERROR End of Output
15.01.2014 10:49:41 ERROR Cannot replace token in file /opt/kaltura/app/configurations/admin.ini
15.01.2014 10:49:42 INFO Sending install report
15.01.2014 10:49:42 USER Installation failed.
15.01.2014 10:49:42 USER Failed to replace tokens in /opt/kaltura/app/configurations/admin.template.ini
15.01.2014 10:49:42 USER For assistance, please upload the installation log file to the Kaltura CE forum at kaltura.org
The problem is that the configurations folder doesn’t exist in /opt/kaltura/app/
Someone know if there is some bug in installation script or if I need to create the admin.ini file by hand?
After your suggestion I’ve repackaged the application, for check again the process, using the command:
php package.php /home/<username>/kaltura-installer false CE v6.0.0 dev
and I have had a problem similar to the problem encountered during the installation process:
PHP Warning: file_get_contents(/home//kaltura-installer//package/app/app/configurations/base.ini): failed to open stream: No such file or directory in /home/Kaltura/ce-packager/packaging/package.php on line 83
First: I’ve modified line 83 in the package.php file because there are two slashes in the path (…kaltura-installer//package…);
Second: package folder is a copy of package_skeleton folder in ce-packager/packaging/ (line 65 in the package.php file) and neither in the first one, neither in the second one exist configurations folder.
Note: ce-packager is the folder downloaded from https://github.com/kaltura/ce-packager
Now, may be that the configurations folder under kaltura-installer/package/app/app/ is the same under /opt/kaltura/app? (I haven’t found in the code where this folder is created)
If yes, I think that there are errors in package.php file or in the folder tree downloaded from GitHub.
Have someone had the same error? How can I resolve this?
url https://github.com/kaltura/ce-packager no longer available which you can use, have tried everything, but a installer does not find