Error: Call to undefined function Aws\boolean_value() using S3

Ok, after some trial and error:

  • You do not need to create access points
  • The bucket must be specified as the plain bucket name, not the ARN
  • use_arn_region must be present and set to false
  • version must be set to latest

With these modifications the 10.7 setup works. Below the actual working snippet:

'objectstore' =[
    				'class' ='OCA\Files_Primary_S3\S3Storage',
    				'arguments' =[
    					// replace this
    					'bucket' ='bucket-plain-name',
    					'options' =[
    						'use_arn_region' =false,
    						'version' ='latest',
    						// replace this
    						'region'  ='eu-central-1',
    						'credentials' =[
    							// replace these
    							'key' ='xyz',
    							'secret' ='xyz',
    						],
    					],
    				],
    			],

I think the doc for 10.7 must be updated to reflect the required changes, the published one just fails.

2 Likes