Evening all.
I’m using a combination of
with the instructions from
https://linuxhint.com/install_nextcloud_raspberry_pi/
to show me how to set up the mysql server to set up my new nextcloud on a Pi4. I also used another page which showed me how to move the data from my old owncloud to the new nextcloud setup and import the data using:
sudo -u www-data php console.php files:scan --all
However, this did not run clean, giving an error on one of the users. I have run it again and got the same problem. The output is below.
My problem now is that I whenever I try to go to the login page I get the “Internal Server Error” message appear. It says to look at the server logs but they do not contain anything useful. Is there a non-standard log file I should be looking at?
I don’t know whether or not this is related to the failing scan or down to other config changes I’ve made, such as editing the php and apache files as per the instructions on the first URL above. I had only got as far as allowing httpaccess override, and had not yet looked at setting up SSL
Anyone got any ideas how I can find out what the problem is and fix it?
root@owncloud:/var/www/html/nextcloud# sudo -u www-data php console.php files:scan --all
Starting scan for user 1 out of 3 (admin)
Starting scan for user 2 out of 3 (gary)
Exception during scan: “files/a44321ade399bda15667daffef7c46bc” is locked
#0 /var/www/html/nextcloud/lib/private/Files/Storage/Common.php(715): OC\Lock\DBLockingProvider->acquireLock(‘files/a44321ade…’, 2)
#1 /var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(593): OC\Files\Storage\Common->acquireLock(‘scanner::’, 2, Object(OC\Lock\DBLockingProvider))
#2 /var/www/html/nextcloud/lib/private/Files/Cache/Scanner.php(331): OC\Files\Storage\Wrapper\Wrapper->acquireLock(‘scanner::’, 2, Object(OC\Lock\DBLockingProvider))
#3 /var/www/html/nextcloud/lib/private/Files/Utils/Scanner.php(245): OC\Files\Cache\Scanner->scan(’’, true, 3)
#4 /var/www/html/nextcloud/apps/files/lib/Command/Scan.php(145): OC\Files\Utils\Scanner->scan(’/gary’, true, NULL)
#5 /var/www/html/nextcloud/apps/files/lib/Command/Scan.php(201): OCA\Files\Command\Scan->scanFiles(‘gary’, ‘/gary’, Object(Symfony\Component\Console\Output\ConsoleOutput), false, true, false)
#6 /var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/html/nextcloud/core/Command/Base.php(166): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(901): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(262): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files\Command\Scan), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(145): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/nextcloud/console.php(97): OC\Console\Application->run()
#13 {main}
Starting scan for user 3 out of 3 (margaret)