OpenConnect (OSX APP)

i just get this by following the readme.txt :

Last login: Wed Feb  5 20:01:17 on ttys000

ives-macmini:PlexConnect iveflammang$ sudo su

sh-3.2# mkdir -p /update/OSX

sh-3.2# /Users/iveflammang/Desktop/PlexConnect/update/OSX 

sh: /Users/iveflammang/Desktop/PlexConnect/update/OSX: is a directory

sh-3.2# /Users/iveflammang/Desktop/PlexConnect/update/OSX 

sh: /Users/iveflammang/Desktop/PlexConnect/update/OSX: is a directory

sh-3.2# cd /Users/iveflammang/Desktop/PlexConnect/update/OSX 

sh-3.2# chmod +x install.bash

sh-3.2# ./install.bash

usage: git [--version] [--help] [-c name=value]

           [--exec-path[=]] [--html-path] [--man-path] [--info-path]

           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]

           [--git-dir=] [--work-tree=] [--namespace=]

           []

 

The most commonly used git commands are:

   add        Add file contents to the index

   bisect     Find by binary search the change that introduced a bug

   branch     List, create, or delete branches

   checkout   Checkout a branch or paths to the working tree

   clone      Clone a repository into a new directory

   commit     Record changes to the repository

   diff       Show changes between commits, commit and working tree, etc

   fetch      Download objects and refs from another repository

   grep       Print lines matching a pattern

   init       Create an empty Git repository or reinitialize an existing one

   log        Show commit logs

   merge      Join two or more development histories together

   mv         Move or rename a file, a directory, or a symlink

   pull       Fetch from and merge with another repository or a local branch

   push       Update remote refs along with associated objects

   rebase     Forward-port local commits to the updated upstream head

   reset      Reset current HEAD to the specified state

   rm         Remove files from the working tree and from the index

   show       Show various types of objects

   status     Show the working tree status

   tag        Create, list, delete or verify a tag object signed with GPG

 

'git help -a' and 'git help -g' lists available subcommands and some

concept guides. See 'git help ' or 'git help '

to read about a specific subcommand or concept.

IF YOU CANCELED THE INSTALLATION OF GIT RERUN THIS SCRIPT. DO NOT CONTINUE UNTIL GIT IS INSTALLED YOU HAVE BEEN WARNED!

PROCEED ONLY IF YOU INSTALLED GIT PRIOR

sh-3.2# 

Install the app and you should be ready to go.

does the 'sudo ./PlexConnect_daemon.bash status' script work to give the correct status with open connect?

launchctl list | grep com.plex.plexconnect.bash


This is what is used by OpenConnect to determine the status more so in Webconnect. You can easily run that in terminal to see that status or if you visit your local ip in a browser and it says error response this means plexconnect is running also. For example:

http://192.168.1.101


The other command may work as well I just typically use these for status or webconnect.

I have uploaded a video tutorial to my dropbox. Link on OP (first post). DO NOT view the video from dropbox it is unwatchable, download it so you can watch it in HD from dropbox. Click the movie icon then look in the lower right corner for the download option. You will need to generate certs using openconnect's guide option or copy your old certs into the cloned github e.g. /Applications/PlexConnect/assets/certficates prior to installing plexconnect on your mac.

In 5min flat I cloned, installed, and updated plexconnect using just OpenConnect, terminal, safari, and finder. I hope this helps guide everyone to install this app if desired.

 

Stay tuned, WebConnect video tutorial coming soon :D

It is just too funny that even your videos are confusing :ph34r:  - don't get me wrong great effort and I personally understand what you are doing, but I'm sure that less-adepts will have problem following this stuff. 
 

Step 1 will fail for most first-time users, as the video assumes that git is installed on a Mac... 

Somewhere in the end, I have seen 3 popups with "plexconnect updated"...ok how and why is that ?

You may want to consider to built-in less exceptions in your stories; if your story starts with NOTE, IF, ELSE...nobody will use it.. 

And in case one has installed git, their installation would have been faster just on the commandline with cloning, createcert, pointing the aTV to the cert, start plexconnect or am I missing something ?

I would imagine anyone could install this by following the video on the first post. When you run ./install.bash it will prompt you to install git if its not installed. It did not on mine since I obviously already have git installed.


post-137692-0-16687500-1389879239.jpg <------click install if prompted


It says it updated plexconnect by doing the following without you even knowing:


stopping plexconnect(unloading the plist via launchctl)—>updating the main code if available (git pull)---->then restarting plexconnect (loading the plist via launchctl)


Why use a plist you ask? Unless you enjoy manually starting ./plexconnect.py everytime you use plexconnect. The plist allows plexconnect to load @ boot automatically on osx and also enables easy updates via OpenConnect’s built-in updater option. You can simply stop plexconnect using the expert option using OpenConnect not that you really would need to since OpenConnect has a built-in updater function but to each their own.


Remember this is a easy video tutorial to guide everyone to install this app only if desired. I also re-did the video to demo a full install. What you are missing is the plist being installed among other things behind the scenes when you run ./install.bash it installs a bunch of scripts to allow the app to function. You can look at what it does if you want by visiting this link to look at the code for install.bash:

https://github.com/wahlmanj/PlexConnect/blob/master/update/OSX/install.bash

wahlman just helped me installing. It's really amazing. I can update easily and from any device :)

I'm now putting shortcuts and can update plexconnect from the kitchen :) This is really amazing. Thanks so much again and you all have to try it guys! :)

WebConnect video tutorial posted on the OP. Updated the readme.md on my GitHub for easier installation.

@wahlman.j why not let people install git from git-scm using a dmg as pre-requisite ? 

using your steps, it will require xcode and whatnot.

Xcode is not needed for OpenConnect/WebConnect to function. If you click install it will only install git not Xcode as it shows in post #127. If for any reason git does not prompt it’s installation you can install git manually via a .dmg from here:

http://git-scm.com/download/mac


Post #121 is an example of git properly installed. Everyone should have git installed regardless of using any app in order to update the code so I don’t really count that as a step for installing my app.

You can now install PlexConnect completely from the app. Terminal has been completely eliminated unless you don’t have git and OpenConnect doesn’t prompt you for some reason to install git during the guided installation. If not install git from here then relaunch the app. (A good indicator that git is not installed is that the app will fail)

http://git-scm.com/download/mac


If you have the old app you can update via the app to the new app or from the OP :smiley:


I will redo the guides later, sleep is required.


Note - Remember to stop plexconnect and or unload any plists via launchctl prior to installation or if comming from a different app. Backup your old certs and settings.cfg and copy them to the proper locations in the default folder location /Applications/Plexconnect if needed.

You can now install PlexConnect completely from the app. Terminal has been completely eliminated unless you don't have git and it doesn't prompt you for some reason if not install git from here then re-launch the app.

http://git-scm.com/download/mac

If you have the old app you can update via the app to the new app :D

I will redo the guides later, sleep is required.

Nice!

Testers If this app works now without terminal as I intended please let me know. Your feedback is appreciated. Also please post your OSX version. :smiley:

*Testers* If this app works now without terminal as I intended please let me know. Your feedback is appreciated. Also please post your OSX version. :D

Hi,

If I dont have either Plexconnect or Openconnect installed where is a good point to start? I have a brand new ATV3.

Sorry about my ignorance.

Download OpenConnect from the first post in this topic and use the guide option. It will guide you from start to finish to install plexconnect on your mac and how to load certs on your Apple TV. If this is your first run ever of OpenConnect complete the guide then open OpenConnect again to guide you how to install the certs on the atv. I will fix that in a new app update so other new users won’t have to deal with that to avoid confusion.

Download OpenConnect from the first post in this topic and use the guide option. It will guide you from start to finish to install plexconnect on your mac and how to load certs on your Apple TV. If this is your first run ever of OpenConnect complete the guide then open OpenConnect again to guide you how to install the certs on the atv. I will fix that in a new app update so other new users won't have to deal with that to avoid confusion.

I have nothing installed on my mac mini. I dowloaded the OpenConnect.zip file from dropbox.. I do "install cert" the it ask me for my root password  then I get "The action Run AppleScript" encountered an error.

Ok I implemented the guide option to avoid confusion on new installs. Im getting that also on one of my macs I just noticed but the other it works fine. Out of curiosity did you copy OpenConnect to applications?

Ok I implemented the guide option to avoid confusion on new installs. Im getting that also on one of my macs I just noticed but the other it works fine. Out of curiosity did you copy OpenConnect to applications?

Hi,

I just move the app to the applications folder and I am still getting the same message.

Im looking into it, weird that it would work on one but not the other even though its the same osx version on both macs.


You have git installed I assume?