Comments (6)
Thank you for your kind words.
Unfortunately, I'm not able to reproduce your issue. I tried with a fresh Digital Ocean space and it works well.
I used your configuration example :
<?php
// config/filesystems.php
return [
//
'disks' => [
'digitalocean' => [
'driver' => 's3',
'key' => env('DIGITALOCEAN_SPACES_KEY'),
'secret' => env('DIGITALOCEAN_SPACES_SECRET'),
'region' => env('DIGITALOCEAN_SPACES_REGION'),
'bucket' => env('DIGITALOCEAN_SPACES_BUCKET'),
'url' => env('DIGITALOCEAN_SPACES_URL'),
'endpoint' => env('DIGITALOCEAN_SPACES_ENDPOINT'),
'visibility' => 'public',
'use_path_style_endpoint' => env('DIGITALOCEAN_SPACES_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
],
],
];
<?php
// config/nova-file-manager.php
return [
//
'available_disks' => [
'public',
'digitalocean',
],
];
# .env
DIGITALOCEAN_SPACES_KEY=# the space's access key `key`
DIGITALOCEAN_SPACES_SECRET=# the space's access key `secret`
DIGITALOCEAN_SPACES_REGION=# the space's region you defined at creation
DIGITALOCEAN_SPACES_BUCKET=# the space's name
DIGITALOCEAN_SPACES_ENDPOINT="https://${DIGITALOCEAN_SPACES_REGION}.digitaloceanspaces.com"
DIGITALOCEAN_SPACES_USE_PATH_STYLE_ENDPOINT=false
NOVA_FILE_MANAGER_URL_SIGNING_ENABLED=true
Notice I don't set DIGITALOCEAN_SPACES_URL
.
Do you mind to test your filesystem with the Storage
facade ?
\Illuminate\Support\Facades\Storage::disk('digitalocean')->missing('New folder with different name');
from nova-file-manager.
Thanks for taking the time to look into this and come back to me.
I've mimicked your setup exactly - including not setting DIGITALOCEAN_SPACES_URL
but unfortunately I am still having the same issue.
I've also tested uploads to the space with Nova's default file upload and this is working ok.
I've tested the filesystem as you mentioned using Tinker. The output is below:
Do you have any settings different to mine in Digital Ocean itself?
Thanks again,
Chris
from nova-file-manager.
As you show me
\Illuminate\Support\Facades\Storage::disk('digitalocean')->missing('New folder with different name');
returns false instead of true.
It seems to be related to your Laravel filesystem dependencies. Did you require "league/flysystem-aws-s3-v3": "^3.0"
?
What is your aws/aws-sdk-php
version ?
composer show aws/aws-sdk-php | grep version
PS: I have the same space settings.
from nova-file-manager.
In my composer.json
I have this for the flysystem package
`"league/flysystem-aws-s3-v3": "^3.10",``
For my aws/aws-sdk-php
version, I ran your command and have:
versions : * 3.243.1
Thanks for confirming it's the same space settings.
Chris
from nova-file-manager.
This relates to aws/aws-sdk-php#2558 which has been fixed since https://github.com/aws/aws-sdk-php/releases/tag/3.244.0.
You may update aws/aws-sdk-php
to fix your issue.
from nova-file-manager.
@mikaelpopowicz Everything is now working as expected.
Thanks so much for your time looking into this, and apologies the issue was with a third party.
from nova-file-manager.
Related Issues (20)
- Display label for multiple upload HOT 1
- Incompatibility with ```simple-repeatable``` field HOT 1
- Uncaught (in promise) Error (stuck on loading screen) HOT 1
- Moving files across directories
- Issues with the file manager during record modification. HOT 1
- bug: does not work with GCS Adapter. HOT 2
- You are running an outdated version of the package, a new version is available. even after composer update HOT 7
- Nova flexible content - 404 when fetching media in filemanager HOT 3
- PHP `upload_max_filesize` errors do not display error message HOT 1
- Downloading the files! HOT 1
- Possible new issue with Laravel 10 and latest symfony updates HOT 1
- CKEditor integration HOT 1
- Download private Files HOT 1
- Not able to upload video. HOT 1
- Installation Issue with oneduo/nova-file-manager on Laravel 11 Project HOT 2
- Crop Image is not working after update to v0.12.1 HOT 5
- Run file manager as standalone project HOT 2
- Compatibility Issue whit whitecube/nova-flexible-content HOT 14
- Error 413 when uploading large files HOT 5
- Store Activity Log When User Take action on File Manager HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nova-file-manager.