Open ehsan0921 opened 1 year ago
I'm also trying to use DO spaces without any success. What kind of errors are you seeing?
@foozmeat @ehsan0921 what are you trying to do? what problems are you encountering?
I simply trying to use cloud storage. Based on conversations on the discord there may have been a recent regression that's caused the issue. I'll be checking the latest code soon.
I'm trying to use DO's S3 api and its not working either:
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=s3
PF_ENABLE_CLOUD=true
AWS_ACCESS_KEY_ID=key
AWS_SECRET_ACCESS_KEY=secret
AWS_DEFAULT_REGION=us-east-1
AWS_ENDPOINT=https://sfo3.digitaloceanspaces.com
AWS_BUCKET=bucket
Migration returns a strange error:
root@4665bc862c18:/var/www# php artisan media:migrate2cloud
0/200 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%Error migrating media 1 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 17 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 9 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 13 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 15 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 6 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 5 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 18 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 2 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 23 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 26 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 20 to cloud storage: The file "/var/www/storage/app/" does not exist
Error migrating media 19 to cloud storage: The file "/var/www/storage/app/" does not exist
200/200 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
Finished!
Uploaded 30M of media to cloud storage!
These files are still stored locally, and will be automatically removed.
The /var/www/storage/app
folder definitely exists
Using the regular DO settings like this and no joy
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=spaces
PF_ENABLE_CLOUD=true
DO_SPACES_KEY=key
DO_SPACES_SECRET=secret
DO_SPACES_ENDPOINT=https://sfo3.digitaloceanspaces.com
DO_SPACES_REGION=sfo3
DO_SPACES_BUCKET=bucket
DO_SPACES_ROOT=""
REMOTE_AVATARS=true PF_ENABLE_CLOUD=true FILESYSTEM_DRIVER=local
AWS_USE_PATH_STYLE_ENDPOINT=false
FILESYSTEM_CLOUD=spaces
DO_SPACES_KEY=** DO_SPACES_SECRET=***** DO_SPACES_ENDPOINT=syd1.digitaloceanspaces.com DO_SPACES_REGION=syd1 DO_SPACES_BUCKET=persians-life DO_SPACES_ROOT=/
above are my setting. guys, do you see any problem? should I do something special in Digitlocean as well? best.