Update Image
Image does not update ...
Post some context, errors or somethung.New install?
I installed everything, and I linked the storage folder but when I try to modify any image (logo, profile image and the rest) it doesn't update them.
That happened to me my first time. I finally realized the storage symlnk was already set to the developer's filesystem in the zip file that was distrubuted. I had to delete it and then recreate it manually so that it linked to my filesystem.
I deleted the storage file from the public folder and then I restarted the php storage link on my terminal, but the problem remains the same
Check you symlnks. The first set are how mine came out of the box (wrong) and the second is when I manually recreated the symlnk not using the artisan command. The latter is the only way I got mine to work.
➜ pwd
/Users/naj/Code/myapp/public
➜ ls -al
total 24
-rwxr-xr-x@ 1 naj staff 0B Mar 30 07:53 favicon.ico
-rwxr-xr-x@ 1 naj staff 1.8K Mar 30 07:53 index.php
-rwxr-xr-x@ 1 naj staff 34B Mar 30 07:53 mix-manifest.json
-rwxr-xr-x@ 1 naj staff 24B Mar 30 07:53 robots.txt
lrwxr-xr-x@ 1 naj staff 44B Aug 1 21:20 storage -> /Users/tony/Sites/wavedev/storage/app/public
drwxr-xr-x@ 4 naj staff 128B Mar 30 07:53 themes
drwxr-xr-x@ 4 naj staff 128B Mar 30 07:53 vendor
drwxr-xr-x@ 6 naj staff 192B Mar 30 07:53 wave
➜ pwd
/Users/naj/Code/myapp/public
➜ ls -al
total 24
-rwxr-xr-x@ 1 naj staff 0B Mar 30 07:53 favicon.ico
-rwxr-xr-x@ 1 naj staff 1.8K Mar 30 07:53 index.php
-rwxr-xr-x@ 1 naj staff 34B Mar 30 07:53 mix-manifest.json
-rwxr-xr-x@ 1 naj staff 24B Mar 30 07:53 robots.txt
lrwxr-xr-x 1 naj staff 47B Aug 2 09:17 storage -> /home/vagrant/Code/myapp/storage/app/public
drwxr-xr-x@ 4 naj staff 128B Mar 30 07:53 themes
drwxr-xr-x@ 4 naj staff 128B Mar 30 07:53 vendor
drwxr-xr-x@ 6 naj staff 192B Mar 30 07:53 wave
There's also a bug in how Voyager is set up.
https://github.com/the-control-group/voyager/issues/4082
A temp fix is to see if it works for you would be to modify the vended file.
In: TCG\Voyager\Models\User
public function setSettingsAttribute($value)
{
// $this->attributes['settings'] = $value->toJson();
$this->attributes['settings'] = $value ? $value->toJson() : null;
}