Implemented Problem installing latest version

More
1 year 8 months ago #2617 by Hervé
Problem installing latest version was created by Hervé
Hi Ruud
I see that I am taking up space in this category :-)
Before updating to Joomla 5, I update your extensions.
But I got the error message :Joomla\CMS\Filesystem\Folder::delete : Le chemin n'est pas un dossier. Chemin : [ROOT]/plugins/content/ochfitvids/helpersJoomla\Filesystem\File::delete: Failed deleting inaccessible file ochfitvids.php

I re-downloaded the latest version again. Surprised that it's only 33.7 kb
Regards
 
The topic has been locked.
More
1 year 8 months ago - 1 year 8 months ago #2618 by Hervé
Replied by Hervé on topic Problem installing latest version
HI Ruud
In fact, whether by downloading the latest version or updating it with Joomla. Your 2 extensions are not updated. I have the messageWarning

Joomla\CMS\Filesystem\Folder::delete: Path is not a folder. Path: [ROOT]/plugins/content/ochfitvids/helpers
Joomla\Filesystem\File::delete: Failed deleting inaccessible file ochfitvids.php
Joomla\CMS\Filesystem\Folder::delete: Path is not a folder. Path: [ROOT]/plugins/system/ochresponsiveimages/helpers
Joomla\Filesystem\File::delete: Failed deleting inaccessible file ochresponsiveimages.php
Before updating ensure that the update is compatible with your Joomla! installation.
You are strongly advised to make a backup of your site's files and database before you start updating.

ochFitvids 3 -> 3.1
ochResponsiveImage 1.16.1 -> 2.0
Regards

** systeme ***
Database Type    mysql
Database Version    10.5.21-MariaDB
Database Collation    latin1_swedish_ci
Database Connection Collation    utf8_general_ci
Database Connection Encryption    None
Database Server Supports Connection Encryption    No
PHP Version    8.1.18
Web Server    Apache
WebServer to PHP Interface    litespeed
Last edit: 1 year 8 months ago by Hervé.
The topic has been locked.
More
1 year 8 months ago #2619 by Ruud van Lent
Replied by Ruud van Lent on topic Problem installing latest version
Hi Hervé,
can you check if [ROOT]/plugins/content/ochfitvids/helpers is a directory or a file? samen for [ROOT]/plugins/system/ochresponsiveimages/helpers

according to the messages these are not directories but files?
The topic has been locked.
More
1 year 8 months ago #2620 by Ruud van Lent
Replied by Ruud van Lent on topic Problem installing latest version
And I noticed an issue with the 2.0.0 download for ochResponsiveImages, just fixed that on my server: can you download that file again, it should only be 54.7KB large (yours is showing 1.4MB: the wrong file was attached to this download).
The topic has been locked.
More
1 year 8 months ago #2621 by Hervé
Replied by Hervé on topic Problem installing latest version
Hi Ruud
I downloaded the new file without success; There is no "helper" file or directory for the 2 plugins
 
The topic has been locked.
More
1 year 8 months ago #2622 by Ruud van Lent
Replied by Ruud van Lent on topic Problem installing latest version
Hi Hervé, that is strange as my cleanup scripts before removing a file or folder checks if that file or folder actually exists. So this must be a cleanup of Joomla doing this on upgrade of an extension. Maybe this is new in J4.4 / J5, I do not know.
Is this on a test site? if so can you provide me access so I can see if i can try something to pinpoint where the issue is coming from?
The topic has been locked.
More
1 year 8 months ago #2623 by Hervé
Replied by Hervé on topic Problem installing latest version
Hi Ruud
private message
regards
The topic has been locked.
More
1 year 8 months ago #2624 by Ruud van Lent
Replied by Ruud van Lent on topic Problem installing latest version
Hi Hervé,
found it.
turns out that J4.4 tries to remove files that are not used anymore when installing the new version. previously you were supposed to do that yourself in an install script. So That is what I do: remove files not needed anymore. but because the file was already removed, Joomla installer produces an error because it tries to delete a file / folder that doesn't exist anymore and stops installation.

In the PM tab I have created two new updates for ochFitVids and ochResponsiveImages. tried these on the test site you provided and the installation works.
Can you try them on your site?

These are dev version but I was going to release them today or tomorrow. When the definite version is released the dev versions will also be updated to this new version.
The following user(s) said Thank You: Hervé
The topic has been locked.
More
1 year 8 months ago #2625 by Hervé
Replied by Hervé on topic Problem installing latest version
Hi Ruud
Perfect Thank you once again for this quick and professional intervention. I'm waiting for the final version and I will pass the sites with your extensions for Joomla 5 :-)
Regards
The topic has been locked.
More
1 year 8 months ago #2626 by Ruud van Lent
Replied by Ruud van Lent on topic Problem installing latest version
Thank you for reporting and providing me with test site.
Will release the new versions tomorrow
regards,
Ruud
The topic has been locked.