Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 6Jan 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}
January 6Jan 6 The application can't open the /uploads/logs folder. Ensure that it is writable and has correct ownership.
January 6Jan 6 Author 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 6Jan 6 by tforums
January 6Jan 6 That is a question for your hosting company. We can only tell you the application needs to be able to write
January 6Jan 6 Author 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 6Jan 6 by tforums
January 6Jan 6 Author Just now, Adriano Faria said: 0777. Thanks, that's what it. I am not sure why it cannot see it.
January 6Jan 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.
January 6Jan 6 Author I am the hosting provider / server administrator. All I am looking for is answer like "It should be like user X and perms Y. "
January 6Jan 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.
January 6Jan 6 Author I am the hosting provider / server administrator!!!!! It was SELINUX for anyone else who runs into this.