DataPaymentNet [26/7/23 Testnet] [Offline]

Maybe try running as sudo?

1 Like

It still failed with the same error.

1 Like

Can you show your install command please @upstate

1 Like

I’m not even getting past running the command below, with or without sudo added.

1 Like

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

1 Like

Perhaps your tmp directory or disk is full? Try running curl with -v option for more info.

1 Like

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.

3 Likes

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").

5 Likes

@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.

4 Likes

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.

1 Like

…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.

3 Likes

Don’t worry, we ALL faffed about the first couple of thousand times we messed with Linux.

5 Likes

I don’t think so - probably some config issue.

2 Likes

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.

3 Likes

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

3 Likes

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.

11 Likes

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.

3 Likes

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

1 Like