wilson diaz Posted February 21, 2017 Report Posted February 21, 2017 Good morning I want to install revive but when it do the check, show the next message: Configuration of your webserver does not meet the requirements of the Revive Adserver. In order to proceed with installation, please fix all errors. For help, please see our documentation and FAQs and File Permissions - 7 errors File permission errors have been detected, and must be fixed before you can continue. To fix the errors on a Linux system, try typing in the following command(s):chmod -R a+w /var/www/html/adserver/varchmod -R a+w /var/www/html/adserver/var/cachechmod -R a+w /var/www/html/adserver/var/pluginschmod -R a+w /var/www/html/adserver/var/templates_compiledchmod -R a+w /var/www/html/adserver/pluginschmod -R a+w /var/www/html/adserver/www/admin/pluginschmod -R a+w /var/www/html/adserver/www/images For more help, please see the Revive Adserver documentation. Check name Current value Status /var/www/html/adserver/var Directory must be writeable NOT writeable /var/www/html/adserver/var/cache Directory must be writeable NOT writeable /var/www/html/adserver/var/plugins Directory must be writeable NOT writeable /var/www/html/adserver/var/templates_compiled Directory must be writeable NOT writeable /var/www/html/adserver/plugins Directory must be writeable NOT writeable /var/www/html/adserver/www/admin/plugins Directory must be writeable NOT writeable /var/www/html/adserver/www/images Directory must be writeable NOT writeable I put chmod -R 777 to the folder revive but the error continue. The operative system is centos 7. Thank so much Quote
andrewatfornax Posted February 21, 2017 Report Posted February 21, 2017 6 hours ago, wilson diaz said: I put chmod -R 777 to the folder revive but the error continue. The operative system is centos 7. 1 Hi @wilson diaz, Please don't do that - the webserver should not be given write access to all of the Revive Adserver directories & files - you're just asking for your system to be compromised by allowing every file to be modified by the webserver. Instead, completely remove your installation directory, and start the installation again from scratch, but this time, only grant those permissions that the install wizard asks for. It's quite clear which directories need to be recursively chmoded - the install wizard even gives you the commands that you can copy and paste into your server's console to make the changes, given that you're on a *nix system. Quote
wilson diaz Posted February 21, 2017 Author Report Posted February 21, 2017 (edited) Hi Andrew I did do the procedure that you advised me but I still have the same problem. Edited February 21, 2017 by wilson diaz Quote
andrewatfornax Posted June 14, 2017 Report Posted June 14, 2017 Hi @wilson diaz, Did you figure this out? I can only assume having installed/upgraded Revive Adserver hundreds, if not thousands, of times during development testing, that in fact, there is something that is preventing access to the directories, and you should double-check the permissions again - or indeed, start with a fresh package, and set the permissions recursively as noted. Otherwise: https://documentation.revive-adserver.com/display/DOCS/Revive+Adserver+Broken ? Quote
vvavepacket Posted January 11, 2018 Report Posted January 11, 2018 @wilson diaz How did you solve it? @andrewatfornax I also encounter the same issue. I have centos 7. I did all the permission (look at var, you can see it is writable). But why is that the installation says it is not writable? Any ideas? Quote
andrewatfornax Posted January 12, 2018 Report Posted January 12, 2018 The directory appears to be writable - are all the files and subdirectories within it also set to be writable? Quote
vvavepacket Posted January 12, 2018 Report Posted January 12, 2018 problem solved. there was SELinux running, so we have to configure SELinux to allow files to be writable. andrewatfornax 1 Quote
andrewatfornax Posted January 14, 2018 Report Posted January 14, 2018 I've updated https://documentation.revive-adserver.com/display/DOCS/Revive+Adserver+Broken to cover SELinux. Quote
jamieburchell Posted January 16, 2018 Report Posted January 16, 2018 I always seem to run in to this. In my case I'm still getting the red notification on login, but I have already set the following directories to be owned and writable by the apache web user. SELinux is disabled. Of course, the debug.log never actually shows anything. $ chown -R apache:apache var $ chown -R apache:apache plugins $ chown -R apache:apache www/admin/plugins $ chown -R apache:apache www/images $ chmod -R u=rwX,go=rX var $ chmod -R u=rwX,go=rX plugins $ chmod -R u=rwX,go=rX www/admin/plugins $ chmod -R u=rwX,go=rX www/images $ chmod 444 x.conf.php $ find . -type d -user apache ./www/admin/plugins ./www/admin/plugins/videoReport ./www/admin/plugins/videoReport/css ./www/admin/plugins/videoReport/templates ./www/admin/plugins/videoReport/navigation ./www/admin/plugins/videoReport/lib ./www/admin/plugins/videoReport/lib/Csv ./www/admin/plugins/videoReport/lib/ofc2 ./www/admin/plugins/videoReport/lib/Url ./www/admin/plugins/videoReport/lib/Graph ./www/admin/plugins/videoReport/lib/Graph/Flash ./www/admin/plugins/videoReport/lib/SmartyFunctions ./www/admin/plugins/videoReport/images ./www/admin/plugins/videoReport/js ./www/images ./www/images/layerstyles ./www/images/layerstyles/geocities ./www/images/layerstyles/simple ./plugins ./plugins/invocationTags ./plugins/invocationTags/oxInvocationTags ./plugins/invocationTags/oxInvocationTags/layerstyles ./plugins/invocationTags/oxInvocationTags/layerstyles/geocities ./plugins/invocationTags/oxInvocationTags/layerstyles/simple ./plugins/invocationTags/oxInvocationTags/layerstyles/floater ./plugins/invocationTags/oxInvocationTags/layerstyles/cursor ./plugins/invocationTags/oxInvocationTags/_lang ./plugins/deliveryLimitations ./plugins/deliveryLimitations/Time ./plugins/deliveryLimitations/Client ./plugins/deliveryLimitations/Geo ./plugins/deliveryLimitations/Geo/data ./plugins/deliveryLimitations/Site ./plugins/3rdPartyServers ./plugins/3rdPartyServers/ox3rdPartyServers ./plugins/geoTargeting ./plugins/geoTargeting/oxMaxMindGeoIP ./plugins/geoTargeting/oxMaxMindGeoIP/data ./plugins/bannerTypeHtml ./plugins/bannerTypeHtml/vastInlineBannerTypeHtml ./plugins/bannerTypeHtml/vastOverlayBannerTypeHtml ./plugins/bannerTypeHtml/oxHtml ./plugins/reports ./plugins/reports/oxReportsStandard ./plugins/reports/oxReportsAdmin ./plugins/deliveryLog ./plugins/deliveryLog/oxLogVast ./plugins/deliveryLog/oxLogImpression ./plugins/deliveryLog/oxLogConversion ./plugins/deliveryLog/vastServeVideoPlayer ./plugins/deliveryLog/vastServeVideoPlayer/flowplayer ./plugins/deliveryLog/vastServeVideoPlayer/flowplayer/3.1.1 ./plugins/deliveryLog/oxLogRequest ./plugins/deliveryLog/oxLogClick ./plugins/deliveryCacheStore ./plugins/deliveryCacheStore/oxMemcached ./plugins/deliveryCacheStore/oxCacheFile ./plugins/etc ./plugins/etc/oxLogVast ./plugins/etc/oxLogVast/etc ./plugins/etc/Time ./plugins/etc/oxLogImpression ./plugins/etc/oxLogImpression/etc ./plugins/etc/oxLogConversion ./plugins/etc/oxLogConversion/etc ./plugins/etc/oxDeliveryDataPrepare ./plugins/etc/oxDeliveryDataPrepare/etc ./plugins/etc/oxDeliveryDataPrepare/etc/changes ./plugins/etc/oxDeliveryDataPrepare/etc/DataObjects ./plugins/etc/oxText ./plugins/etc/Client ./plugins/etc/Client/etc ./plugins/etc/Client/etc/changes ./plugins/etc/Geo ./plugins/etc/oxReportsStandard ./plugins/etc/vastInlineBannerTypeHtml ./plugins/etc/vastInlineBannerTypeHtml/etc ./plugins/etc/vastInlineBannerTypeHtml/etc/changes ./plugins/etc/vastInlineBannerTypeHtml/etc/DataObjects ./plugins/etc/vastServeVideoPlayer ./plugins/etc/vastOverlayBannerTypeHtml ./plugins/etc/oxReportsAdmin ./plugins/etc/oxMaxMindGeoIP ./plugins/etc/oxInvocationTags ./plugins/etc/oxLogRequest ./plugins/etc/oxLogRequest/etc ./plugins/etc/oxLogClick ./plugins/etc/oxLogClick/etc ./plugins/etc/oxMemcached ./plugins/etc/oxMemcached/_lang ./plugins/etc/oxMemcached/_lang/po ./plugins/etc/ox3rdPartyServers ./plugins/etc/ox3rdPartyServers/_lang ./plugins/etc/ox3rdPartyServers/_lang/po ./plugins/etc/oxCacheFile ./plugins/etc/oxCacheFile/_lang ./plugins/etc/oxCacheFile/_lang/po ./plugins/etc/Site ./plugins/etc/videoReport ./plugins/etc/oxHtml ./plugins/bannerTypeText ./plugins/bannerTypeText/oxText ./plugins/deliveryDataPrepare ./plugins/deliveryDataPrepare/oxDeliveryDataPrepare ./plugins/videoAds ./var ./var/cache ./var/plugins ./var/plugins/recover ./var/plugins/DataObjects ./var/templates_compiled Error: File permission errors detected.These may impact the accurate delivery of your ads,See the debug.log file for the list of unwritable files Quote
jamieburchell Posted January 16, 2018 Report Posted January 16, 2018 Turns out that's fixed by setting the correct images path in the config *doh* andrewatfornax 1 Quote
Sysop_NiteStorm Posted November 27, 2023 Report Posted November 27, 2023 I am on ubuntu server 22.04 and installed with virtualmin pro, however the only error i get is about the var dir not being writable, i executed the cmd shown to make the var dir writable, but still same error, there is nothing else that is preventing it from writing to the dir, not selinux or anything else. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.