Yak

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by Yak

  1. Tried updating to 24.0.1 using docker exec -it nextcloud updater.phar in a terminal.

     

    All seemed to run ok and then I get the following error about an unhandled exception when the occ upgrade is executed

     

    Update of code successful.
    
    Should the "occ upgrade" command be executed? [Y/n] 
    Nextcloud or one of the apps require upgrade - only a limited number of commands are available
    You may use your browser or the occ upgrade command to do the upgrade
    Setting log level to debug
    Repair step: Repair MySQL collation
    Repair info: All tables already have the correct collation -> nothing to do
    Repair step: Repair SQLite autoincrement
    Repair step: Copy data from accounts table when migrating from ownCloud
    Repair step: Drop account terms table when migrating from ownCloud
    Updating database schema
    Updated database
    An unhandled exception has been thrown:
    TypeError: fwrite() expects parameter 1 to be resource, bool given in /config/www/nextcloud/lib/private/Security/CertificateManager.php:161
    Stack trace:
    #0 /config/www/nextcloud/lib/private/Security/CertificateManager.php(161): fwrite()
    #1 /config/www/nextcloud/lib/private/Security/CertificateManager.php(247): OC\Security\CertificateManager->createCertificateBundle()
    #2 /config/www/nextcloud/lib/private/Http/Client/Client.php(127): OC\Security\CertificateManager->getAbsoluteBundlePath()
    #3 /config/www/nextcloud/lib/private/Http/Client/Client.php(74): OC\Http\Client\Client->getCertBundle()
    #4 /config/www/nextcloud/lib/private/Http/Client/Client.php(218): OC\Http\Client\Client->buildRequestOptions()
    #5 /config/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php(120): OC\Http\Client\Client->get()
    #6 /config/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php(87): OC\App\AppStore\Fetcher\Fetcher->fetch()
    #7 /config/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php(192): OC\App\AppStore\Fetcher\AppFetcher->fetch()
    #8 /config/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php(188): OC\App\AppStore\Fetcher\Fetcher->get()
    #9 /config/www/nextcloud/lib/private/Installer.php(422): OC\App\AppStore\Fetcher\AppFetcher->get()
    #10 /config/www/nextcloud/lib/private/Updater.php(413): OC\Installer->isUpdateAvailable()
    #11 /config/www/nextcloud/lib/private/Updater.php(274): OC\Updater->upgradeAppStoreApps()
    #12 /config/www/nextcloud/lib/private/Updater.php(133): OC\Updater->doUpgrade()
    #13 /config/www/nextcloud/core/Command/Upgrade.php(235): OC\Updater->upgrade()
    #14 /config/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute()
    #15 /config/www/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
    #16 /config/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
    #17 /config/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
    #18 /config/www/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
    #19 /config/www/nextcloud/console.php(99): OC\Console\Application->run()
    #20 /config/www/nextcloud/occ(11): require_once('/config/www/nex...')
    #21 {main}
    Keep maintenance mode active? [y/N] 
    Nextcloud or one of the apps require upgrade - only a limited number of commands are available
    You may use your browser or the occ upgrade command to do the upgrade
    Maintenance mode disabled
    
    Maintenance mode is disabled

     

    Then when trying to log into the web UI I get:

    Quote

     

    Nextcloud will be updated to version 24.0.1

    Please make sure that the database, the config folder and the data folder have been backed up before proceeding.

     

     

    Where do I even begin?

     

    EDIT:

    Tried the OCC Upgrade command and have the same error

    Also tried sudo -u abc php occ maintenance:repair and running upgrade again but still getting the same error

     

     

  2. 10 hours ago, darrenyorston said:

    What was the problem you were experiencing? I generally use Firefox and noted that I cant see any text when I open the terminal window from the menu bar. There is text there because when I do CTRL+A CTRL+C I can paste into a text document.

     

    Is that the problem you're having? If so where did you make the change to get it to work?

    Yep, a new terminal window was blank on opening.

     

    In the terminal window click on the permissions icon (LH side of the address bar just before the IP address, the padlock and two lines) Then allow 'Extract Canvas Data' (Firefox attempts to stop canvas  fingerprint tracking) and all should be good.

     

    You can also click on the shield icon and disable Enhanced Tracking Protection for your Unraid server

  3. 4 hours ago, Squid said:

    I'm fairly confident that more than 27 people have installed the upgrade, and just can't be bothered to post "yeah it's good".

    Upgraded with no trouble at all, some weirdness with terminal windows in Firefox, but that's more likely to be the 8 million privacy extensions I've got running. So, yeah, it's good

     

    EDIT: Fixed it. Just needed to grant permission for the terminal window to 'Extract Canvas Data'

  4. Just so MothyTim doesn't feel alone,

     

    I'm getting  similar issues. If I delete the default file and let nextcloud recreate it, I get a 502 error. If I then restore the original default file it's OK. However, if I then uncomment the "SAMEORIGIN" line I'm back to a 502 error.

     

    I'm also getting the docker image filling up when anyone downloads a file

  5. Well I've been round the houses with this one and it's doing my head in. DuckDNS is set up and I've verified the IP address is correct, ports are all forwarded correctly on the router but when I try to start letsencrypt I get the following:

     

    Failed authorization procedure. mydomain.duckdns.org (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mydomain.duckdns.org/.well-known/acme-challenge/E3ZN95mMHuiQsHBzilKsymto0f6ybp756Ov40EKvXkY: "<html>

     

    I've searched the web for days and I'm getting nowhere

     

    Any ideas?

  6. Update: I'm back up and running again. Turns out the Flash had some weird formatting issues that I had to use linux to correct, wipe start again and rebuild. Thanks everyone for all the help. If one thing good has come from it, it's that having got 'under the hood' a I'm enthusiastic to know about and do more with unRAID.

     

    I'll be back to ask  more dumbarse questions no doubt 

  7. 37 minutes ago, RobJ said:

     

    OK. that sounds like a much simpler issue, a syslinux issue.  Download the 6.3.2 distro and copy the syslinux files and make_bootable files to your boot drive, then run make_bootable, then try booting.

    Brilliant, that worked, but with one issue. it boots but no further than being able to log on to tower. I'd roll back to the files in the previous folder but that all appear to be 0kb now.

     

    Thanks anyway

  8. Hate to review an old thread, but I've got serious issues here.

     

    6.1.9 was running fine, 'Upgraded' to 6.3.2 and was unable to connect after a restart. Tried all the options above and eventually running out of options, having copied the files from my USB to the PC (post the upgrade), I restored them to the USB stick, replaced the latest files with those from the previous folder, stared the server and when the options come up it's saying 'Automatic boot in 5 seconds...'  it then counts down and goes straight back to 'Automatic boot in 5 seconds...' rinse and repeat. 

     

    There is a brief message along the lines of 'Booting Kernel failed: Invalid Argument' as it loops

     

    Any ideas?