Jump to content

iXNyNe

Members
  • Posts

    123
  • Joined

  • Last visited

Posts posted by iXNyNe

  1. 44 minutes ago, ullibelgie said:

    @iXNyNe

    the latest build of Digikam of Linuxserver.io is also infected with XZ utils version 5.6.1

     

    How can we inform Linuxserver.io community ? If there is someone who knows how to reach them to  drop a note the development team would be appreciated...

    In the meantime I better keep this docker blocked on my server

     

     

    The version of xz in our latest release of digikam (and our kasm arch base image) is 5.6.1-3 which has been patched according to https://security.archlinux.org/AVG-2851

    • Upvote 1
  2. 3 hours ago, ezhik said:

    I wouldn't expose this system externally and would not use it outside of the home.

    https://connect.myunraid.net/ (an official unRAID product) seems to contradict the constant user posts on this forum saying not to expose unRAID to the internet. The entire premise of https://connect.myunraid.net/ is to expose and manage your unRAID systems remotely. This exposes the unRAID web login form to the internet. Since this seems to be officially supported behavior it would make sense for there to be a greater care for security. Another good example would be strengthening the default SSH configurations to require keypairs in order to connect to SSH by default. SSH in unRAID can be configured for proper security with SSH, making it entirely safe to expose to the internet (at least as safe as any VPS you would access via SSH), but these safer configurations are not the default. The web UI has no such configurations to improve security, such as requiring 2fa.

     

    It's fair and reasonable to tell a user that if they are not educated on the risks of exposing their system to the internet that they should not do it, but it's also fair to point out that unRAID's web UI login could be improved by adding 2fa. unRAID's login seems to be php based, and there are a handful of very good composer packages that make implementing 2fa very easy. Hopefully unRAID considers this.

    • Like 1
  3. On 9/21/2023 at 8:10 AM, nraygun said:

     

    Thanks @iXNyNe!

    If you have yours setup to update to the latest tag, how do you handle the updates to the .conf files? I think the updates add new .sample files, and if there are any changes to the .conf files for your configuration, I think you'd have to merge in any changes from the new .sample files.

    Again, I am typically the one making those changes, and usually testing them before they are released to the public.

    For the most part, if you haven't modified any of your .conf files, you can just delete them all and restart the container and they will be replaced with updated copies. We do generally try to include some automated migrations/adjustments to nginx confs when possible if there's a breaking change. If it's not a breaking change (ex: your setup should continue working without updated confs) we log a message in the container logs to let you know you should update them manually. There are also scenarios where an automated update to .conf files is not possible, but the logs will still show the warning, so I recommend checking the logs if you have any issues.

    • Like 1
  4. On 9/13/2023 at 4:26 AM, Mattti1912 said:

    Hello 

     

    I´m having a problem. I´ve tried to increase the upload size and memory on nextcloud using php.ini file. But it does not work. 

    Is there anywhere else i have to edit?

     

    best regards

    You likely also need to update your nginx files. Specifically:

    /config/nginx/site-confs/default.conf

    This line: https://github.com/linuxserver/docker-nextcloud/blob/3accfcac32414f739ef312281d256a3fc9a47c6f/root/defaults/nginx/site-confs/default.conf.sample#L29C31-L29C31 would need to be adjusted to match your max upload setting in php. you may also need to update the timeout line right below it. After making the changes, restart the container.

  5. On 9/8/2023 at 8:27 PM, nraygun said:

    I know the overall best practice for maintaining the container is to pin a specific tagged version, but what is the best practice for when to change the tagged version of the Nextcloud and MariaDB containers? On a major release, on a point release, etc.?

    This is really up to you. Personally I run the latest tag, but I am uniquely positioned to be aware of incoming changes (and possibly responsible for some of them).

     

    We do what we can to keep the releases usable with the latest tag and account for upgrade paths, but it's not always possible. Nextcloud was a unique case where prior to version 27 our image did not handle updating nextcloud itself, it only updated the underlying dependencies. With the release of our image for nextcloud 27 and above, we now include the nextcloud application inside the container, and updates SHOULD run smoothly if you use the latest tag and update when updates are available.

     

    It's a good practice to be more in control of your updates and pin tags and update manually, if for nothing else then to be aware of when an update is being applied rather than waking up to an overnight automatic update breaking your instance.

     

    The best way to track updates is by subscribing to release notifications on https://github.com/linuxserver/docker-nextcloud

    • Like 1
  6. On 9/6/2023 at 3:51 AM, sausuke said:
    docker exec -u abc nextcloud php /config/www/nextcloud/occ preview:generate-all -vvv >> /mnt/user/appdata/nextcloud/preview_generate.log 2>&1

     

     

    You should be able to run

    docker exec -it nextcloud occ preview:generate-all -vvv >> /mnt/user/appdata/nextcloud/preview_generate.log 2>&1

     

    You do not need to specify the user, the php command, or the path to the occ application. We built an alias in to the container to handle all of that.

  7. 4 hours ago, SliMat said:

     

    Hi @iXNyNe - can you clarify whether you mean use the 'apply update' option from the Docker menu in UnRAID, or to use the 'Open Updater' option from the administrator settings menu within the Nextcloud container? I am guessing its the latter... but just wanted to make 100% sure I do this correctly as nearly everytime I've ever done an update I have ended up deleting the Nextcloud docker and having to start from scratch :(

     

    Many thanks 

    Do NOT update nextcloud by clicking the update button from the nextcloud admin status page.

     

    Do update nextcloud by telling unRAID to check for and apply updates to your container.

    • Like 1
  8. On 8/12/2023 at 12:22 PM, tmor2 said:

    (A)

    I wanted to manually update from 26.0.5.1 to 27.0.2 using UNRAID terminal.

    -my docker image was set to lscr.io/linuxserver/nextcloud:version-25.0.2, (this was done several months ago, to resolve issues when migrating v24 to 25 - I didn't realize this after I started erors below).

     

    - On UNRAID terminal I executed "docker exec -it nextcloud updater.phar"

    The updater process started, but it gets stuck at "Delete old files"..Error message says:

     

    *********************

    [✘] Delete old files failed
    core/shipped.json is not available

    Update failed. To resume or retry just execute the updater again.

    *********************

     

    No matter how often I re-execute "docker exec -it nextcloud updater.phar", I end up with the same error.

    On the other side, WebGUI: states "Update in process."

     

    (B)

    Following is the version currently installed:

    www/nextcloud/version.php --> (v 26.0.5.1)

    www/nextcloud/config/config.php -->(v 26.0.5.1)

     

    (C)

    When I execute following command in UNRAID terminal docker logs nextcloud

    I get following error listed.

     

    ************************

    PHP Warning:  require_once(/config/www/nextcloud/lib/versioncheck.php): Failed to open stream: No such file or directory in /config/www/nextcloud/cron.php on line 40
    PHP Fatal error:  Uncaught Error: Failed opening required '/config/www/nextcloud/lib/versioncheck.php' (include_path='.:/usr/share/php8') in /config/www/nextcloud/cron.php:40
    Stack trace:
    #0 {main}
      thrown in /config/www/nextcloud/cron.php on line 40

    ************************

     

    (D)

    What do I do?

     

     

    Delete /config/www/nextcloud/index.php and set your image to lscr.io/linuxserver/nextcloud:version-26.0.2 and let the container restart. That should recreate the files it says are missing. Then you can rerun the updater.

  9. 6 hours ago, Maff said:

    Hi all

     

    after some fun with an old docker install and finally getting it updated and running it seems the cron job isn't working for me and i get this is the log

     

    s6-applyuidgid: fatal: unable to exec php7: No such file or directory

     

    anyone able to assist or point me to more info if required 

    if you haven't intentionally customized the root cron file in your config i would suggest deleting it and restarting the container. This will recreate the default file with the latest changes.

  10. I've recently started using tailscale and the unraid plugin for it with SSH enabled. It seems to pretty much solve both the multi-user and the open SSH port issues at once for me anyway. Specifically the multi-user aspect just means letting multiple different users login to SSH as root without giving out a password or managing keys. That might not be what everyone is looking for, but it might solve the needs for some.

     

    I also do still use the unraid connect plugin, and I wish it didn't require an open port, but it doesn't bother me enough to not use it.

    • Like 1
  11. 4 hours ago, SliMat said:

    Morning all,

    I am hoping this is a simple fix, but I lost connection to my Linuxserver/NextCloud WebUI a few weeks ago and have only just got round to looking at it. I thought it was a proxy issue till I realised that the WebUI couldnt be accessed from the IP address either. Twice while trying to access it I noticed an update showing as available in UnRAID, so have updated it. 

    Today I finally logged in to UnRAID to take a look at the log files and get this;

     

    image.thumb.png.52bc0317057f7e830085faa6a7b53fcf.png

     

    I have already tried running:

     

    docker exec -it nextcloud-2022 occ update

     

    But get this error:

     

    Could not open input file: /app/www/public/occ

     

    Any pointers on how to update this as it seems that the Update facility within the UnRAID docker section is not sufficient... 

    I dont really want to have to delete everything and start all over again as I have done this several times historically and it seems my NextCloud spends more time down than up :(

     

    Thanks in advance

    Switch your image to

    lscr.io/linuxserver/nextcloud:version-26.0.2

    then run

    docker exec -it nextcloud updater.phar # if successful, repeat until there are no more updates

     

    then switch back to

    lscr.io/linuxserver/nextcloud:latest

  12. On 8/1/2023 at 8:07 AM, siamsquare said:

    Thanks for the explanation but after I do all that my Nextcloud was @ version 25.0.4.1 and I followed your steps to 26.0.2, when I open the console and Run docker exec -it nextcloud updater.phar I get file not found

    So what do I do to resolve this?

    Again thanks for all the help!

    Set your image to

    lscr.io/linuxserver/nextcloud:version-26.0.2

    run in the unraid terminal (not the container terminal)

    docker exec -it nextcloud updater.phar # if successful, run it again until it says there are no more updates

    let us know the results

  13. On 7/30/2023 at 1:56 AM, Bradley_ryuu said:

    I ran "docker exec -it nextcloud occ update." and unraid told  me there is no this command. I bet you mean upgrade. Here is the result. It's the same.  I can't acess the admin status page. When I try to log in, nextcloud gives me this.(The pic following the code)

    I try to click start update. It gives me the same result as in command line. what should I do?

    root@BigBuffalo:~# docker exec -it nextcloud occ update
    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
    
                                          
      Command "update" is not defined.    
                                          
      Did you mean one of these?          
          app:update                      
          maintenance:mimetype:update-db  
          maintenance:mimetype:update-js  
          maintenance:theme:update        
          maintenance:update:htaccess     
                                          
    
    root@BigBuffalo:~# docker exec -it nextcloud occ upgrade
    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
    Updating database schema
    Updated database
    Checking for update of app accessibility in appstore
    Checked for update of app "accessibility" in appstore 
    Checking for update of app activity in appstore
    Checked for update of app "activity" in appstore 
    Checking for update of app cloud_federation_api in appstore
    Checked for update of app "cloud_federation_api" in appstore 
    Checking for update of app comments in appstore
    Checked for update of app "comments" in appstore 
    Checking for update of app contactsinteraction in appstore
    Checked for update of app "contactsinteraction" in appstore 
    Checking for update of app dashboard in appstore
    Checked for update of app "dashboard" in appstore 
    Checking for update of app dav in appstore
    Checked for update of app "dav" in appstore 
    Checking for update of app federatedfilesharing in appstore
    Checked for update of app "federatedfilesharing" in appstore 
    Checking for update of app federation in appstore
    Checked for update of app "federation" in appstore 
    Checking for update of app files in appstore
    Checked for update of app "files" in appstore 
    Checking for update of app files_pdfviewer in appstore
    Checked for update of app "files_pdfviewer" in appstore 
    Checking for update of app files_rightclick in appstore
    Checked for update of app "files_rightclick" in appstore 
    Checking for update of app files_sharing in appstore
    Checked for update of app "files_sharing" in appstore 
    Checking for update of app files_trashbin in appstore
    Checked for update of app "files_trashbin" in appstore 
    Checking for update of app files_versions in appstore
    Checked for update of app "files_versions" in appstore 
    Checking for update of app files_videoplayer in appstore
    Checked for update of app "files_videoplayer" in appstore 
    Checking for update of app firstrunwizard in appstore
    Checked for update of app "firstrunwizard" in appstore 
    Checking for update of app groupfolders in appstore
    Checked for update of app "groupfolders" in appstore 
    Checking for update of app logreader in appstore
    Checked for update of app "logreader" in appstore 
    Checking for update of app lookup_server_connector in appstore
    Checked for update of app "lookup_server_connector" in appstore 
    Checking for update of app nextcloud_announcements in appstore
    Checked for update of app "nextcloud_announcements" in appstore 
    Checking for update of app notifications in appstore
    Checked for update of app "notifications" in appstore 
    Checking for update of app oauth2 in appstore
    Checked for update of app "oauth2" in appstore 
    Checking for update of app password_policy in appstore
    Checked for update of app "password_policy" in appstore 
    Checking for update of app photos in appstore
    Checked for update of app "photos" in appstore 
    Checking for update of app privacy in appstore
    Checked for update of app "privacy" in appstore 
    Checking for update of app provisioning_api in appstore
    Checked for update of app "provisioning_api" in appstore 
    Checking for update of app recommendations in appstore
    Checked for update of app "recommendations" in appstore 
    Checking for update of app serverinfo in appstore
    Checked for update of app "serverinfo" in appstore 
    Checking for update of app settings in appstore
    Checked for update of app "settings" in appstore 
    Checking for update of app sharebymail in appstore
    Checked for update of app "sharebymail" in appstore 
    Checking for update of app support in appstore
    Checked for update of app "support" in appstore 
    Checking for update of app survey_client in appstore
    Checked for update of app "survey_client" in appstore 
    Checking for update of app systemtags in appstore
    Checked for update of app "systemtags" in appstore 
    Checking for update of app text in appstore
    Checked for update of app "text" in appstore 
    Checking for update of app theming in appstore
    Checked for update of app "theming" in appstore 
    Checking for update of app twofactor_backupcodes in appstore
    Checked for update of app "twofactor_backupcodes" in appstore 
    Checking for update of app updatenotification in appstore
    Checked for update of app "updatenotification" in appstore 
    Checking for update of app user_status in appstore
    Checked for update of app "user_status" in appstore 
    Checking for update of app viewer in appstore
    Checked for update of app "viewer" in appstore 
    Checking for update of app weather_status in appstore
    Checked for update of app "weather_status" in appstore 
    Checking for update of app workflowengine in appstore
    Checked for update of app "workflowengine" in appstore 
    An unhandled exception has been thrown:
    ArgumentCountError: Too few arguments to function OCA\Circles\Migration\Version0022Date20220526111723::__construct(), 0 passed in /config/www/nextcloud/lib/private/DB/MigrationService.php on line 456 and exactly 1 expected in /config/www/nextcloud/apps/circles/lib/Migration/Version0022Date20220526111723.php:55
    Stack trace:
    #0 /config/www/nextcloud/lib/private/DB/MigrationService.php(456): OCA\Circles\Migration\Version0022Date20220526111723->__construct()
    #1 /config/www/nextcloud/lib/private/DB/MigrationService.php(473): OC\DB\MigrationService->createInstance('0022Date2022052...')
    #2 /config/www/nextcloud/lib/private/DB/MigrationService.php(419): OC\DB\MigrationService->executeStep('0022Date2022052...', false)
    #3 /config/www/nextcloud/lib/private/Installer.php(590): OC\DB\MigrationService->migrate()
    #4 /config/www/nextcloud/lib/private/Installer.php(544): OC\Installer::installShippedApp('circles')
    #5 /config/www/nextcloud/lib/private/Updater.php(276): OC\Installer::installShippedApps(true)
    #6 /config/www/nextcloud/lib/private/Updater.php(132): OC\Updater->doUpgrade('20.0.14.2', '20.0.2.2')
    #7 /config/www/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade()
    #8 /config/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #9 /config/www/nextcloud/3rdparty/symfony/console/Application.php(1000): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #10 /config/www/nextcloud/3rdparty/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #11 /config/www/nextcloud/3rdparty/symfony/console/Application.php(147): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #12 /config/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #13 /config/www/nextcloud/console.php(100): OC\Console\Application->run()
    #14 /config/www/nextcloud/occ(11): require_once('/config/www/nex...')
    #15 {main}root@BigBuffalo:~# 

     

    Screenshot 2023-07-30 at 14.52.57.png

    Sorry for the delay.

     

    I would delete
    /config/www/nextcloud/index.php
    and set your image to
    lscr.io/linuxserver/nextcloud:version-23.0.4
    and restart the container

    then run

    docker exec -it nextcloud updater.phar # if it succeeds, run it again until it says no updates
     

     

    Edit:
    I see there's a newer reply from you after this one I quoted, and I don't think these instructions are what you need (yet). It looks like your database needs a repair of some sort. I don't have specific instructions for that, but some commands you could try

    docker exec -it nextcloud occ maintenance:repair
    docker exec -it nextcloud occ db:add-missing-columns
    docker exec -it nextcloud occ db:add-missing-indices
    docker exec -it nextcloud occ db:add-missing-primary-keys

    If none of those fix it, it could be something you'll have to fix with the sqlite command (and google the error message).

     

  14. 18 minutes ago, xela6078 said:

    Hey Guys,

     

    My nextcloud docker was broken and the log did display the message "Can’t start Nextcloud because the version of the data (25.0.5.1) is more than one major version behind the docker image version (27.#.#.#)".

     

    As I found out now, I should have updated nextcloud first and then the docker image.

     

    I have now tried to set my nextcloud docker to version "25.0.5.1".

    For this, I stopped the nextcloud docker, edited docker container settings and changed the "repository" value to "linuxserver/nextcloud:version-25.0.5.1".
    But now I have an orphan image and no nextcloud docker. 

     

    Shouldn't I have done that? Or what is the correct way to bring my nextcloud image to version 25.0.5.1?

     

    Would be grateful for your advice/help on this matter.

    You can use

    lscr.io/linuxserver/nextcloud:version-26.0.2

     

    Go to CA as if you were adding the app for the first time and it'll bring back your original container with your settings and you can set the image to

    lscr.io/linuxserver/nextcloud:version-26.0.2

  15. 8 hours ago, Bradley_ryuu said:

    I downgrade the image to 20.0.2-ls110 which corespond to my nextcloud version. I ran "docker exec -it nextcloud updater.phar". Here is the log.  The updater throws exception and the process is failed. Any suggestions?

    Continue update? [y/N] y
    
    Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
    
    [✔] Check for expected files
    [✔] Check for write permissions
    [✔] Create backup
    [✔] Downloading
    [✔] Verify integrity
    [✔] Extracting
    [✔] Enable maintenance mode
    [✔] Replace entry points
    [✔] Delete old files
    [✔] Move new files in place
    [✔] Done
    
    Update of code successful.
    
    Should the "occ upgrade" command be executed? [Y/n] y
    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
    2023-07-29T07:49:41+00:00 Setting log level to debug
    2023-07-29T07:49:41+00:00 Repair step: Repair MySQL collation
    2023-07-29T07:49:41+00:00 Repair info: All tables already have the correct collation -> nothing to do
    2023-07-29T07:49:41+00:00 Repair step: Repair SQLite autoincrement
    2023-07-29T07:49:41+00:00 Repair step: Copy data from accounts table when migrating from ownCloud
    2023-07-29T07:49:41+00:00 Repair step: Drop account terms table when migrating from ownCloud
    2023-07-29T07:49:41+00:00 Updating database schema
    2023-07-29T07:49:42+00:00 Updated database
    2023-07-29T07:49:42+00:00 Updating <activity> ...
    2023-07-29T07:49:42+00:00 Updated <activity> to 2.13.4
    2023-07-29T07:49:42+00:00 Updating <dav> ...
    2023-07-29T07:49:42+00:00 Repair step: Fix component of birthday calendars
    2023-07-29T07:49:42+00:00 Repair info: 1 birthday calendars updated.
    2023-07-29T07:49:42+00:00 Repair step: Regenerating birthday calendars to use new icons and fix old birthday events without year
    2023-07-29T07:49:42+00:00 Repair info: Adding background jobs to regenerate birthday calendar
    2023-07-29T07:49:42+00:00 Repair step: Fix broken values of calendar objects
    2023-07-29T07:49:42+00:00 Fix broken values of calendar objects
    2023-07-29T07:49:42+00:00 
    2023-07-29T07:49:42+00:00  Starting ...
        0/0 [>-]   0%2023-07-29T07:49:42+00:00 
    2023-07-29T07:49:42+00:00 Repair step: Registering building of calendar search index as background job
    2023-07-29T07:49:42+00:00 Repair info: Add background job
    2023-07-29T07:49:42+00:00 Repair step: Registering background jobs to update cache for webcal calendars
    2023-07-29T07:49:42+00:00 Repair info: Added 0 background jobs to update webcal calendars
    2023-07-29T07:49:42+00:00 Repair step: Registering building of calendar reminder index as background job
    2023-07-29T07:49:42+00:00 Repair info: Add background job
    2023-07-29T07:49:42+00:00 Repair step: Clean up orphan event and contact data
    2023-07-29T07:49:42+00:00 Repair info: 0 events without a calendar have been cleaned up
    2023-07-29T07:49:42+00:00 Repair info: 0 properties without an events have been cleaned up
    2023-07-29T07:49:42+00:00 Repair info: 0 changes without a calendar have been cleaned up
    2023-07-29T07:49:42+00:00 Repair info: 0 cached events without a calendar subscription have been cleaned up
    2023-07-29T07:49:42+00:00 Repair info: 0 changes without a calendar subscription have been cleaned up
    2023-07-29T07:49:42+00:00 Repair info: 0 contacts without an addressbook have been cleaned up
    2023-07-29T07:49:42+00:00 Repair info: 0 properties without a contact have been cleaned up
    2023-07-29T07:49:42+00:00 Repair info: 0 changes without an addressbook have been cleaned up
    2023-07-29T07:49:42+00:00 Repair step: Remove activity entries of private events
    2023-07-29T07:49:42+00:00 Repair info: Removed 0 activity entries
    2023-07-29T07:49:42+00:00 Updated <dav> to 1.16.2
    2023-07-29T07:49:42+00:00 Updating <files_sharing> ...
    2023-07-29T07:49:43+00:00 Repair step: Fix the share type of guest shares when migrating from ownCloud
    2023-07-29T07:49:43+00:00 Repair step: Copy the share password into the dedicated column
    2023-07-29T07:49:43+00:00 Repair step: Set existing shares as accepted
    2023-07-29T07:49:43+00:00 Updated <files_sharing> to 1.12.2
    2023-07-29T07:49:43+00:00 Updating <workflowengine> ...
    2023-07-29T07:49:43+00:00 Repair step: Populating added database structures for workflows
    2023-07-29T07:49:43+00:00 Updated <workflowengine> to 2.2.1
    2023-07-29T07:49:43+00:00 Updating <federatedfilesharing> ...
    2023-07-29T07:49:43+00:00 Updated <federatedfilesharing> to 1.10.2
    2023-07-29T07:49:43+00:00 Updating <files_pdfviewer> ...
    2023-07-29T07:49:43+00:00 Updated <files_pdfviewer> to 2.0.2
    2023-07-29T07:49:43+00:00 Updating <photos> ...
    2023-07-29T07:49:43+00:00 Updated <photos> to 1.2.3
    2023-07-29T07:49:43+00:00 Checking for update of app accessibility in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "accessibility" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app activity in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "activity" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app cloud_federation_api in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "cloud_federation_api" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app comments in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "comments" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app contactsinteraction in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "contactsinteraction" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app dashboard in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "dashboard" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app dav in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "dav" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app federatedfilesharing in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "federatedfilesharing" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app federation in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "federation" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app files in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "files" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app files_pdfviewer in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "files_pdfviewer" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app files_rightclick in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "files_rightclick" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app files_sharing in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "files_sharing" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app files_trashbin in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "files_trashbin" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app files_versions in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "files_versions" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app files_videoplayer in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "files_videoplayer" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app firstrunwizard in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "firstrunwizard" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app groupfolders in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "groupfolders" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app logreader in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "logreader" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app lookup_server_connector in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "lookup_server_connector" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app nextcloud_announcements in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "nextcloud_announcements" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app notifications in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "notifications" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app oauth2 in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "oauth2" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app password_policy in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "password_policy" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app photos in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "photos" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app privacy in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "privacy" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app provisioning_api in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "provisioning_api" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app recommendations in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "recommendations" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app serverinfo in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "serverinfo" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app settings in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "settings" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app sharebymail in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "sharebymail" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app support in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "support" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app survey_client in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "survey_client" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app systemtags in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "systemtags" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app text in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "text" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app theming in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "theming" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app twofactor_backupcodes in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "twofactor_backupcodes" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app updatenotification in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "updatenotification" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app user_status in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "user_status" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app viewer in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "viewer" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app weather_status in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "weather_status" in appstore 
    2023-07-29T07:50:44+00:00 Checking for update of app workflowengine in appstore
    2023-07-29T07:50:44+00:00 Checked for update of app "workflowengine" in appstore 
    An unhandled exception has been thrown:
    ArgumentCountError: Too few arguments to function OCA\Circles\Migration\Version0022Date20220526111723::__construct(), 0 passed in /config/www/nextcloud/lib/private/DB/MigrationService.php on line 456 and exactly 1 expected in /config/www/nextcloud/apps/circles/lib/Migration/Version0022Date20220526111723.php:55
    Stack trace:
    #0 /config/www/nextcloud/lib/private/DB/MigrationService.php(456): OCA\Circles\Migration\Version0022Date20220526111723->__construct()
    #1 /config/www/nextcloud/lib/private/DB/MigrationService.php(473): OC\DB\MigrationService->createInstance('0022Date2022052...')
    #2 /config/www/nextcloud/lib/private/DB/MigrationService.php(419): OC\DB\MigrationService->executeStep('0022Date2022052...', false)
    #3 /config/www/nextcloud/lib/private/Installer.php(590): OC\DB\MigrationService->migrate()
    #4 /config/www/nextcloud/lib/private/Installer.php(544): OC\Installer::installShippedApp('circles')
    #5 /config/www/nextcloud/lib/private/Updater.php(276): OC\Installer::installShippedApps(true)
    #6 /config/www/nextcloud/lib/private/Updater.php(132): OC\Updater->doUpgrade('20.0.14.2', '20.0.2.2')
    #7 /config/www/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade()
    #8 /config/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #9 /config/www/nextcloud/3rdparty/symfony/console/Application.php(1000): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #10 /config/www/nextcloud/3rdparty/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #11 /config/www/nextcloud/3rdparty/symfony/console/Application.php(147): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #12 /config/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #13 /config/www/nextcloud/console.php(100): OC\Console\Application->run()
    #14 /config/www/nextcloud/occ(11): require_once('/config/www/nex...')
    #15 {main}
    Keep maintenance mode active? [y/N] 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

     

    I would try running

     

    docker exec -it nextcloud occ update

     

    And see if it still throws a fit. Also, try accessing the web interface and check the admin status page for any errors or recommended commands.

  16. 35 minutes ago, Bradley_ryuu said:

     

    I am using "linuxserver/nextcloud:24.0.6-ls205" image. But my nextcloud version is currently   '20.0.2.2'. I think it should be version 24.x according to your description as in "https://info.linuxserver.io/issues/2023-06-25-nextcloud/" I think there is something wrong with my image. I've tried to delete the image and redownoload it from the repository. But the result is the same.

     

    Prior to 27.x our image required you to manually update nextcloud. You should be able to run the updater.phar command listed in the article without changing your image to get updated. You may need to run it multiple times until it says there are no available updates. Once you get to that point, check which version you are on and follow along the article. If you have any issues, post logs here.

  17. 2 hours ago, perfect said:

    Thanks much for the support - I did that and continued updating all the way to the "latest" version.  Now it works again!

     

    Is there a way to "pin" this version so that it doesn't update [with the docker "update all" command]?

    The current latest image should be lscr.io/linuxserver/nextcloud:version-27.0.1
    If you set your image to that it should stay pinned until you change it. You can track when new versions are released by subscribing to release notifications at https://github.com/linuxserver/docker-nextcloud
    Note that we do sometimes update the version tags, so there may at times be updates available even if you pin the version, but it would be for things like OS dependencies, and not for nextcloud itself.

    If you want to pin to exactly how things are running right now and not get updates for underlying things like OS or package dependencies you can use lscr.io/linuxserver/nextcloud:27.0.1-ls259
    That tag matches exactly with the release names from https://github.com/linuxserver/docker-nextcloud/releases and will be static builds we do not update/replace over time (you would have to change the tag to a new tag to get an update).

  18. 22 minutes ago, perfect said:

    Thanks for the tip on how to delete .step file (I had to use Krusader to delete it since I didn't have permissions via Windows sharing).

     

    I was able to update the docker container all the way to v25.0.9... but I am still not able to access the GUI from either the internal IP or external (SWAG) link...

     

    2023-07-25_17-51-32.jpg

    (do I need now set the nextcloud container to the latest version - instead of 21.0.3-ls143)?

     

     

    Both my internal IP (x.x.x.x:443) and my external address (via SWAG) keep giving me this 404 error:

    2023-07-25_17-51-57.jpg

    Switch to the image for 26.x and try running the updater 

  19. 9 hours ago, perfect said:

    Count me in the group that learned the hard way that you can't update the Nextcloud docker directly from the Unraid GUI.  I was on a pretty old version (21.0.0.18) and have spent hours trying to figure out how to correctly upgrade (or rollback to the previous working version). 

     

    I tried following this guide:  https://info.linuxserver.io/issues/2023-06-25-nextcloud/

     

    I currently have installed repo:  linuxserver/nextcloud:24.0.12

     

    I tried running the "docker exec -it nextcloud updater.phar" command but it seems to be stuck at Step #3 (creating a backup) and nothing I do seems to release it or restart it.  I can't see my GUI nor access Nextcloud from internal or external (SWAG) links.  I end up getting a 404 error (maybe I need to edit my SWAG confs???).

     

    I have a config.php file (located here: \\UNRAID\appdata\nextcloud\www\nextcloud\config ) but not a version.php - so I can't really tell if I'm even updating the php correctly. 

     

    The only error I seem to have in my log file is "s6-applyuidgid: fatal: unable to exec php7: No such file or directory"

     

    Any assistance would be greatly appreciated. 

    The "fatal: unable to exec php7" error is from cron and can be ignored for now.

     

    I would continue running the image for lscr.io/linuxserver/nextcloud:version-24.0.12 and delete /config/www/nextcloud/www/index.php and restart the container. Then delete /data/updater-<randomstring>/.step and run "docker exec -it nextcloud updater.phar"

  20. 1 hour ago, blaine07 said:


    Updated from 27.0.0.0 > 27.0.1 by changing container tag and waiting for update to “finish.”

    When I was done I was presented with this:
    47163b57681f4c93543835cbb8d3c1ed.png


    The fix was to run this command:

    docker exec -it NEXTCLOUD-CONTAINER-NAME occ db:add-missing-indices

    Does this/can this/should this be baked into upgrade script(s) on startup of container with new tag post upgrade process?

    bd85f50b94cc22d2c094731e177adad0.jpg

    It could be baked in, but nextcloud's official image doesn't do it, and our general stance is we don't want to in case it's destructive. this should be done manually after backing up your database and appdata. That being said I haven't had any issues with doing it, but that doesn't mean nobody ever has.

    • Upvote 1
  21. 8 minutes ago, sansei said:

    In the admin page, also noticed the updating to 27.0.1. Clicked on the 'Open Updater' button, and it gave me 404 page not found error. Is it the expected behavior?

    The built in updater in the web UI is no longer supported when using our docker image (I believe the official image from nextcloud also doesn't support it).

     

    The correct way to update nextcloud is to update the container image.

×
×
  • Create New...