Hello,
I now searched enough and finally decided to ask for help here :)
I recently installed revive on a new server, in version 4.0.2. Then I wanted to upgrade to the latest version, but I can't because of this error message:
> One or more plugin files couldn't be located, check the install.log file for more information
The relevant content of the install.log:
--- 8< ---
Starting file-check for plugins...
Plugin: openXBannerTypes - Unable to locate XML files
Plugin: openXDeliveryLimitations - Unable to locate XML files
Plugin: openX3rdPartyServers - Unable to locate XML files
Plugin: openXReports - Unable to locate XML files
Plugin: openXDeliveryCacheStore - Unable to locate XML files
Plugin: openXMaxMindGeoIP - Unable to locate XML files
Plugin: openXInvocationTags - Unable to locate XML files
Plugin: openXDeliveryLog - Unable to locate XML files
Plugin: openXVideoAds - Unable to locate XML files
Finished file-check for plugins
Starting file-check for plugins...
Plugin: openXBannerTypes - Unable to locate XML files
Plugin: openXDeliveryLimitations - Unable to locate XML files
Plugin: openX3rdPartyServers - Unable to locate XML files
Plugin: openXReports - Unable to locate XML files
Plugin: openXDeliveryCacheStore - Unable to locate XML files
Plugin: openXMaxMindGeoIP - Unable to locate XML files
Plugin: openXInvocationTags - Unable to locate XML files
Plugin: openXDeliveryLog - Unable to locate XML files
Plugin: openXVideoAds - Unable to locate XML files
Finished file-check for plugins
Starting file-check for plugins...
Plugin: openXBannerTypes - Unable to locate XML files
Plugin: openXDeliveryLimitations - Unable to locate XML files
Plugin: openX3rdPartyServers - Unable to locate XML files
Plugin: openXReports - Unable to locate XML files
Plugin: openXDeliveryCacheStore - Unable to locate XML files
Plugin: openXMaxMindGeoIP - Unable to locate XML files
Plugin: openXInvocationTags - Unable to locate XML files
Plugin: openXDeliveryLog - Unable to locate XML files
Plugin: openXVideoAds - Unable to locate XML files
Finished file-check for plugins
--- >8 ---
I debugged a little bit and even tried to debug the code, but with no luck. I first thought of permissions, but after setting everything to 777 and give everything to apache and provide apache with a proper shell I still couldn't finish the upgrade. Then I thought of the dots in my folder name which is (similar): /var/www/vhosts/revive.example.de/httpdocs. The path of the new installation is: /var/www/vhosts/revive-update.example.de/httpdocs. Apparently the error comes from the prepare function in OX_UpgradePluginImport (because of the error "Unable to locate XML files").
So, all in all, I'm pretty lost now. Another installation dating back to OpenX I could easily upgrade.
Any help is appreciated, thanks in advance!
PS: The line with the sha256sum on the download page (https://www.revive-adserver.com/download/) contains a weird character that led to a failing upgrade script. I fixed it with:
v=$(curl -sLk https://www.revive-adserver.com/download/ -o - | grep -m1 "Revive Adserver version" | sed 's/^<h2>Revive\ Adserver\ version\ //;s/<\/h2>$//')
curl -sLk https://www.revive-adserver.com/download/ -o - | grep -A3 revive-adserver-${v}.tar.gz | awk -F\: '/sha256/{print $2}' | cut -d\< -f1 | tr -d '\200-\377'