Jump to content
  • 0
Rivers

Exception Details Error: Flux_PermissionError for FLuxCP

Question

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_PermissionError

Message: The log storage directory '/var/www/html/FluxCP/data/logs' is not writable. Remedy with `chmod 0600 /var/www/html/FluxCP/data/logs`

File: /var/www/html/FluxCP/index.php:123

 

Good day, I cannot get past this error. I have given full permissions to these directories; 0707,0777,0600.
"Remedy with `chmod 0600 /var/www/html/FluxCP/data/logs`" does not work.

running on Mariadb, centos7, fluxcp 

Edited by Rivers
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0
1 hour ago, Rivers said:

I re-ran the commands without CP in it, they went through successfully but it still changed nothing.

Any particular errors? 

Maybe give this a try:

Disable SELinux:

nano /etc/sysconfig/selinux

SELinux=enforcing
to
SELinux=disabled

After the changes Reboot your VPS.

Note: Make sure your phpMyAdmin user host is pointing to '%' instead of 'localhost'
 

Edited by Royr
  • Upvote 1
Link to comment
Share on other sites

  • 0
total 48K
drwxrwxrwx. 11 apache root  262 Dec  9 23:21 .
drwxrwxrwx.  4 apache root   33 Dec  9 23:21 ..
drwxrwxrwx.  3 apache root   24 Dec  9 19:18 addons
drwxrwxrwx.  2 apache root 4.0K Dec  9 19:18 config
drwxrwxrwx. 15 apache root  203 Dec 10 01:44 data
drwxrwxrwx.  2 apache root   47 Dec  9 19:18 doc
-rwxrwxrwx.  1 apache root  337 Dec  9 19:18 .editorconfig
-rwxrwxrwx.  1 apache root 2.6K Dec  9 19:18 error.php
-rwxrwxrwx.  1 apache root 1.2K Dec  9 19:18 favicon.ico
drwxrwxrwx.  8 apache root  163 Dec  9 19:18 .git
-rwxrwxrwx.  1 apache root  300 Dec  9 19:18 .gitignore
-rwxrwxrwx.  1 apache root  177 Dec  9 19:18 .htaccess
-rwxrwxrwx.  1 apache root 6.8K Dec  9 19:18 index.php
drwxrwxrwx.  2 apache root   74 Dec  9 19:18 lang
drwxrwxrwx.  5 apache root   86 Dec  9 19:18 lib
-rwxrwxrwx.  1 apache root 7.5K Dec  9 19:18 LICENSE
drwxrwxrwx. 35 apache root 4.0K Dec  9 19:18 modules
-rwxrwxrwx.  1 apache root 2.4K Dec  9 19:18 README.md
drwxrwxrwx.  5 apache root   55 Dec  9 23:23 themes

Thanks for your fast reply.

Edited by Rivers
Link to comment
Share on other sites

  • 0
22 hours ago, Rivers said:

What if I don't have a SuExec?

1234.png


Please try to execute this.

chmod -R 777 /var/www/html/FluxCP/data/logs
chown -R apache:apache /var/www/html/FluxCP/data/logs

chmod -R 777 /var/www/html/FluxCP/data/itemshop
chown -R apache:apache /var/www/html/FluxCP/data/itemshop

chmod -R 777 /var/www/html/FluxCP/data/tmp
chown -R apache:apache /var/www/html/FluxCP/data/tmp

 

Edited by Royr
Apologize for typo 'removed' the "cp"
Link to comment
Share on other sites

  • 0
[[email protected] ~]# chmod -R 777 /var/www/html/FluxCP/data/logs
[[email protected] ~]# chown -R apache:apache /var/www/html/FluxCP/cp/data/logs
chown: cannot access ‘/var/www/html/FluxCP/cp/data/logs’: No such file or directory
[[email protected] ~]#
[[email protected] ~]# chmod -R 777 /var/www/html/FluxCP/cp/data/itemshop
chmod: cannot access ‘/var/www/html/FluxCP/cp/data/itemshop’: No such file or directory
[[email protected] ~]# chown -R apache:apache /var/www/html/FluxCP/cp/data/itemshop
chown: cannot access ‘/var/www/html/FluxCP/cp/data/itemshop’: No such file or directory
[[email protected] ~]#
[[email protected] ~]# chmod -R 777 /var/www/html/FluxCP/cp/data/tmp
chmod: cannot access ‘/var/www/html/FluxCP/cp/data/tmp’: No such file or directory
[[email protected] ~]# chown -R apache:apache /var/www/html/FluxCP/data/tmp

This was the results of that.

Link to comment
Share on other sites

  • 0
8 hours ago, Rivers said:
[[email protected] ~]# chmod -R 777 /var/www/html/FluxCP/data/logs
[[email protected] ~]# chown -R apache:apache /var/www/html/FluxCP/cp/data/logs
chown: cannot access ‘/var/www/html/FluxCP/cp/data/logs’: No such file or directory
[[email protected] ~]#
[[email protected] ~]# chmod -R 777 /var/www/html/FluxCP/cp/data/itemshop
chmod: cannot access ‘/var/www/html/FluxCP/cp/data/itemshop’: No such file or directory
[[email protected] ~]# chown -R apache:apache /var/www/html/FluxCP/cp/data/itemshop
chown: cannot access ‘/var/www/html/FluxCP/cp/data/itemshop’: No such file or directory
[[email protected] ~]#
[[email protected] ~]# chmod -R 777 /var/www/html/FluxCP/cp/data/tmp
chmod: cannot access ‘/var/www/html/FluxCP/cp/data/tmp’: No such file or directory
[[email protected] ~]# chown -R apache:apache /var/www/html/FluxCP/data/tmp

This was the results of that.

It means remove cp/ from the filepath. Essentially this has already been covered earlier, the only difference is adding world-writable and world-readable, which FluxCP doesn't ask you to do because it's insecure.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.