Hi,
I have a problem with an application I'm currently building and can't get my head around why it isn't working.
It creates a queue to convert images and uploads them with FTP to another server. Everything is working fine as long as I'm using the queue sync connection (QUEUE_CONNECTION=sync), but as soon as I switch to Redis my upload method returns false (without an exception) and the uploads stop working.
I have absolutely no idea why this is happening.
public function upload(string $disk, string $path, string $target): bool
{
return $this->filesystemFactory->disk($disk)->put($target, fopen($path, 'r+'));
}
Good guess, but that's not the problem. The same queue does also rezise the image as expected. Oh and redis is running under the same user as the web server. It's really strange :(
Maybe a Laravel or thephpleague/flysystem bug?