Jump to content

Issues after migration


Recommended Posts

Hello

A few days ago we had to change the VPS. For some reaseon i have an access to admin panel but forum is not avaliable.

Could contain: Text

 

I've seen that 500 error might be the problem with file permissions but in admin panel everything seems to work fine (only a new security update):

Could contain: Text

 

Any ideas?

Link to comment
Share on other sites

We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. 

We look forward to further assisting you. 

 

Link to comment
Share on other sites

If you are using suphp or suexec, the permissions for our software are normally set as:

All Folders and Subfolders: 0644

All Files: 0755

Setting any file or folder to 0777 can (and usually does) led to 500 Errors, with a message about "access denied by client configuration" or similar.

Link to comment
Share on other sites

That error suggests your .htaccess file is missing, or cannot be read by the server account running the software. 

Permissions on .htaccess should also be 0644 if you are using suexec or suphp. Have you checked that specifically?

Link to comment
Share on other sites

Ah, is this an IIS server?

If so, that is the problem. We unfortunately do not support the use of IIS servers, we only support a server running a LAMP stack. 

But if this is a Linux server with Apache, MySQL and a compatible version of PHP, please let us know.

Link to comment
Share on other sites

The screenshot you provided does not appear to be from a Linux server.

And although it's in a language I can't read, it does appear to be what you would see in IIS (or Windows) for file/folder properties.

Can you please clarify?

Link to comment
Share on other sites

 

15 minutes ago, Mark H said:

The screenshot you provided does not appear to be from a Linux server.

And although it's in a language I can't read, it does appear to be what you would see in IIS (or Windows) for file/folder properties.

Can you please clarify?

 

53 minutes ago, Veritas Roleplay said:

Ubuntu linux, apache, mysql, php 7.4

Link to comment
Share on other sites

In looking with SFTP, I see that all files and folders for the software are running under the root user, or at least they are owned by the root user.

This is non-standard, and could be the issue. You normally have the files and folders owned by the same server account which actually runs the software. That could be the 'www' or 'apache' user, though it's usually a named account. (For example, the SFTP username you provided.)

Please check with your server provider to see what account should own the file structure for the software, then change the files and folders ownership as they indicate. Permissions should remain the same if suexec or suphp is in use, but the ownership needs to be set to the correct account.

Link to comment
Share on other sites

Done. Some new issue appeared: 

 

IPS\File\Exception: CANNOT_WRITE (3)
#0 /var/www/forum.veritas-rp.pl/system/File/File.php(351): IPS\File\_FileSystem->save()
#1 /var/www/forum.veritas-rp.pl/system/Theme/Theme.php(5374): IPS\_File::create()
#2 /var/www/forum.veritas-rp.pl/system/Theme/Theme.php(2563): IPS\_Theme::writeCss()
#3 /var/www/forum.veritas-rp.pl/system/Theme/Theme.php(641): IPS\_Theme->compileCss()
#4 /var/www/forum.veritas-rp.pl/applications/core/modules/admin/support/support.php(65): IPS\_Theme->css()
#5 /var/www/forum.veritas-rp.pl/system/Dispatcher/Controller.php(101): IPS\core\modules\admin\support\_support->manage()
#6 /var/www/forum.veritas-rp.pl/applications/core/modules/admin/support/support.php(48): IPS\Dispatcher\_Controller->execute()
#7 /var/www/forum.veritas-rp.pl/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\support\_support->execute()
#8 /var/www/forum.veritas-rp.pl/admin/index.php(13): IPS\_Dispatcher->run()
#9 {main}

 

Maybe there is some way to backup only users and their posts and create our forum from scratch?

Link to comment
Share on other sites

4 minutes ago, Veritas Roleplay said:

Done. Some new issue appeared: 

 

IPS\File\Exception: CANNOT_WRITE (3)
#0 /var/www/forum.veritas-rp.pl/system/File/File.php(351): IPS\File\_FileSystem->save()
#1 /var/www/forum.veritas-rp.pl/system/Theme/Theme.php(5374): IPS\_File::create()
#2 /var/www/forum.veritas-rp.pl/system/Theme/Theme.php(2563): IPS\_Theme::writeCss()
#3 /var/www/forum.veritas-rp.pl/system/Theme/Theme.php(641): IPS\_Theme->compileCss()
#4 /var/www/forum.veritas-rp.pl/applications/core/modules/admin/support/support.php(65): IPS\_Theme->css()
#5 /var/www/forum.veritas-rp.pl/system/Dispatcher/Controller.php(101): IPS\core\modules\admin\support\_support->manage()
#6 /var/www/forum.veritas-rp.pl/applications/core/modules/admin/support/support.php(48): IPS\Dispatcher\_Controller->execute()
#7 /var/www/forum.veritas-rp.pl/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\support\_support->execute()
#8 /var/www/forum.veritas-rp.pl/admin/index.php(13): IPS\_Dispatcher->run()
#9 {main}

 

Maybe there is some way to backup only users and their posts and create our forum from scratch?

You'll want to check to ensure your theme storage location is writable. It is stating there that it is not.

By default, this location is a sub-folder of /uploads so you will want to ensure all sub-folders of /uploads are writable and owner by the same user/group as required by your server.

EDIT: to address your backup/restore question, as these are server errors with writing that would likely be a fruitless endeavor, I'm afraid, as you'll likely just encounter this again. Server write issues need to be resolved otherwise, the software will continue to have this issue.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...