Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
tforums Posted January 6 Posted January 6 Getting these errors randomly after server move when I try to access the Support section, and always when I try to view the System Logs. I have tried setting perms, but they still appear. Any advice would be much appreciated. A configuration or server error has occurred EX0 Something went wrong. Please try again. UnexpectedValueException: DirectoryIterator::__construct(/www/tfans/talk/uploads/logs): Failed to open directory: Permission denied (0) #0 /www/tfans/talk/applications/core/modules/admin/support/systemLogs.php(66): DirectoryIterator->__construct() #1 /www/tfans/talk/system/Dispatcher/Controller.php(118): IPS\core\modules\admin\support\_systemLogs->manage() #2 /www/tfans/talk/applications/core/modules/admin/support/systemLogs.php(38): IPS\Dispatcher\_Controller->execute() #3 /www/tfans/talk/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\support\_systemLogs->execute() #4 /www/tfans/talk/admin/index.php(13): IPS\_Dispatcher->run() #5 {main}
Jim M Posted January 6 Posted January 6 The application can't open the /uploads/logs folder. Ensure that it is writable and has correct ownership.
tforums Posted January 6 Author Posted January 6 (edited) Thanks! It is, and owned by the same user. Not sure why its still not able to access. What should the perms be? Edited January 6 by tforums
Marc Posted January 6 Posted January 6 That is a question for your hosting company. We can only tell you the application needs to be able to write
tforums Posted January 6 Author Posted January 6 (edited) Yea, I know. I am asking if if should be "0777" or something else? And is the account owner or apache use who needs to access? FWIW, this is self hosted. So I can access everything, no problem. Just trying to get the right details here. Thanks. Edited January 6 by tforums
tforums Posted January 6 Author Posted January 6 Just now, Adriano Faria said: 0777. Thanks, that's what it. I am not sure why it cannot see it.
Jim M Posted January 6 Posted January 6 5 minutes ago, tforums said: I am asking if if should be "0777" or something else? And is the account owner or apache use who needs to access? This would be dependent on your server configuration. We cannot tell you this as server configuration support is outside our scope of support. Only your hosting provider or server administrator can tell you why it's not working. tforums 1
tforums Posted January 6 Author Posted January 6 I am the hosting provider / server administrator. All I am looking for is answer like "It should be like user X and perms Y. "
Jim M Posted January 6 Posted January 6 2 minutes ago, tforums said: I am the hosting provider / server administrator. All I am looking for is answer like "It should be like user X and perms Y. " As a software provider, we do not provide hosting support. Software does not control this but rather your hosting configuration does. If you are unsure, you would want to hire a server administrator to help you. tforums 1
tforums Posted January 6 Author Posted January 6 I am the hosting provider / server administrator!!!!! It was SELINUX for anyone else who runs into this.
Jim M Posted January 6 Posted January 6 Glad to hear you got to the bottom of your server configuration.
Recommended Posts