[NextCloudPi] Unable to mount/format external HDD (USB)

I’ve been trying to connect a 500GB drive to my Pi but it indefinitely hangs whenever I try to format or mount it. This occurs with, e.g.:

  • ncp-format-usb
  • sudo wipefs
  • sudo mount

Drive info:

  • Seagate 500GB USB3.0
  • #STCF500102
  • Originally formatted with HFS+ and an EFI partition

NCP couldn’t recognize this drive (“counted 0 devices”), so I tried formatting it to FAT first. This caused ncp-format-usb to hang indefinitely.

My next attempt was, through an Ubuntu VM, to manually format to a single btrfs part – the steps from nc-format-USB.sh :

wipefs -a -f /dev/sdb
parted /dev/sdb --script -- mklabel gpt
parted /dev/sdb --script -- mkpart primary 0% 100%
sleep 0.5
mkfs.btrfs -q /dev/sdb1 -f -L "myCloudDrive"

Confirmation from lsblk:

senabina@senabina-VirtualBox:~$ lsblk -o +label,fstype,uuid /dev/sdb
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT LABEL        FSTYPE UUID
sdb      8:16   0 465.8G  0 disk                                
└─sdb1   8:17   0 465.8G  0 part /mnt       myCloudDrive btrfs  93e3f29d-871f-47a6-9f50-4e735f0f967b

But on the pi:

pi@nextcloudpi:~ $ lsblk -o +label,fstype,uuid /dev/sda
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT LABEL FSTYPE UUID
sda    8:0    0 465.8G  0 disk                         

I can’t understand what’s going on, and wondering if it’s a firmware issue with the HDD specifically. Maybe the Pi’s USB ports are somehow deteriorated? The drive also makes a strange faint clicking noise in the pi. I worry this may be beyond the scope of this forum, but would nevertheless appreciate a point in the right direction…

sudo ncp-report output:

NextCloudPi diagnostics

qNextCloudPi version  v1.34.1
NextCloudPi image    NextCloudPi_11-27-20
distribution         Debian GNU/Linux 10 \n \l
automount            yes
USB devices          sda 
datadir              /var/www/nextcloud/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      2.4G/29G
rootfs usage         2.4G/29G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    20.0.2.2
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        open
port check 443       open
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               1:26

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "11": "24.167.56.107",
            "1": "192.168.1.19"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "20.0.2.2",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/var\/www\/nextcloud\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https"
    }
}

HTTPd logs

[Mon Jan 04 18:04:14.897944 2021] [authz_host:error] [pid 763:tid 548149436816] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /img/defaults-white.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Mon Jan 04 18:04:14.899277 2021] [authz_host:error] [pid 763:tid 548174639504] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Mon Jan 04 18:04:14.899687 2021] [authz_host:error] [pid 763:tid 548141035920] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /img/wizard.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Mon Jan 04 18:04:14.900464 2021] [authz_host:error] [pid 763:tid 548157837712] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Mon Jan 04 18:04:14.901234 2021] [authz_host:error] [pid 763:tid 548166238608] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://nextcloudpi.local:4443/css/ncp.css
[Mon Jan 04 18:04:14.907470 2021] [authz_host:error] [pid 763:tid 548166238608] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Mon Jan 04 18:04:14.929690 2021] [authz_host:error] [pid 763:tid 548157837712] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Mon Jan 04 18:04:21.699066 2021] [authz_host:error] [pid 763:tid 548157837712] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Mon Jan 04 18:04:22.700297 2021] [authz_host:error] [pid 763:tid 548157837712] [client 192.168.1.17:60874] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Mon Jan 04 18:59:57.479421 2021] [proxy_fcgi:error] [pid 763:tid 548166238608] [client 192.168.1.17:60874] AH01067: Failed to read FastCGI header
[Mon Jan 04 18:59:57.479680 2021] [proxy_fcgi:error] [pid 763:tid 548166238608] (104)Connection reset by peer: [client 192.168.1.17:60874] AH01075: Error dispatching request to :4443: 
[Mon Jan 04 18:59:58.322038 2021] [mpm_event:notice] [pid 761:tid 548431021424] AH00491: caught SIGTERM, shutting down
[Mon Jan 04 19:00:17.946261 2021] [ssl:warn] [pid 583:tid 548205258096] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 04 19:00:17.953388 2021] [ssl:error] [pid 583:tid 548205258096] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT]
[Mon Jan 04 19:00:17.953650 2021] [ssl:error] [pid 583:tid 548205258096] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Jan 04 19:00:18.046042 2021] [ssl:warn] [pid 743:tid 548205258096] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 04 19:00:18.046873 2021] [ssl:error] [pid 743:tid 548205258096] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT]
[Mon Jan 04 19:00:18.046954 2021] [ssl:error] [pid 743:tid 548205258096] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Jan 04 19:00:18.057867 2021] [mpm_event:notice] [pid 743:tid 548205258096] AH00489: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Mon Jan 04 19:00:18.058150 2021] [core:notice] [pid 743:tid 548205258096] AH00094: Command line: '/usr/sbin/apache2'

Database logs

2021-01-04 19:08:22 0 [Note] InnoDB: Uses event mutexes
2021-01-04 19:08:22 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-01-04 19:08:22 0 [Note] InnoDB: Number of pools: 1
2021-01-04 19:08:22 0 [Note] InnoDB: Using generic crc32 instructions
2021-01-04 19:08:22 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2021-01-04 19:08:22 0 [Note] InnoDB: Completed initialization of buffer pool
2021-01-04 19:08:22 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-01-04 19:08:23 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-01-04 19:08:23 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-01-04 19:08:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-01-04 19:08:23 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-01-04 19:08:23 0 [Note] InnoDB: 10.3.27 started; log sequence number 5410081; transaction id 8262
2021-01-04 19:08:23 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2021-01-04 19:08:23 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-01-04 19:08:23 0 [Note] Server socket created on IP: '127.0.0.1'.
2021-01-04 19:08:23 0 [Note] Reading of all Master_info entries succeeded
2021-01-04 19:08:23 0 [Note] Added new Master_info '' to hash table
2021-01-04 19:08:23 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.3.27-MariaDB-0+deb10u1'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Debian 10
2021-01-04 19:08:24 0 [Note] InnoDB: Buffer pool(s) load completed at 210104 19:08:24

Nextcloud logs

{"reqId":"zT7Axls9gth86OfhnFzs","level":3,"time":"2020-11-27T23:24:35+00:00","remoteAddr":"","user":"ncp","app":"no app in context","method":"","url":"--","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve trashManager! Class trashManager does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":126,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager"]},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager",true]},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":430,"function":"query","class":"OC\\ServerContainer","type":"->","args":["trashManager",true]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["trashManager"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":58,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager"]},{"function":"OC\\AppFramework\\Bootstrap\\{closure}","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":68,"function":"array_map","args":[{"__class__":"Closure"},[{"name":"serverContainer","__class__":"ReflectionParameter"},{"name":"logger","__class__":"ReflectionParameter"},{"name":"appManager","__class__":"ReflectionParameter"},"*** sensitive parameter replaced ***"]]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":52,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[[{"__class__":"OCA\\Files_Trashbin\\AppInfo\\Application"},"registerTrashBackends"]]},{"file":"/var/www/nextcloud/apps/files_trashbin/lib/AppInfo/Application.php","line":57,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[[{"__class__":"OCA\\Files_Trashbin\\AppInfo\\Application"},"registerTrashBackends"]]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":168,"function":"boot","class":"OCA\\Files_Trashbin\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":191,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_trashbin"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":131,"function":"loadApp","class":"OC_App","type":"::","args":["files_trashbin"]},{"file":"/var/www/nextcloud/apps/dav/lib/AppInfo/Application.php","line":113,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":168,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":191,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":131,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Util.php","line":201,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":554,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":415,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameter replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":624,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":367,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Setup.php","line":436,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/core/Command/Maintenance/Install.php","line":106,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":1000,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":271,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Maintenance\\Install"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":147,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":215,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/console.php","line":100,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"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":115,"CustomMessage":"Could not boot files_trashbinCould not resolve trashManager! Class trashManager does not exist"},"userAgent":"--","version":"20.0.2.2"}
{"reqId":"zT7Axls9gth86OfhnFzs","level":3,"time":"2020-11-27T23:24:35+00:00","remoteAddr":"","user":"ncp","app":"no app in context","method":"","url":"--","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":126,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":455,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":427,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":119,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":106,"function":"loadBackend","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"@attributes":{"for":"OCP\\Files\\Storage\\IStorage"},"@value":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"},{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\AppFramework\\Logger"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":68,"function":"registerVersionBackends","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\App\\AppManager"},{"__class__":"OC\\AppFramework\\Logger"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":52,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":91,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":168,"function":"boot","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":191,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_versions"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":131,"function":"loadApp","class":"OC_App","type":"::","args":["files_versions"]},{"file":"/var/www/nextcloud/apps/dav/lib/AppInfo/Application.php","line":113,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":168,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":191,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":131,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Util.php","line":201,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":554,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":415,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameter replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":624,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":367,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Setup.php","line":436,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/core/Command/Maintenance/Install.php","line":106,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":1000,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":271,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OC\\Core\\Command\\Maintenance\\Install"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":147,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":215,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/nextcloud/console.php","line":100,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"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":111,"CustomMessage":"Could not boot files_versionsCould not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated"},"userAgent":"--","version":"20.0.2.2"}

Additional debug info about the drive that may be useful:

uname -a
Linux nextcloudpi 5.4.79-v8+ #1373 SMP PREEMPT Mon Nov 23 13:32:41 GMT 2020 aarch64 GNU/Linux
sudo smartctl -x /dev/sda -d scsi -T permissive
smartctl 6.6 2017-11-05 r4594 [aarch64-linux-5.4.79-v8+] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               Seagate
Product:              BUP Slim Mac SL
Revision:             0302
Compliance:           SPC-4
User Capacity:        500,107,861,504 bytes [500 GB]
Logical block size:   512 bytes
Logical Unit id:      0x5000000000000001
Serial number:        (**expunged**)
Device type:          disk
Local Time is:        Mon Jan  4 21:42:15 2021 CST
device becoming ready (wait)
SMART support is:     Unavailable - device lacks SMART capability.
Read Cache is:        Unavailable
Writeback Cache is:   Unavailable

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Error Counter logging not supported

Device does not support Self Test logging
Device does not support Background scan results logging
sudo dmesg | tail
[ 1319.122762] Buffer I/O error on dev sda, logical block 7, async page read
 [ 1319.123185]  sda: unable to read partition table
 [ 1319.129091] sd 0:0:0:0: [sda] Spinning up disk...
 [ 1320.133759] ......not responding...
 [ 1478.970807] sd 0:0:0:0: [sda] Attached SCSI disk
 [ 1513.730452] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
 [ 1513.730504] sd 0:0:0:0: [sda] tag#0 Sense Key : 0x2 [current] 
 [ 1513.730569] sd 0:0:0:0: [sda] tag#0 ASC=0x4 ASCQ=0x1 
 [ 1513.730604] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 3a 38 5f 80 00 00 08 00
 [ 1513.730647] blk_update_request: I/O error, dev sda, sector 976772992 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
sudo lsusb -v -s 1
Bus 001 Device 004: ID 0bc2:ab06 Seagate RSS LLC 
Device Descriptor:
bLength                18
bDescriptorType         1
bcdUSB               2.10
bDeviceClass            0 
bDeviceSubClass         0 
bDeviceProtocol         0 
bMaxPacketSize0        64
idVendor           0x0bc2 Seagate RSS LLC
idProduct          0xab06 
bcdDevice            1.00
iManufacturer           2 Seagate
iProduct                3 BUP Slim Mac SL
iSerial                 1 NA7371M1
bNumConfigurations      1
Configuration Descriptor:
	bLength                 9
	bDescriptorType         2
	wTotalLength       0x0055
	bNumInterfaces          1
	bConfigurationValue     1
	iConfiguration          0 
	bmAttributes         0x80
	(Bus Powered)
	MaxPower              100mA
	Interface Descriptor:
	bLength                 9
	bDescriptorType         4
	bInterfaceNumber        0
	bAlternateSetting       0
	bNumEndpoints           2
	bInterfaceClass         8 Mass Storage
	bInterfaceSubClass      6 SCSI
	bInterfaceProtocol     80 Bulk-Only
	iInterface              0 
	Endpoint Descriptor:
		bLength                 7
		bDescriptorType         5
		bEndpointAddress     0x81  EP 1 IN
		bmAttributes            2
		Transfer Type            Bulk
		Synch Type               None
		Usage Type               Data
		wMaxPacketSize     0x0200  1x 512 bytes
		bInterval               0
	Endpoint Descriptor:
		bLength                 7
		bDescriptorType         5
		bEndpointAddress     0x02  EP 2 OUT
		bmAttributes            2
		Transfer Type            Bulk
		Synch Type               None
		Usage Type               Data
		wMaxPacketSize     0x0200  1x 512 bytes
		bInterval               0
	Interface Descriptor:
	bLength                 9
	bDescriptorType         4
	bInterfaceNumber        0
	bAlternateSetting       1
	bNumEndpoints           4
	bInterfaceClass         8 Mass Storage
	bInterfaceSubClass      6 SCSI
	bInterfaceProtocol     98 
	iInterface              0 
	Endpoint Descriptor:
		bLength                 7
		bDescriptorType         5
		bEndpointAddress     0x81  EP 1 IN
		bmAttributes            2
		Transfer Type            Bulk
		Synch Type               None
		Usage Type               Data
		wMaxPacketSize     0x0200  1x 512 bytes
		bInterval               0
		Data-in pipe (0x03)
	Endpoint Descriptor:
		bLength                 7
		bDescriptorType         5
		bEndpointAddress     0x02  EP 2 OUT
		bmAttributes            2
		Transfer Type            Bulk
		Synch Type               None
		Usage Type               Data
		wMaxPacketSize     0x0200  1x 512 bytes
		bInterval               0
		Data-out pipe (0x04)
	Endpoint Descriptor:
		bLength                 7
		bDescriptorType         5
		bEndpointAddress     0x83  EP 3 IN
		bmAttributes            2
		Transfer Type            Bulk
		Synch Type               None
		Usage Type               Data
		wMaxPacketSize     0x0200  1x 512 bytes
		bInterval               0
		Status pipe (0x02)
	Endpoint Descriptor:
		bLength                 7
		bDescriptorType         5
		bEndpointAddress     0x04  EP 4 OUT
		bmAttributes            2
		Transfer Type            Bulk
		Synch Type               None
		Usage Type               Data
		wMaxPacketSize     0x0200  1x 512 bytes
		bInterval               0
		Command pipe (0x01)
Binary Object Store Descriptor:
bLength                 5
bDescriptorType        15
wTotalLength       0x0016
bNumDeviceCaps          2
USB 2.0 Extension Device Capability:
	bLength                 7
	bDescriptorType        16
	bDevCapabilityType      2
	bmAttributes   0x00000002
	HIRD Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
	bLength                10
	bDescriptorType        16
	bDevCapabilityType      3
	bmAttributes         0x00
	wSpeedsSupported   0x000e
	Device can operate at Full Speed (12Mbps)
	Device can operate at High Speed (480Mbps)
	Device can operate at SuperSpeed (5Gbps)
	bFunctionalitySupport   1
	Lowest fully-functional device speed is Full Speed (12Mbps)
	bU1DevExitLat          10 micro seconds
	bU2DevExitLat        2047 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
(Bus Powered)

Is the drive powered over usb?
If so try powering via a powered hub.

Check content of dmesg and syslog.

It is, but unfortunately I don’t have a powered hub available to test. Currently working off a (reliable) 2.1A adapter with no other peripherals. For what it’s worth, I did also implement the following changes from scouring around these and related forums:

  • Blacklist UAS for this specific drive model, forcing it to use the usb-storage module instead
  • Added max_usb_current=1 to /boot/config.txt

These didn’t solve the problem, but the number of error messages in output was definitely reduced:

sudo dmesg
[Jan 5 05:01] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[  +0.000000] Linux version 5.4.79-v8+ (dom@buildbot) (gcc version 8.4.0 (Ubuntu/Linaro 8.4.0-3ubuntu1)) #1373 SMP PRE
[  +0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[  +0.000000] efi: Getting EFI parameters from FDT:
[  +0.000000] efi: UEFI not found.
[  +0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[  +0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[  +0.000000] On node 0 totalpages: 242688
[  +0.000000]   DMA zone: 3792 pages used for memmap
[  +0.000000]   DMA zone: 0 pages reserved
[  +0.000000]   DMA zone: 242688 pages, LIFO batch:63
[  +0.000000] percpu: Embedded 31 pages/cpu s89304 r8192 d29480 u126976
[  +0.000000] pcpu-alloc: s89304 r8192 d29480 u126976 alloc=31*4096
[  +0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[  +0.000000] Detected VIPT I-cache on CPU0
[  +0.000000] CPU features: detected: ARM erratum 845719
[  +0.000000] CPU features: detected: ARM erratum 843419
[  +0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 238896
[  +0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enabl
[  +0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[  +0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[  +0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[  +0.000000] Memory: 671364K/970752K available (9852K kernel code, 1126K rwdata, 3432K rodata, 1024K init, 1201K bss,
[  +0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[  +0.000000] ftrace: allocating 32923 entries in 129 pages
[  +0.000000] rcu: Preemptible hierarchical RCU implementation.
[  +0.000000] rcu:      RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[  +0.000000]   Tasks RCU enabled.
[  +0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[  +0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[  +0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[  +0.000000] random: get_random_bytes called from start_kernel+0x324/0x4b4 with crng_init=0
[  +0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[  +0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767
[  +0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[  +0.000252] Console: colour dummy device 80x25
[  +0.000726] printk: console [tty1] enabled
[  +0.000070] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[  +0.000053] pid_max: default: 32768 minimum: 301
[  +0.000223] LSM: Security Framework initializing
[  +0.000290] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[  +0.000060] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[  +0.001534] Disabling memory control group subsystem
[  +0.002075] ASID allocator initialised with 32768 entries
[  +0.000313] rcu: Hierarchical SRCU implementation.
[  +0.000783] EFI services will not be available.
[  +0.000586] smp: Bringing up secondary CPUs ...
[  +0.001370] Detected VIPT I-cache on CPU1
[  +0.000069] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[  +0.001427] Detected VIPT I-cache on CPU2
[  +0.000046] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[  +0.001334] Detected VIPT I-cache on CPU3
[  +0.000043] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[  +0.000194] smp: Brought up 1 node, 4 CPUs
[  +0.000150] SMP: Total of 4 processors activated.
[  +0.000033] CPU features: detected: 32-bit EL0 Support
[  +0.000035] CPU features: detected: CRC32 instructions
[  +0.026697] CPU: All CPU(s) started at EL2
[  +0.000103] alternatives: patching kernel code
[  +0.001916] devtmpfs: initialized
[  +0.017411] Enabled cp15_barrier support
[  +0.000067] Enabled setend support
[  +0.000602] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[  +0.000066] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[  +0.012627] pinctrl core: initialized pinctrl subsystem
[  +0.000968] DMI not present or invalid.
[  +0.000567] NET: Registered protocol family 16
...skipping...
[  +1.336080] Bluetooth: Core ver 2.22
[  +0.000138] NET: Registered protocol family 31
[  +0.000013] Bluetooth: HCI device and connection manager initialized
[  +0.000037] Bluetooth: HCI socket layer initialized
[  +0.000023] Bluetooth: L2CAP socket layer initialized
[  +0.000052] Bluetooth: SCO socket layer initialized
[  +0.017887] Bluetooth: HCI UART driver ver 2.3
[  +0.000024] Bluetooth: HCI UART protocol H4 registered
[  +0.000113] Bluetooth: HCI UART protocol Three-wire (H5) registered
[  +0.000401] Bluetooth: HCI UART protocol Broadcom registered
[  +0.249260] IPv4: martian source 255.255.255.255 from 192.168.1.17, on dev eth0
[  +0.000029] ll header: 00000000: ff ff ff ff ff ff 60 f8 1d b7 a7 fc 08 00 45 00
[  +0.000015] ll header: 00000010: 00 dc d2 c8 00 00 40 11 e5 8f
[  +0.138212] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  +0.000034] Bluetooth: BNEP filters: protocol multicast
[  +0.000036] Bluetooth: BNEP socket layer initialized
[  +0.152019] IPv4: martian source 255.255.255.255 from 192.168.1.17, on dev eth0
[  +0.000026] ll header: 00000000: ff ff ff ff ff ff 60 f8 1d b7 a7 fc 08 00 45 00
[  +0.000015] ll header: 00000010: 00 d1 26 03 00 00 40 11 92 60
[  +0.153423] .
[  +0.059769] cryptd: max_cpu_qlen set to 1000
[  +0.964255] ..
[  +1.040247] IPv4: martian source 255.255.255.255 from 192.168.1.1, on dev eth0
[  +0.000044] ll header: 00000000: ff ff ff ff ff ff a0 04 60 13 f8 39 08 00 45 00
[  +0.000024] ll header: 00000010: 01 48 00 00 00 00 40 11 b7 fc
[  +1.007705] ......................
[ +22.191969] Adding 102396k swap on /var/swap.  Priority:-2 extents:3 across:1511084k SSFS
[  +0.400014] ................................................................not responding...
[Jan 5 05:02] sd 0:0:0:0: [sda] 976773167 512-byte logical blocks: (500 GB/466 GiB)
[  +6.907080] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[Jan 5 05:03] sd 0:0:0:0: [sda] Asking for cache data failed
[  +0.000026] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  +0.032007] sd 0:0:0:0: [sda] Spinning up disk...
[  +1.021816] ..................................................................................................not re
[Jan 5 05:07] INFO: task kworker/u8:1:85 blocked for more than 120 seconds.
[  +0.000031]       Tainted: G         C        5.4.79-v8+ #1373
[  +0.000012] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  +0.000014] kworker/u8:1    D    0    85      2 0x00000028
[  +0.000042] Workqueue: events_unbound async_run_entry_fn
[  +0.000018] Call trace:
[  +0.000021]  __switch_to+0xe8/0x280
[  +0.000031]  __schedule+0x2e0/0x718
[  +0.000015]  schedule+0x40/0xd8
[  +0.000015]  io_schedule+0x20/0xf0
[  +0.000020]  do_read_cache_page+0x3f0/0x6a0
[  +0.000017]  read_cache_page+0x40/0x50
[  +0.000019]  read_dev_sector+0x3c/0xf0
[  +0.000017]  read_lba+0xd4/0x1c0
[  +0.000016]  efi_partition+0xd0/0x598
[  +0.000017]  check_partition+0x110/0x218
[  +0.000016]  rescan_partitions+0xc4/0x390
[  +0.000020]  bdev_disk_changed+0x74/0x80
[  +0.000016]  __blkdev_get+0x360/0x4a8
[  +0.000016]  blkdev_get+0xf4/0x190
[  +0.000017]  __device_add_disk+0x314/0x458
[  +0.000016]  device_add_disk+0x38/0x48
[  +0.000017]  sd_probe+0x2fc/0x3a0
[  +0.000017]  really_probe+0xe0/0x330
[  +0.000015]  driver_probe_device+0x5c/0xf0
[  +0.000015]  __device_attach_driver+0x88/0xc0
[  +0.000018]  bus_for_each_drv+0x8c/0xd8
[  +0.000016]  __device_attach_async_helper+0xbc/0xe0
[  +0.000025]  async_run_entry_fn+0x48/0x148
[  +0.000017]  process_one_work+0x1ec/0x4a0
[  +0.000017]  worker_thread+0x48/0x490
[  +0.000015]  kthread+0x140/0x150
[  +0.000016]  ret_from_fork+0x10/0x18
pi@nextcloudpi:~ $ sudo dmesg -H
[Jan 5 05:01] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[  +0.000000] Linux version 5.4.79-v8+ (dom@buildbot) (gcc version 8.4.0 (Ubuntu/Linaro 8.4.0-3ubuntu1)) #1373 SMP PRE
[  +0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[  +0.000000] efi: Getting EFI parameters from FDT:
[  +0.000000] efi: UEFI not found.
[  +0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[  +0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[  +0.000000] On node 0 totalpages: 242688
[  +0.000000]   DMA zone: 3792 pages used for memmap
[  +0.000000]   DMA zone: 0 pages reserved
[  +0.000000]   DMA zone: 242688 pages, LIFO batch:63
[  +0.000000] percpu: Embedded 31 pages/cpu s89304 r8192 d29480 u126976
[  +0.000000] pcpu-alloc: s89304 r8192 d29480 u126976 alloc=31*4096
[  +0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[  +0.000000] Detected VIPT I-cache on CPU0
[  +0.000000] CPU features: detected: ARM erratum 845719
[  +0.000000] CPU features: detected: ARM erratum 843419
[  +0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 238896
[  +0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enabl
[  +0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[  +0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[  +0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[  +0.000000] Memory: 671364K/970752K available (9852K kernel code, 1126K rwdata, 3432K rodata, 1024K init, 1201K bss,
[  +0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[  +0.000000] ftrace: allocating 32923 entries in 129 pages
[  +0.000000] rcu: Preemptible hierarchical RCU implementation.
[  +0.000000] rcu:      RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[  +0.000000]   Tasks RCU enabled.
[  +0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[  +0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[  +0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[  +0.000000] random: get_random_bytes called from start_kernel+0x324/0x4b4 with crng_init=0
[  +0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[  +0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767
[  +0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[  +0.000252] Console: colour dummy device 80x25
[  +0.000726] printk: console [tty1] enabled
[  +0.000070] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[  +0.000053] pid_max: default: 32768 minimum: 301
[  +0.000223] LSM: Security Framework initializing
[  +0.000290] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[  +0.000060] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[  +0.001534] Disabling memory control group subsystem
[  +0.002075] ASID allocator initialised with 32768 entries
[  +0.000313] rcu: Hierarchical SRCU implementation.
[  +0.000783] EFI services will not be available.
[  +0.000586] smp: Bringing up secondary CPUs ...
[  +0.001370] Detected VIPT I-cache on CPU1
[  +0.000069] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[  +0.001427] Detected VIPT I-cache on CPU2
[  +0.000046] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[  +0.001334] Detected VIPT I-cache on CPU3
[  +0.000043] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[  +0.000194] smp: Brought up 1 node, 4 CPUs
[  +0.000150] SMP: Total of 4 processors activated.
[  +0.000033] CPU features: detected: 32-bit EL0 Support
[  +0.000035] CPU features: detected: CRC32 instructions
[  +0.026697] CPU: All CPU(s) started at EL2
[  +0.000103] alternatives: patching kernel code
[  +0.001916] devtmpfs: initialized
[  +0.017411] Enabled cp15_barrier support
[  +0.000067] Enabled setend support
[  +0.000602] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[  +0.000066] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[  +0.012627] pinctrl core: initialized pinctrl subsystem
[  +0.000968] DMI not present or invalid.
[  +0.000567] NET: Registered protocol family 16
...skipping...
[  +1.336080] Bluetooth: Core ver 2.22
[  +0.000138] NET: Registered protocol family 31
[  +0.000013] Bluetooth: HCI device and connection manager initialized
[  +0.000037] Bluetooth: HCI socket layer initialized
[  +0.000023] Bluetooth: L2CAP socket layer initialized
[  +0.000052] Bluetooth: SCO socket layer initialized
[  +0.017887] Bluetooth: HCI UART driver ver 2.3
[  +0.000024] Bluetooth: HCI UART protocol H4 registered
[  +0.000113] Bluetooth: HCI UART protocol Three-wire (H5) registered
[  +0.000401] Bluetooth: HCI UART protocol Broadcom registered
[  +0.249260] IPv4: martian source 255.255.255.255 from 192.168.1.17, on dev eth0
[  +0.000029] ll header: 00000000: ff ff ff ff ff ff 60 f8 1d b7 a7 fc 08 00 45 00
[  +0.000015] ll header: 00000010: 00 dc d2 c8 00 00 40 11 e5 8f
[  +0.138212] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  +0.000034] Bluetooth: BNEP filters: protocol multicast
[  +0.000036] Bluetooth: BNEP socket layer initialized
[  +0.152019] IPv4: martian source 255.255.255.255 from 192.168.1.17, on dev eth0
[  +0.000026] ll header: 00000000: ff ff ff ff ff ff 60 f8 1d b7 a7 fc 08 00 45 00
[  +0.000015] ll header: 00000010: 00 d1 26 03 00 00 40 11 92 60
[  +0.153423] .
[  +0.059769] cryptd: max_cpu_qlen set to 1000
[  +0.964255] ..
[  +1.040247] IPv4: martian source 255.255.255.255 from 192.168.1.1, on dev eth0
[  +0.000044] ll header: 00000000: ff ff ff ff ff ff a0 04 60 13 f8 39 08 00 45 00
[  +0.000024] ll header: 00000010: 01 48 00 00 00 00 40 11 b7 fc
[  +1.007705] ......................
[ +22.191969] Adding 102396k swap on /var/swap.  Priority:-2 extents:3 across:1511084k SSFS
[  +0.400014] ................................................................not responding...
[Jan 5 05:02] sd 0:0:0:0: [sda] 976773167 512-byte logical blocks: (500 GB/466 GiB)
[  +6.907080] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[Jan 5 05:03] sd 0:0:0:0: [sda] Asking for cache data failed
[  +0.000026] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  +0.032007] sd 0:0:0:0: [sda] Spinning up disk...
[  +1.021816] ..................................................................................................not re
[Jan 5 05:07] INFO: task kworker/u8:1:85 blocked for more than 120 seconds.
[  +0.000031]       Tainted: G         C        5.4.79-v8+ #1373
[  +0.000012] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  +0.000014] kworker/u8:1    D    0    85      2 0x00000028
[  +0.000042] Workqueue: events_unbound async_run_entry_fn
[  +0.000018] Call trace:
[  +0.000021]  __switch_to+0xe8/0x280
[  +0.000031]  __schedule+0x2e0/0x718
[  +0.000015]  schedule+0x40/0xd8
[  +0.000015]  io_schedule+0x20/0xf0
[  +0.000020]  do_read_cache_page+0x3f0/0x6a0
[  +0.000017]  read_cache_page+0x40/0x50
[  +0.000019]  read_dev_sector+0x3c/0xf0
[  +0.000017]  read_lba+0xd4/0x1c0
[  +0.000016]  efi_partition+0xd0/0x598
[  +0.000017]  check_partition+0x110/0x218
[  +0.000016]  rescan_partitions+0xc4/0x390
[  +0.000020]  bdev_disk_changed+0x74/0x80
[  +0.000016]  __blkdev_get+0x360/0x4a8
[  +0.000016]  blkdev_get+0xf4/0x190
[  +0.000017]  __device_add_disk+0x314/0x458
[  +0.000016]  device_add_disk+0x38/0x48
[  +0.000017]  sd_probe+0x2fc/0x3a0
[  +0.000017]  really_probe+0xe0/0x330
[  +0.000015]  driver_probe_device+0x5c/0xf0
[  +0.000015]  __device_attach_driver+0x88/0xc0
[  +0.000018]  bus_for_each_drv+0x8c/0xd8
[  +0.000016]  __device_attach_async_helper+0xbc/0xe0
[  +0.000025]  async_run_entry_fn+0x48/0x148
[  +0.000017]  process_one_work+0x1ec/0x4a0
[  +0.000017]  worker_thread+0x48/0x490
[  +0.000015]  kthread+0x140/0x150
[  +0.000016]  ret_from_fork+0x10/0x18

Sorry, I’m not really sure how to do this. There’s no /etc/syslog.conf/, and the errors in /var/log/messages are the same as those from dmesg