SOLVED Storj cloud sync error 22

blanken79

Cadet
Joined
Nov 11, 2022
Messages
1
I'm hoping someone else has seen this issue and knows the cause.

I'm trying to setup a cloud sync task running TrueNas Core version 13.0-U3 and I keep getting this error.

1668183895777.png


Here is the credential setup
1668183975350.png


And when I verify, it does validate.
1668184018482.png


Digging through the log file, I do find the following


Code:
[2022/11/10 16:22:52] (WARNING) application.call_method():174 - Exception while calling cloudsync.list_buckets(*[4])
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 139, in call_method
    result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1235, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
    return await f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/cloud_sync.py", line 997, in list_buckets
    for bucket in await provider.list_buckets(credentials)
  File "/usr/local/lib/python3.9/site-packages/middlewared/rclone/remote/storjix.py", line 51, in list_buckets
    return await self.middleware.run_in_thread(list_buckets_sync)
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1154, in run_in_thread
    return await self.run_in_executor(self.thread_pool_executor, method, *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1151, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/rclone/remote/storjix.py", line 42, in list_buckets_sync
    return [
  File "/usr/local/lib/python3.9/site-packages/middlewared/rclone/remote/storjix.py", line 46, in <listcomp>
    "enabled": "ix-storj-1" in bucket.find(f"{ns}Attribution").text,
TypeError: argument of type 'NoneType' is not iterable


I know the credentials work, I have them setup on a TrueNas Scale 22.02.4 setup and it's working.

TrueNAS Core is running on the following hardware.

HP Microserver Gen10
CPU - AMD Opteron x3421 APU
Memory - 32G ECC
Hard Drives - 4 x Seagate Exos X16 14TB

Any suggestions would be appreciated.

Thanks,
Chris
 

oh365

Cadet
Joined
Dec 26, 2022
Messages
2
I have this same issue. My scenario was:
  1. Created StorJ acct
  2. Created bucket
  3. Created S3 access
  4. Added cloud backup credentials without issue. Verified OK.
  5. During the cloud sync setup, I was unable to click on my created bucket. It was grayed out. I clicked on add new, and successfully created one. However, I did not get access to my seed phrase. So, I cancelled the cloud sync setup, and deleted the new bucket.
  6. Now any time I click on my credential in cloud sync task, I get the same error you have.
I have tried deleting all S3 access and buckets, creating new, and still the same results.

Would LOVE to get this working, but stuck. Searching, I don't see others having this issue..
 
Top