Hi there,
On production, I see the following error when running the phpunit tests to see where my problem is. Right now I can upload, media get's added to the database, but I do not see the file on my filesystem. The only lead that I have is the following error:
PHP Fatal error: Illuminate\Support\ServiceProvider::mergeConfigFrom():
Failed opening required '/home/forge/loranto.com/vendor/spatie/laravel-medialibrary/src/src/../resources/config/laravel-medialibrary.php' (include_path='/home/forge/loranto.com/vendor/phpseclib/phpseclib/phpseclib:.:/usr/share/php')
in /home/forge/loranto.com/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php on line 67
Ok seems to be solved. The error is gone after updating to 4.8.
But. any ideas why images do get added to the database, but the actual storing of the file does not go through. No error.
Where do you try to save the medias ?
Ok, locally it works when I have a symlink from the public folder to the storage folder:
media@ -> ../storage/media
Blegh.. I knew this was something simple like a typo. Changed it to the real folder.
media@ -> ../storage/app/public/media
Sorry for this. This webshop is taking me 12 hours a day and I might need to buy me a crate of beer and a rubberboat with a palmtree.

Haha, epic comment! 馃槀
How did you solve this? @xtrasmal
Looks like removing vendor dir and composer install did it for me.
Most helpful comment
Looks like removing vendor dir and composer install did it for me.