Comments (1)
Hi @ChumburidzeGio,
It seems to me like this would be caused by your database and filesystem being out of sync, such that a duplicate file does exist on disk, but has no associated record in the database. I am not sure how you got to that state. Did you perhaps perform a delete on the query builder, and not the Media record itself?
I have updated the MediaUploader
to manually delete both the record in the database and the file on disk individually, rather than depending on the media record to clean up its own file on deletion.
Thanks for pointing this out!
Sean
from laravel-mediable.
Related Issues (20)
- Uploading to S3 from remote url directly HOT 3
- [Error] Attempted to lazy load [variants] on model [Plank\Mediable\Media] but lazy loading is disabled. HOT 1
- Unable to install on laravel 10.10 HOT 2
- Slow syncing HOT 2
- Getting Issue in laravel 10 while install plank / laravel-mediable version 5.9 HOT 1
- Resize image files insize controller HOT 1
- Documentation is not clear how to use the package HOT 4
- SourceAdapter\UploadedFileAdapter bad mime_type from client HOT 2
- PHPStan - Add template to MediableCollection HOT 3
- How to build filament component as plank does not exposes any interface like HasMedia HOT 3
- Move media to root directory HOT 2
- File gets renamed upon upload? HOT 1
- Call to undefined method Plank\Mediable\ImageManipulation::toPngFormat() HOT 4
- Files are not removed from disk on deleting the variants HOT 3
- The Chinese file name is automatically changed to pinyin,I want a Chinese name HOT 2
- Import changes visility on original file HOT 4
- Support `intervention/image` ^3.0 HOT 10
- Upload Media on AWS S3 private Bucket HOT 4
- detach relations does not work on delete HOT 1
- base64 uploading HOT 5
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 laravel-mediable.