Im trying to install Flux CP. Im using Ubuntu 18 with Plesk Onyx (Vultr app)
Warning: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php on line 275
Critical Error
An error was encountered during the lifetime of the application.
This could be due to a variety of problems, such as a bug in the application.
However, normally it is caused by misconfiguration.
Exception Details
Error: Flux_Error
Message: Failed to write data/tmp/ConfigServers.cache.php permission error or data/tmp not exist in Flux::parseConfigFile()
File: /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php:236
File Line Function/Method
/var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php 277 Flux::raise()
/var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php 335 Flux::parseConfigFile()
/var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php 121 Flux::parseServersConfigFile()
/var/www/vhosts/tirion-ro.com/fluxcp/index.php 67 Flux::initialize()
Exception Trace As String
#0 /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php(277): Flux::raise('Failed to write...')
#1 /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php(335): Flux::parseConfigFile('config/servers....')
#2 /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php(121): Flux::parseServersConfigFile('config/servers....')
#3 /var/www/vhosts/tirion-ro.com/fluxcp/index.php(67): Flux::initialize(Array)
#4 {main}
I searched it everywhere for information but still i cant fix this. Anyone have an idea what im doing wrong?
Question
vitox
Hi
Im trying to install Flux CP. Im using Ubuntu 18 with Plesk Onyx (Vultr app)
Warning: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php on line 275 Critical Error An error was encountered during the lifetime of the application. This could be due to a variety of problems, such as a bug in the application. However, normally it is caused by misconfiguration. Exception Details Error: Flux_Error Message: Failed to write data/tmp/ConfigServers.cache.php permission error or data/tmp not exist in Flux::parseConfigFile() File: /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php:236 File Line Function/Method /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php 277 Flux::raise() /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php 335 Flux::parseConfigFile() /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php 121 Flux::parseServersConfigFile() /var/www/vhosts/tirion-ro.com/fluxcp/index.php 67 Flux::initialize() Exception Trace As String #0 /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php(277): Flux::raise('Failed to write...') #1 /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php(335): Flux::parseConfigFile('config/servers....') #2 /var/www/vhosts/tirion-ro.com/fluxcp/lib/Flux.php(121): Flux::parseServersConfigFile('config/servers....') #3 /var/www/vhosts/tirion-ro.com/fluxcp/index.php(67): Flux::initialize(Array) #4 {main}
I searched it everywhere for information but still i cant fix this. Anyone have an idea what im doing wrong?
I tried given permissions to lib/Flux.php
I tried disabling suexec from plesk
Link to comment
Share on other sites
2 answers to this question
Recommended Posts