Maybe try running as sudo?
It still failed with the same error.
Can you show your install command please @upstate
Iām not even getting past running the command below, with or without sudo added.
Try like this,
curl -sSL https://raw.githubusercontent.com/maidsafe/safeup/main/install.sh | sudo bash
Not sure if that is how you ran it with sudo
Perhaps your tmp directory or disk is full? Try running curl with -v option for more info.
Iāve just tried on a Mac and I can install safeup using that command.
Can you try running this:-
touch /tmp/testfile
And post the result. That will confirm if itās a permissions issue.
Odd that you canāt run it using sudo. Assuming you are doing what most people do which is allow their normal day to day user to run commands as root using sudo.
In fact, could you post the output of:-
sudo -l
to see what you are allowed to run using sudo?
Also, what version of OSX are you running? eg. āVentura 13.4.1ā. Itās the numbers that are the most help.
Just noticed this scrolling past on my cloud client
Successfully stored '100MB_66' to b84ff4fca386266558199ff1c09ef3db4406ec3a985fe180ebf2f85798ebbe6d
Storing file '100MB_63' of 10485760 bytes (22 chunk/s)..
Successfully stored '100MB_63' to bd93ddaca4a8b406c0d9a9bfc633fd32090bd8262af564be385208f9928a0526
Storing file '100MB_14' of 10485760 bytes (22 chunk/s)..
Successfully stored '100MB_14' to c50cb09763ba0d656dca57956564c4690619e971ca893948d86b7d8eea282fc7
Storing file '100MB_59' of 10485760 bytes (22 chunk/s)..
Did not store all chunks of file '100MB_59' to all nodes in the close group: Network Error Could not retrieve the record after storing it: Key(b"\x14\xd4\x85\xc1e\xabrq\xb5]\xedh\xc0\x02ayA\xff\xb0\x17\x06m\xaa\xc4\x0e\xa6\x84*&\x14r\x81").
Successfully stored '100MB_59' to c57eeb1a09381a2106d70a2dd399db44e49cd51ea6daa2dc43f0ec46bfc013f5
Storing file '100MB_72' of 10485760 bytes (22 chunk/s)..
Successfully stored '100MB_72' to cae53f154d2dcbe9ee507f28235a37984c2725f908888379dce59eebaa68ddf3
Did not store all chunks of file ā100MB_59ā to all nodes in the close group: Network Error Could not retrieve the record after storing it: Key(b"\x14\xd4\x85\xc1e\xabrq\xb5]\xedh\xc0\x02ayA\xff\xb0\x17\x06m\xaa\xc4\x0e\xa6\x84*&\x14r\x81").
@Josh, adding sudo didnāt help.
@TylerAbeoJordan donāt believe so.
david@david-Macmini:/tmp$ df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 390988 1916 389072 1% /run
/dev/sda3 479077064 14301124 440366648 4% /
tmpfs 1954928 0 1954928 0% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 390984 104 390880 1% /run/user/1000
@storage_guy The Mac was gifted with an unusable hard drive. I replaced it and installed Ubuntu. With that said I still ran the touch command and nothing occured.
No file was created? Perhaps sudo is configured incorrectly.
Maybe try su first then run the curl command. Or better still, just change from tmp to saving in home dir instead.
ā¦it made a testfile I didnāt see it at first. Sorry as well, because I feel this is some noob issue that Iām just not figuring out yet.
Donāt worry, we ALL faffed about the first couple of thousand times we messed with Linux.
I donāt think so - probably some config issue.
Can you post the output of:-
ls -al /tmp
That will enable troubleshooting of it being permissions issue.
Also,
df -h
I wonder if it is just that there isnāt space in /tmp.
Also,
sudo du -sh /tmp/*
Need the sudo for that one because there will surely be files and directories in /tmp that an unprivileged user canāt access.
More āDid not store all chunksā
Storing file '100MB_4' of 10485760 bytes (22 chunk/s)..
Did not store all chunks of file '100MB_4' to all nodes in the close group: Network Error Could not retrieve the record after storing it: Key(b"\xa7k\xe8\xcdE]C\xb5\x8d\xaa;\xa0&\x15\xc8\x95\xff\xef\x05\xb5\xfc\xe0W[\xa2\x8e\x87\xde\x8a\xef4>").
Successfully stored '100MB_4' to e3eb48d485ada2cec6478abdabfde5dca0806911ee6035c76cfff9718dabb28a
Storing file '100MB_95' of 10485760 bytes (22 chunk/s)..
Successfully stored '100MB_95' to e5badf41be8df56ab215a9bf88056b8019fffa08b618bdbc2815fd4421f48fd6
Storing file '100MB_74' of 10485760 bytes (22 chunk/s)..
Did not store all chunks of file '100MB_74' to all nodes in the close group: Network Error Could not retrieve the record after storing it: Key(b"\x06\xb3\x0b\xef\xc2|\xfb\xe7'\xcf\xbf4\xa3\xd49\x07\xdb\xe4\xc7,\xb1\x0f\xca\xac\xe4t\xb0\xedi\xc0(\xfe").
Successfully stored '100MB_74' to e710c62078549352afa551bf437cda2f12cfbcde35054496cd174f51799b3eeb
Just FYI - these are actually 10Mb files I am storing here, despite the file names. I messed with the script from @storage_guy, changed the file size, well the dd blockcount - and screwed up the filename
I appreciate the advice of other people here, but you should not have to resort to using sudo
for the installation of safeup
or the components it installs. In fact, we expressly donāt want to support that scenario now.
The install script makes use of a mktemp
command, which uses the operating system to create a temporary directory somewhere under /tmp
(or what is defined by $TMPDIR
or if youāve expressly setup some other partition for temporary files, which Iām guessing you havenāt). It appears in your setup that you donāt have permissions to write to that directory. That is unusual, as non-root users should have the ability to do that.
Just out of curiousity, can you run these commands please, and post the output of them?
uname -a
uname -s
Thanks.
Iāve had more nodes die on the 50 node AWS Instance. Iām now down to 32. RAM on the remaining nodes is up to 220+MB on some nodes now! Most of of them are around 70 to 80MB.
The Pi based 9 nodes are still all running because thereās bags of RAM left but their RAM usage is up as well.
I think that churn begets churn.
david@david-Macmini:/tmp$ uname -a
Linux david-Macmini 5.19.0-50-generic #50-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 10 18:24:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
david@david-Macmini:/tmp$ uname -s
Linux
Maybe put it in ~/.local/share/safe/ --Presume that getās cleared each time we start new testnetās so shouldnāt be a problem?
Every time Iāve run the command it created a new tmp directory.
drwx------ 2 root root 4.0K Aug 2 15:24 tmp.0Oabh9OBFP
drwx------ 2 root root 4.0K Aug 2 15:24 tmp.23Pg7cHT2w
drwx------ 2 david david 4.0K Aug 1 22:16 tmp.6KHW0Mv345
drwx------ 2 david david 4.0K Aug 1 21:56 tmp.DbA5eSHt2p
drwx------ 2 david david 4.0K Aug 2 13:59 tmp.dyH9wTEsMW
drwx------ 2 david david 4.0K Aug 2 14:54 tmp.PG7zjI0MqB
seems strange to me