Posted on 08-02-2019 03:43 PM
I'm trying to make Panopto 7.0.0 available on Self Service, however, it always seems to error out at the very end. After digging through some logs, I found that the installer should prompt the user with the message in the title (due to Mojave's "enhanced" security) and that is were Jamf is calling the error. Is there a way to get this to work through Self Service? I have tried to script a better installation for the Panopto package but I can't seem to get it to actually function correctly afterwards (in-app upload always breaks). Any help would be much appreciated.
Solved! Go to Solution.
Posted on 08-08-2019 09:53 PM
This is down to the installer package creating a user account using dscl
which gets intercepted by PPPC/TCC. FWIW Panopto is the only app I know of that creates its own user account to do stuff in the background (upload video) - highly peculiar. Anyway...
Props to macdude22 on the Slack who came up with this script that does the needful before you install the package (so run it in the same policy as a Before action):
https://macadmins.slack.com/files/U08E367K8/FLXDADVAS/fix_panopto.sh
Posted on 08-08-2019 09:53 PM
This is down to the installer package creating a user account using dscl
which gets intercepted by PPPC/TCC. FWIW Panopto is the only app I know of that creates its own user account to do stuff in the background (upload video) - highly peculiar. Anyway...
Props to macdude22 on the Slack who came up with this script that does the needful before you install the package (so run it in the same policy as a Before action):
https://macadmins.slack.com/files/U08E367K8/FLXDADVAS/fix_panopto.sh
Posted on 08-15-2019 06:21 AM
That worked perfectly!! Thank you!
Posted on 09-04-2019 10:31 AM
Thanks worked for MacOS 10.14.6 did not work on my Catalina Beta 10.15 (19A546d) test machine.
Posted on 10-15-2019 04:58 PM
@mmcchesney have you had any luck with Panopto and Catalina?
Posted on 02-25-2020 06:11 PM
@mmcchesney i am having issue with Panopto and like to know if you found any solution for it. Using PPPC to Allow the Screen Capture in Security and Privacy doesn't work and it is only Deny can be selected and that is stopping us to deploy the the application to our staff as it need admin authentication to add[Allow] Screen Capture in Security and Privacy.
Posted on 06-16-2020 10:01 AM
@raghdasi @mmcchesney @neil.martin83 did you guys ever figure out the Panopto installation issue via Self Service?
Panopto version 7.2.0
i'm testing on mojave (did not use the script the neil.martin provided), when i run it via SS i get a popup that says 'FAILED TO GET THE REQUIRED PERMISSION. RERUN THE INSTALLER AND ALLOW REQUESTED OPERATION'
is this message what that script is supposed to take care of?
Posted on 06-16-2020 10:30 AM
I just was able to succesfully install Panopto 7.2.0 by adding that script to run 'before' the Panopto pkg. From the Panopto help web page for mac instructions i see the following information for 10.14 Mojave (see picture). So this is what the script takes care of from displaying?
now what about macOS 10.15 Catalina?
I wonder if 10.13 will install Panopto via self service without the script?
![optional image ALT text](
)
Posted on 06-16-2020 10:43 AM
I believe the script is removing the SERVER that my organization has setup when the installer installs. Now i have to enter the server information when it should be setup already.
Posted on 06-16-2020 10:48 AM
I'm afraid I haven't tested with Catalina and I'm not deploying it where I work now.
I would say the best option is to push back to the vendor's support and get them to fix their package so it can accomplish what it needs to do without running a script calling commands that don't have permission due to PPPC. I know they are aware of folks who need to mass-deploy it, but can't.
I believe the script is removing the SERVER that my organization has setup when the installer installs. Now i have to enter the server information when it should be setup already.
It doesn't. This is set in the package's filename when you download it from Panopto (the postinstall derives your server address from that). If you rename the package, then it won't set your server.
Alternatively, (with a proper Apple-native method) you can set it in a Configuration Profile, like this one, for example:
Posted on 06-16-2020 11:35 AM
@neil.martin83 Yes I had a feeling it was probably because I change the package name when I downloaded it from our organization.
I mentioned it to our support to contact the vendor
Posted on 06-16-2020 11:37 AM
@tcandela aye, sadly, pushing back to the vendors is really the only way to get this stuff fixed, vs hacking our own unsupported solutions.
Posted on 06-16-2020 11:59 AM
@neil.martin83 yeah, i don't like adding scripts to hack with getting packages like this installed
Posted on 06-17-2020 03:54 AM
@neil.martin83 have you ever used that application called Packages to make mac packages?
With Panopto installed on the system with Packages installed, simply run the Packages application, choose the applications folder in the user interface, choose the installed Panopto and build the package.
Im going to try this and test out the resulting pkg on each macOS 10.13 thru 10.15
Posted on 06-17-2020 04:01 AM
@tcandela Panopto requires the hidden user account its package postinstall script creates, as the app uses this for background uploading when the user logs out etc. Because of that, repackaging the app by itself won't work.
Posted on 06-17-2020 05:42 AM
@neil.martin83 so if a second user logs in to a computer with Panopto installed does it work the same as it does for the original user who logged in an installed it?
Posted on 06-17-2020 05:46 AM
@tcandela If you install the original package, yes. I was describing the behaviour where the installer creates a user account called panopto_upload, which the app requires to work.
Posted on 10-08-2020 03:20 AM
Hi all,
FYI we have had the same issue, apparently work was done to make the web based version work for this, which is how we use it. I don't know if this was work done specifically for my company or a wider implementation, but might be worth trying this if you still get issues.
Good luck!
Posted on 02-15-2021 12:29 PM
I'm wondering if anyone thought about trying:
/usr/local/bin/jamf createAccount -username panopto_upload -realname panopto_upload -home /var/panopto -shell /sbin/nologin -hiddenUser
Before installing, because that works for me.
Posted on 10-19-2021 05:35 AM
I know I'm necroing this thread, but I had to give kudos to wakco for this suggestion. I've been pulling my hair out trying to get user creation to work with secure token on OS 10.15 & 11 with no luck. sysadminctl now requires "Terminal" to have access to control your computer, but simply granting access via PPPC doesn't work. There's some other component that's actually requesting access but I can't figure out exactly what that is. The simple solution was to use the jamf binary to create the account, then use sysadminctl to enable the secure token. Bam, easy and no security popups because jamf binary already has a profile allowing access.