Help regarding how to configure fof/upload with AWS S3 adapter.
I keep getting this error
Oops! Something went wrong. Please reload the page and try again.
What i had tried so far :
- installed composer require league/flysystem-aws-s3-v3 "1.*"
- enabled public readable bucket (untick Block all public access in s3 bucket)
- use bucket policy provided by fof/upload faq
- changed bucket/* to mybucketname/* in bucket policy
- added mybucketname/* in Bucket config
- added ap-southeast-1 in Region
- I even tried to use Key and Secret i obtained from IAM in same region
So, I want to ask. What did I missed? Any suggestion how it works? how to proper install or activate this adapter?
Flarum information
Flarum core: 1.8.9
PHP version: 8.3.14
MySQL version: 11.4.4-MariaDB-ubu2404
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, memcached, redis, imagick, mysqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, imap, intl, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+--------------------------+---------+--------+
| Flarum Extensions | | |
+--------------------------+---------+--------+
| ID | Version | Commit |
+--------------------------+---------+--------+
| flarum-flags | v1.8.2 | |
| flarum-approval | v1.8.2 | |
| flarum-tags | v1.8.3 | |
| fof-upload | 1.7.0 | |
| fof-pages | 1.0.8 | |
| fof-oauth | 1.6.16 | |
| fof-drafts | 1.2.12 | |
| flarum-suspend | v1.8.4 | |
| flarum-subscriptions | v1.8.1 | |
| flarum-sticky | v1.8.2 | |
| flarum-statistics | v1.8.1 | |
| flarum-nicknames | v1.8.2 | |
| flarum-mentions | v1.8.5 | |
| flarum-markdown | v1.8.1 | |
| flarum-lock | v1.8.2 | |
| flarum-likes | v1.8.1 | |
| flarum-lang-english | v1.8.0 | |
| flarum-extension-manager | v1.0.6 | |
| flarum-emoji | v1.8.1 | |
| flarum-bbcode | v1.8.0 | |
+--------------------------+---------+--------+
Base URL: https://mydomain.com
Installation path: /home/myfolder/htdocs/mydomain.com
Queue driver: redis
Session driver: redis (Code override. Configured to file)
Scheduler status: Active
Mail driver: smtp
Debug mode: off