Jump to content

please fix all errors


Recommended Posts

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/var
    chmod -R a+w /var/www/html/adserver/var/cache
    chmod -R a+w /var/www/html/adserver/var/plugins
    chmod -R a+w /var/www/html/adserver/var/templates_compiled
    chmod -R a+w /var/www/html/adserver/plugins
    chmod -R a+w /var/www/html/adserver/www/admin/plugins
    chmod -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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 months later...

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 ?

Link to comment
Share on other sites

  • 6 months later...

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

Link to comment
Share on other sites

  • 5 years later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...