Internal Server Error when setting up Nextcloud

On first attempting setup of a Nextcloud Linode, obtained the Trusted Domain message (using the IP address). As instructed here I edited the config.php file, only to get an Internal Server Error message on browser (still using IP address) which directed me to the log file. Here are the last few lines of it:
"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":116,"CustomMessage":"Could not boot files_versions: Could not resolve OCA\Files_Versions\Versions\IVersionManager! Class can not be instantiated"}}

1 Reply

@michael_graaf --

"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":116,"CustomMessage":"Could not boot files_versions: Could not resolve OCA\Files_Versions\Versions\IVersionManager! Class can not be instantiated"}}

This is a message that PHP gives you when it tries to instantiate an undefined class…in this case, the class name is OCA\Files_Versions\Versions\IVersionManager. The file in question -- /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php -- is trying to do something with files_versions (whatever that is). This operation is causing the instantiation error…

This file may not exist, may not have been replaced properly in an upgrade operation or otherwise damaged. You'll have to investigate further.

I don't use Nextcloud and I haven't looked at the installation/setup procedure you followed.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct