-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run squidge command #12
Comments
I solved this problem. You have an error in the code. In Linux filename that is case sensitive. Please in the main plugin file, require, changing the name of the file to solve this error. From commands.php to Commands.php |
Hi @karbivskij |
@supersonic2k22 How do you run this? You need to do this via putty? My wordpress install path is wp squidge run path=home/admin/domains/mydomain.com Warning: No WordPress installation found. If the command 'squidge run path=home/admin/domains/mydomain.com' is in a plugin or theme, pass --path= |
I'm not working for free and now I'm busy with another project.
|
positive vibes your way, mate :) |
@myedgy |
@myedgy |
@supersonic2k22 Roman, thank you so much! Yes, this was still the issue! Now i can run it! Fack sake, i read about this, i thought it was fixed. I was searching for days already, why i couldn't run it. I found the map with Commands.php and C was with a capital so i thought it was already fixed in the latest update. @ainsleyclark are you still active? Because you have build an amazing plugin, one of its kind. Tried already a few CDN networks but they are all so freaking slow when loading the images. So i was looking for something to run on our own server. |
The conversions start, but when i check the upload folder i only can find .jpg.webp files and not .jpg.avif files ? wp squidge run It starts in pcli Processing image: b50d6840-ff0c-4daa-b052-cbf3a7033a10 Also, I assume I had to add the content of the Functions.php file copy paste it in my child-themes functions.php When I do wp squidge health
|
@myedgy It is because your server does not has a library for converting to AVIF format. You need to install this library, please read the documentation of the plugin. |
@supersonic2k22 the library is active since i installed the plugin, I had read this, and the plugin also said that I needed to install this library first. So I did on my debian 11 system. Update the package index: sudo apt-get updateInstall libavif-dev deb package: sudo apt-get install libavif-dev |
@myedgy look for an error, maybe the conversion parameters are incorrectly specified. I used before this plugin and for me it was worked. So maybe you have some error in code or environment. |
I'm trying to find the issue, and checking server logs if I maybe can find something. |
Did you find an other plugin that can convert images to webp and avif perhaps? Without the use of a third party where you need to have a CDN subscription to convert them. |
|
I will try the orignal, and upload the missing folders that I could find from the first release. @supersonic2k22 and I appreciated your time and your contribute in this. |
Hi @supersonic2k22 @myedgy thanks for your comments with everything. I'll look into it in the coming weeks but would really appreciate any pull requests. @supersonic2k22 will the pull request you opened fix above? Sorry just catching up appreciate the help. |
@ainsleyclark @supersonic2k22 |
Hello, I added to my version - counter and changed the path to cli. @ainsleyclark You can try my version and fix some errors if you want. If you want to update the plugin with my support we can discuss it in direct messages. I have some ideas to improve the plugin. |
@supersonic2k22 sounds great, my email is info@ainsleyclark.com |
would be cool! Because in CLI it says convertion works..
But when i go to the folder via FTP i only see WEBP convertions. |
@supersonic2k22 Indeed if i try to run your version PUTTY freezes and in my server dashboard cpu load is 25 - max 35% With the original it runs, everything. It also says it made .jpg.avif files however they are not made.. only webp. If this plugin really works, it would be nice if you can select a folder. As i'm going to create media.mysite.com for all image uploads https://frunction.com/2016/06/wordpress-serve-images-from-subdomain/ |
Error: 'squidge' is not a registered wp command. See 'wp help' for available commands.
The text was updated successfully, but these errors were encountered: