simphax / eyetv-iptv-server

EyeTV->IPTV server for Kodi
15 stars 8 forks source link

Installation fails #1

Open conorhub opened 7 years ago

conorhub commented 7 years ago

I cannot install the eyetv-iptv mpkg on an a 10.6.8 laptop I'm using as a server. EyeTV runs fine on it. I've posted the install logs at the end of this message.

If it relates in any way, I can successfully install the vlc capture plugin (as requested in the pre-install instructions) but cannot tick the box to share to iPhone/iPad in EyeTV's preferences. It simply won't check. I've verified this same problem on my other mac running 10.11.6 and the latest EyeTV. The checkboxes are not greyed out but I cannot check them. I can check other checkboxes.

Install log:

Aug 17 19:13:46 mbp-nas Installer[431]: @(#)PROGRAM:Install  PROJECT:Install-596.1
Aug 17 19:13:46 mbp-nas Installer[431]: @(#)PROGRAM:Installer  PROJECT:Installer-430.1
Aug 17 19:13:46 mbp-nas Installer[431]: Hardware: MacBookPro2,2 @ 2.33 GHz (x 2), 2048 MB RAM
Aug 17 19:13:46 mbp-nas Installer[431]: Running OS Build: Mac OS X 10.6.8 (10K549)
Aug 17 19:13:46 mbp-nas Installer[431]: EyeTV IPTV Installer  Installation Log
Aug 17 19:13:46 mbp-nas Installer[431]: Opened from: /Users/mbp15/Public/Drop Box/EyeTV IPTV Installer.mpkg
Aug 17 19:13:50 mbp-nas Installer[431]: ================================================================================
Aug 17 19:13:50 mbp-nas Installer[431]: User picked Standard Install
Aug 17 19:13:50 mbp-nas Installer[431]: Choices selected for installation:
Aug 17 19:13:50 mbp-nas Installer[431]:     Install: "EyeTV IPTV Installer"
Aug 17 19:13:50 mbp-nas Installer[431]:     Install: "EyeTV IPTV Server"
Aug 17 19:13:50 mbp-nas Installer[431]:     Install: "EyeTV VLC Plugin"
Aug 17 19:13:50 mbp-nas Installer[431]:     Install: "EyeTV WifiAccess"
Aug 17 19:13:50 mbp-nas Installer[431]: ================================================================================
Aug 17 19:13:50 mbp-nas Installer[431]: Configuring volume "MacHD"
Aug 17 19:13:50 mbp-nas Installer[431]: Free space on "MacHD": 106.82 GB (106823933952 bytes).
Aug 17 19:13:50 mbp-nas Installer[431]: Create temporary directory "/var/folders/8+/8+7MZqdCHp4IqDok78zYOk+++TI/-Tmp-//Install.431q4xWfb"
Aug 17 19:13:50 mbp-nas Installer[431]: IFPKInstallElement (3 packages)
Aug 17 19:13:50 mbp-nas installd[436]: PackageKit: ----- Begin install -----
Aug 17 19:13:52 mbp-nas /System/Library/PrivateFrameworks/PackageKit.framework/Resources/shove[440]: [source=file] failed _RelinkFile(/var/folders/8+/8+7MZqdCHp4IqDok78zYOk+++TI/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/LaunchAgents/eyetv-iptv-server.plist, /Library/LaunchAgents/eyetv-iptv-server.plist): Permission denied
Aug 17 19:13:52 mbp-nas installd[436]: PackageKit: Install Failed: (null)\nError Domain=PKInstallErrorDomain Code=120 UserInfo=0x10013a020 "An unexpected error occurred while moving files to the final destination." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=13 "The operation couldn’t be completed. Permission denied") {\n    NSLocalizedDescription = "An unexpected error occurred while moving files to the final destination.";\n    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=13 \"The operation couldn\U2019t be completed. Permission denied\"";\n    arguments =     (\n        "-f",\n        "-s",\n        "/var/folders/8+/8+7MZqdCHp4IqDok78zYOk+++TI/Cleanup At Startup/PKInstallSandbox-tmp/Root",\n        "/"\n    );\n}
Aug 17 19:13:53 mbp-nas Installer[431]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Aug 17 19:13:53 mbp-nas Installer[431]: IFDInstallController 213D70 state = 7
Aug 17 19:13:53 mbp-nas Installer[431]: Displaying 'Install Failed' UI.
Aug 17 19:13:53 mbp-nas Installer[431]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
simphax commented 7 years ago

It seems like the installer don't have permission to access /Library/LaunchAgents . Make sure you install with an admin user and also try to create the folder if it does not exist. Perhaps you can also try to run chmod 700 /Library/LaunchAgents in Terminal. Please do one thing at a time and return here with what made it work (or if it didn't work).

conorhub commented 7 years ago

Thanks for the quick response simphax.

Make sure you install with an admin user I thought the mpkg prompted for admin rights the first time I opened it. It hadn't since, but I mistook that as having the admin rights established from the first install attempt. I don't think this is correct, and I may be mistaken that it asked for admin rights the first time. Create the folder if it does not exist It existed. Perhaps you can also try to run chmod 700 /Library/LaunchAgents After doing so, the installation still failed at the same point. I then tried to force the mpkg to run as admin through terminal (the only method I could find online): sudo installer -pkg /Volumes/someapp/someapp.mpkg -target /

Terminal noted that the install completed successfully and I saw that there was now a launchAgent in the folder it was having issues with earlier.

However, now that it's installed, it won't appear as a stream. I believe this is down to my inability to check 'Enable access for EyeTV from iPhone/iPad' or 'Share my EyeTV archive' in the preferences panel. If this is the case, it's an issue with EyeTV and not with your IPTV utility. There's barely any mention of the inability to check these boxes online and it appears to be a bug (as I'm sure the software would give some explanation otherwise).

Thanks for your help.

conorhub commented 7 years ago

simphax, my issue with being not able to tick 'Enable access for EyeTV from iPhone/iPad' was resolved by installing (the now discontinued) trial of EyeConnect. There is nowhere in EyeTV that appears to mention this is necessary, so it still seems odd, or badly thought out UX (EyeTV, not your software).

This may not seem to have significance with your IPTV software but I'm wondering if the option to tick 'Enable access for EyeTV from iPhone/iPad' only appears after the installation of EyeConnect or when an iPad or iPhone EyeTV software is detected on the network. If so, this might be something you would want to add to the pre-installation instructions. I have no iPad/iPhone EyeTV software and, having now removed EyeConnect, I cannot tick the 'Enable access for EyeTV from iPhone/iPad' checkbox again. If you have never installed EyeConnect or iPhone/iPad software then please ignore my suggestion. I am also posting this incase it helps anybody else having this issue with EyeTV when trying to install your IPTV software.