I need help in pixel script urgently.

Solved
vk893061

Jan 27th, 2022 12:12 AM

1111111111111111111111

bobbyiliev

Jan 27th, 2022 12:20 AM

Hello,

You need to run the following command:

php artisan storage:link

If the link already exists try removing it with:

unlink public/storage

And after that run the php artisan storage:link command again.

Let me know how it goes.

Best,

Bobby

vk893061

Jan 27th, 2022 12:31 AM

not working

bobbyiliev

Jan 27th, 2022 12:36 AM

Did the command succeed? Would you be able to give some more information?

  • Do you see any errors in your error log?
  • Can you share the output of the following command ls -lah public
  • What are the permissions of the files set to?
  • What server have you deploied the script on? (Shared hosting, unmanaged Ubuntu server, is it Nginx or Apache?)
  • Have you set the APP_URL to match your domain name exactly? https://themesbot.com
  • Any extra information would help, as I don't have access to your server to check the problem directly :)
bobbyiliev

Jan 27th, 2022 01:18 AM

Best Answer

Hi there,

It looks like that the storage symlink is owned by the root user and this could be why you are getting the errors.

What you could do is:

  • Remove the symlink:
unlink public/storage
  • Then switch to the themesbot user:
su themesbot
  • And run the storage link command again:
php artisan storage:link 

If you are still getting the error, you could try adding the following to your Apache config:

	<Directory /home/themesbot/public_html/public>
		Options Indexes FollowSymLinks
	        AllowOverride All
		Require all granted
	</Directory>

Let me know how it goes.

bobbyiliev

Jan 27th, 2022 04:12 AM

Hi there,

Happy to hear that it is all working now!

We do not offer freelance work as of the time being but this is something that we might consider in the future!