Moving data folder

Message boards : Questions and problems : Moving data folder
Message board moderation

To post messages, you must log in.

AuthorMessage
Zalster

Send message
Joined: 8 Aug 14
Posts: 135
United States
Message 55260 - Posted: 8 Aug 2014, 3:47:02 UTC
Last modified: 8 Aug 2014, 4:19:30 UTC

Wanted to see if anyone has any ideas. I'm following the instructions at the following

http://boinc.berkeley.edu/wiki/Tools_for_Mac_OS_X#Moving_BOINC_Manager_or_BOINC_Data_Folder_to_a_Different_Drive

I've been able to move the data to an external HD and was able to make the link in the Application Support. However after that is where I run into problems. Step 5

[
5] IMPORTANT: you must create symbolic links. Macintosh aliases created with the Finder will not work!
Run the script Mac_SA_Secure.sh to set up proper permissions at the new locations. Enter the following in the Terminal application:
cd "{newDataPath}/BOINC Data"
sudo sh "{path}/Mac_SA_Secure.sh"


Zalsters-Computer:~ Zalster$ cd /Volumes/Seagate/BOINC\ Data/projects/setiweb.ssl.berkeley.edu_beta
Zalsters-Computer:setiweb.ssl.berkeley.edu_beta Zalster$ sudo sh /Users/Zalster/Desktop/Mac_SA_Secure.sh
Changing directory /Volumes/Seagate/BOINC Data/projects/setiweb.ssl.berkeley.edu_beta file ownership to user and group boinc_master - OK? (y/n)
y
Can't find switcher application in directory /Volumes/Seagate/BOINC Data/projects/setiweb.ssl.berkeley.edu_beta; exiting


At this point I've tried relaunching BOINC and get the permissions need to be fixed. If I launch the BOINC installer, it completes and then I still get the error about permissions and needing to reinstall. I've tried the above and the second time type N but it still does the same thing. I've tried moving the Mac_SA_Secure.sh to Documents on my internal HD posting the path, I've moved it to the external HD thinking maybe I need it in the BOINC Data and even into the setiweb.ssl.berkeley.edu_beta folder and posting the path. Still no go.

One of my fellow crunchers tried to help (thanks TBar) but I still can't get it to work. Here is what I tried

Zalsters-Computer:setiweb.ssl.berkeley.edu_beta Zalster$ sudo chown boinc_master *
Zalsters-Computer:setiweb.ssl.berkeley.edu_beta Zalster$ sudo chgrp boinc_project *

Note nothing happen when I typed in the commands. I removed the space between the end of the word and * and got the following

Zalsters-Computer:setiweb.ssl.berkeley.edu_beta Zalster$ sudo chown boinc_master*
usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhv] [-R [-H | -L | -P]] :group file ...
Zalsters-Computer:setiweb.ssl.berkeley.edu_beta Zalster$ sudo chgrp boinc_project*
usage: chgrp [-fhv] [-R [-H | -L | -P]] group file ...


At this point I tried run BOINC and got the permissions error again. Tried BOINC installer and still no joy.
Any ideas? anyone?

Edit
Error message is

BOINC Ownership or permissions are not set properly; please
reinstall BOINC
(Error code -1022)
ID: 55260 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 55262 - Posted: 8 Aug 2014, 8:11:39 UTC - in response to Message 55260.  

Which Boinc version is this with?
ID: 55262 · Report as offensive
Zalster

Send message
Joined: 8 Aug 14
Posts: 135
United States
Message 55263 - Posted: 8 Aug 2014, 12:03:27 UTC - in response to Message 55262.  

BOINC 7.2.42 Darwin 13.3.0
ID: 55263 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 55265 - Posted: 8 Aug 2014, 15:02:59 UTC

Could you test with 7.4.12 if this is repeatable? That version has changes to the switcher app, and to the use of the limited user accounts.

Macintosh 7.4.12
- boinc_7.4.12_macOSX_i686.zip
- boinc_7.4.12_macOSX_SymbolTables.zip
- boinc_7.4.12_i686-apple-darwin.zip
ID: 55265 · Report as offensive
Zalster

Send message
Joined: 8 Aug 14
Posts: 135
United States
Message 55268 - Posted: 8 Aug 2014, 15:54:50 UTC - in response to Message 55265.  
Last modified: 8 Aug 2014, 16:33:25 UTC

No change between the 2 versions. Installed and placed in the appropriate folders, restart. Still no joy with trying to access the data base on the removable HD. Still with permissions error. Think I'm going to try and install OSX onto the external HD and then see if I can install BOINC onto that driver afterwards. Be back in a little bit

OK, I messed it up. I did something I shouldn't have. I connected to the beta project before I moved the BOINC data folder. I just started from scratch and deleted EVERYTHING. Reinstalled BOINC, after restart. I stopped it before I connected to a project. Moved the BOINC Data folder and made the link, then changed the directory, did the permissions. Restarted and BOINC came up, connected to the beta site and it downloaded and reset the project for those lost work units so now it is happy.

Thanks for the help

Zalster
ID: 55268 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 55269 - Posted: 8 Aug 2014, 16:31:38 UTC - in response to Message 55268.  

I forwarded this to the developer for the Mac.
ID: 55269 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 55271 - Posted: 8 Aug 2014, 17:02:24 UTC

One should be able to move the data directory with everything in it without problems, so it's still a thing the developers need to look at.
ID: 55271 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 55280 - Posted: 8 Aug 2014, 21:22:53 UTC - in response to Message 55260.  

This is probably what went wrong.

The instructions:

Run the script Mac_SA_Secure.sh to set up proper permissions at the new locations. Enter the following in the Terminal application:
cd "{newDataPath}/BOINC Data"
sudo sh "{path}/Mac_SA_Secure.sh"


And what you did:

cd /Volumes/Seagate/BOINC\ Data/projects/setiweb.ssl.berkeley.edu_beta


So the instructions tell you to run the script in the root of BOINC's data directory but you ran it in a project directory.
ID: 55280 · Report as offensive
Zalster

Send message
Joined: 8 Aug 14
Posts: 135
United States
Message 55298 - Posted: 9 Aug 2014, 15:15:04 UTC - in response to Message 55280.  

True, I did that later. Initially I did have it in the root of the BOINC's data directory. I moved it later to the project data after a friend suggested that I point it there. Neither allowed me to complete the move and get BOINC up and running. What resolved the problem (I had joined a project before I moved the data folder) was to delete everything and start again. This time when I moved BOINC Data (prior to joining any project) it allowed me to continue and finish the move and BOINC started without any problems. After that it worked ok. There is a new issue that I found but it is easily resolved. Some background first. I did this for my laptop as I have an internal SSD drive and I didn't want to burn it out with all the writing and rewriting, so I attached an external drive (much easier to replace and cheaper). I don't run the project all the time, only for a few hours each day. I found that when I turn off the project, close up my laptop (sleep) and go home. Upon awaking and restarting BOINC, I have to use the BOINC installer again each time to correct the permissions. Not a big deal but it makes me pin the installer to my dashboard. Thanks

Zalster
ID: 55298 · Report as offensive
Profile Gattorantolo [Ticino]
Avatar

Send message
Joined: 24 Aug 14
Posts: 6
Switzerland
Message 55560 - Posted: 24 Aug 2014, 16:24:01 UTC - in response to Message 55298.  
Last modified: 24 Aug 2014, 16:28:18 UTC

I have the same problem but i`m not able to do this :-(
My Mac is running without the Boin manager now :-(
ID: 55560 · Report as offensive
Profile Gattorantolo [Ticino]
Avatar

Send message
Joined: 24 Aug 14
Posts: 6
Switzerland
Message 55646 - Posted: 27 Aug 2014, 8:39:10 UTC - in response to Message 55560.  

Can you tell us when is possible to install Boinc whitout problems on Mac?
ID: 55646 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 55648 - Posted: 27 Aug 2014, 14:38:07 UTC - in response to Message 55646.  

You were answering yourself. I take it you have some problem? If so, can you please elaborate, instead of just posting "I have the same problem"? The problem in this thread was that the user who did the install used the move directory command wrong. Are you saying you did that wrong as well?

Taking http://boinc.berkeley.edu/wiki/Tools_for_Mac_OS_X#Moving_BOINC_Manager_or_BOINC_Data_Folder_to_a_Different_Drive alongside, did you follow these steps? If not, try to do these first.

If you did, where does it go wrong for you?
On what kind of Mac, what OS X version?
With which version of BOINC?
ID: 55648 · Report as offensive
Profile Gattorantolo [Ticino]
Avatar

Send message
Joined: 24 Aug 14
Posts: 6
Switzerland
Message 55651 - Posted: 27 Aug 2014, 15:08:15 UTC - in response to Message 55648.  

You were answering yourself. I take it you have some problem? If so, can you please elaborate, instead of just posting "I have the same problem"? The problem in this thread was that the user who did the install used the move directory command wrong. Are you saying you did that wrong as well?

Taking http://boinc.berkeley.edu/wiki/Tools_for_Mac_OS_X#Moving_BOINC_Manager_or_BOINC_Data_Folder_to_a_Different_Drive alongside, did you follow these steps? If not, try to do these first.

If you did, where does it go wrong for you?
On what kind of Mac, what OS X version?
With which version of BOINC?

Sorry, but i am not able to do a manual installation like that if boinc can`t attach to a any project :-(
The default installation is going without problems, but i can`t attach any project (work buffer 2 days!)
The Boinc manager say me i have to tray later…and that since 2 month…
iMac 27" with Mac OSX 10.7.5
Boinc version 7.2.42 (i tried the new version with the same result…)
ID: 55651 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 55653 - Posted: 27 Aug 2014, 15:29:42 UTC - in response to Message 55651.  

So you aren't trying to move the data directory and aren't trying to move BOINC Manager? If you aren't trying to move anything, your query has not much to do with the thread you posted in, and would best be handled separately in a thread of its own. In that case, please go to the forum index https://boinc.berkeley.edu/dev/forum_forum.php?id=10 and click on New Thread.

In that thread post information on what your problem is, be as elaborate as possible, tell about any or all errors you see. Tell of the OS X version you run and the BOINC version.

Why do so in a separate thread? Because any next person searching for a similar problem may find his answer easier when he doesn't have to trawl to a totally unrelated thread first to get to his answer(s).
ID: 55653 · Report as offensive

Message boards : Questions and problems : Moving data folder

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.