This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.
Trouble running from a non-admin account
Hi,
I download and install this Beta version with an admin account on my Mac.
But I work on my Mac with a regular user account and when I start 1PasswordBeta with this account the program crash direct after the start.
Greetings,
Bernd
I download and install this Beta version with an admin account on my Mac.
But I work on my Mac with a regular user account and when I start 1PasswordBeta with this account the program crash direct after the start.
Greetings,
Bernd
Flag
0
Comments
-
Hi Bernd,
The installation script script is written to run under the admin account. If you are running as a regular user, please re-run the asctl commands with sudo:
[CODE]
sudo /usr/bin/asctl container acl add -file /Applications/1PasswordBeta.app
sudo /usr/bin/asctl container acl add -file /Applications/1PasswordBeta.app/Contents/Library/LoginItems/1Password\ Helper.app
sudo /usr/bin/asctl container acl add -file /Applications/1PasswordBeta.app/Contents/Library/LoginItems/1Password\ Helper.app/Contents/XPCServices/ThumbnailService.xpc`
[/CODE]
These commands will make sure that both beta and the official App Store version can access to the container folders without crashing.Flag 0 -
[quote name='luke1970' timestamp='1327084672' post='57521']
Hi, must I run this scripts as regular user?
[/quote]
Yes.
Please try to run them without sudo first and see if that is enough:
[CODE]
sudo /usr/bin/asctl container acl add -file /Applications/1PasswordBeta.app
sudo /usr/bin/asctl container acl add -file /Applications/1PasswordBeta.app/Contents/Library/LoginItems/1Password\ Helper.app
sudo /usr/bin/asctl container acl add -file /Applications/1PasswordBeta.app/Contents/Library/LoginItems/1Password\ Helper.app/Contents/XPCServices/ThumbnailService.xpc`
[/CODE]Flag 0 -
Ok, first command I become this output:
[CODE]
asctl: unable to read container for /Applications/1PasswordBeta.app: The file “Container.plist” couldn’t be opened because there is no such file.
[/CODE]
After the second command:
[CODE]
asctl: unable to read container for /Applications/1PasswordBeta.app/Contents/Library/LoginItems/1Password Helper.app: The file “Container.plist” couldn’t be opened because there is no such file.
[/CODE]
And after the third command:
[CODE]
>
>
>
>
>
>
>
>
>
>
>
>
>
[/CODE]Flag 0 -
Thank you for the update.
This is very strange. Please see if you have the Container.plist file:
1. Open Finder
2. Select "Go > Go to Folder" menu.
3. Type ~/Library/Containers
You should see 3 folders that start with "com.agilebits" and Container.plist files inside them:
[img]https://img.skitch.com/20120121-jbafh6qhucaufmm83p93urp4sy.png[/img]Flag 0 -
[quote name='roustem' timestamp='1327100631' post='57537']
Thank you for the update.
This is very strange. Please see if you have the Container.plist file:
1. Open Finder
2. Select "Go > Go to Folder" menu.
3. Type ~/Library/Containers
You should see 3 folders that start with "com.agilebits" and Container.plist files inside them:
[/quote]
Morning,
com.agilebits.onepassword-osx and com.agilebits.onepassword-osx-helper are in this folder but not com.agilebits.onepassword-osx-thumbs.
Greetings,
BerndFlag 0 -
[quote name='roustem' timestamp='1327084907' post='57522']
Yes.
Please try to run them without sudo first and see if that is enough:
[/quote]
Sorry, but the problem is always here. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_sadsmile.png' class='bbc_emoticon' alt=':-(' />Flag 0 -
[quote name='luke1970' timestamp='1327160645' post='57566']
Sorry, but the problem is always here. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_sadsmile.png' class='bbc_emoticon' alt=':-(' />
[/quote]
Thank you for the update!
Do you sync your data with Dropbox or it is stored in the Container folder? If you do sync with the Dropbox then it might be easier to simply delete the container folders.Flag 0 -
Hi,
I don't use Dropbox. I have only local database (and missing WiFi sync between two Mac <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' /> )
The problem is: I delete the old beta version yesterday (move to trash) and I can't download the new beta version:
[CODE]
Last login: Sun Jan 22 11:03:44 on console
curl http://i.agilebits.com/dist/1P/mas/run_onepassword_beta.rb | /usr/bin/ruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1522 100 1522 0 0 406 0 0:00:03 0:00:03 --:--:-- 23415
Downloading new build of 1PasswordBeta...
rm: /tmp/1PasswordBeta.app/Contents/_CodeSignature/CodeResources: Permission denied
rm: /tmp/1PasswordBeta.app/Contents/_CodeSignature: Permission denied
rm: /tmp/1PasswordBeta.app/Contents/Import/1Password_Interchange_File_(.1pif).rb: Permission denied
.
.
.
rm: /tmp/1PasswordBeta.app/Contents/Resources/zh-TW.lproj/WiFiSyncAuth.strings: Permission denied
rm: /tmp/1PasswordBeta.app/Contents/Resources/zh-TW.lproj/WiFiSyncDetailView.strings: Permission denied
rm: /tmp/1PasswordBeta.app/Contents/Resources/zh-TW.lproj/WiFiSyncIPAddress.strings: Permission denied
rm: /tmp/1PasswordBeta.app/Contents/Resources/zh-TW.lproj: Permission denied
rm: /tmp/1PasswordBeta.app/Contents/Resources: Permission denied
rm: /tmp/1PasswordBeta.app/Contents: Permission denied
rm: /tmp/1PasswordBeta.app: Permission denied
rm: /tmp/1PasswordBeta.app.zip: Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file 1PasswordBeta.app.zip: Permission denied
0 11.2M 0 738 0 0 6067 0 0:32:22 --:--:-- 0:32:22 11353
curl: (23) Failed writing body (0 != 738)
replace 1PasswordBeta.app/Contents/_CodeSignature/CodeResources? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(assuming [N]one)
mv: rename /tmp/1PasswordBeta.app to /Applications/1PasswordBeta.app: Permission denied
Running asctl command for container folders...
asctl: unable to load code identity for /Applications/1PasswordBeta.app
asctl: unable to load code identity for /Applications/1PasswordBeta.app/Contents/Library/LoginItems/1Password Helper.app
asctl: unable to load code identity for /Applications/1PasswordBeta.app/Contents/Library/LoginItems/1Password Helper.app/Contents/XPCServices/ThumbnailService.xpc
Starting 1PasswordBeta...
The file /Applications/1PasswordBeta.app does not exist.
[/CODE]
This is a short extract from Terminal screen output. I can send you the complete output if you needed.
I try the download as admin user.Flag 0 -
Thank you for the log. It looks like 1PasswordBeta.app is still running and the script failed to remove the old version because of that.
Please try to terminate the app using Activity Monitor and then re-run the script. It is possible that the app is running under the different user.Flag 0 -
Hm, this is now very strange. I restart my MacBook and after that I can install 1PasswordBeta without problems.
Also the terminal commands.
1PasswordBeta runs fine here now. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />
Great. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />
And very thanx for your patience.
Greetings,
BerndFlag 0