When I try to update a plugin using Hoster, extra characters are added to the plugin folder’s name. This means that the plugin deactivates as the folder is not found, and I have to activate it again.
To replicate:
Set up a plugin in Hoster, using the file upload option NOT github.
Upload the plugin to a different target website.
Activate the plugin on the target site.
Update the plugin to a new version on Hoster site.
Check the plugin folder name in the wp-content/plugins directory – eg dw-analytics-summary
Check for updates on the target website.
See that a plugin is available.
Update plugin – update is successful.
refresh plugins page
EXPECTED: plugin is updated and still activated
ACTUAL: see that plugin is now DEACTIVATED
check plugin folder name in plugins directory
EXPECTED: plugin folder to be the same as before – eg dw-analytics-summary
ACTUAL: plugin folder has been renamed with extra characters on the end – eg dw-analytics-summary-xyhehs
Have I done something daft?
Please advise.
We are off during weekends, I’ll let the team about this issue, and can only help on Monday.
If anybody comes online before Monday, I’ll update it here. Kindly remind on Monday by writing a comment on this ticket.
Regards,
Mohammad Arshad
DPlugins Support
As requested, here is the reminder email!
Thanks for reminding, Trying to reproduce the error, and will update here later.
Regards,
Mohammad Arshad
DPlugins Support
I’ve tested multiple ways, the update is working fine for me.
Can you please check if you are using latest hoster, and using the new update.php file in the plugin and same for main plugin file header ?
If you need further help, kindly update the ticket with WP login details for both sites where HOSTER and self-hosted plugin is availalbe and the target site.
Don’t write the login details in comment.
Regards,
Mohammad Arshad
DPlugins Support
Also check if the plugin zip file contains this type of path :
plugin-name.zip –> plugin-name –> plugins files…..
or plugin-name.zip –> plugins files………
Regards,
Mohammad Arshad
DPlugins Support
I am using Hoster 1.2.0
I am using the latest versions that I can find for all the files.
I have created a test plugin and a fresh WP instal.
I have created you an admin account on the hoster site and the test site and updated the ticket with login details.
Thanks for updating login details, I’m out of home for an urgent work,
I’ll check it tonight later and reply here.
Found the issue, you having a zip file containing the plugins files directly, and that’s why it is not overriding the current folder, instead it is creating a new folder with random name.
You need have you plugin zip like :
summary-2.zip / summary / ….. your files.
Regards,
Mohammad Arshad
DPlugins Support