Greygoose

Members
  • Posts

    469
  • Joined

  • Last visited

Posts posted by Greygoose

  1. ok sorted the above, the below config shows up no errors if i console into docket and type borgmstic list.  I hope this helps someone else. took me a few hours as ive not had to work on borg for a while so was great fun and refresher,

     

    I had to add

    -path:

     label

     

    archive_name_format: 'backup-{now}'

     

    --------------------------------------

     

    #location:

        source_directories:

            - /mnt/user/data_storage/Photo&Video-Collections

        repositories:

            - path: ssh://blarblarblar

              label: photo_video

        one_file_system: true

        files_cache: mtime,size

        patterns:

            - '- [Tt]rash'

            - '- [Cc]ache'

        exclude_if_present:

            - .nobackup

            - .NOBACKUP

     

    #storage:

        encryption_passphrase: "thisisasecret"

        compression: none

        ssh_command: ssh -i /root/.ssh/id_ed24419

        archive_name_format: 'backup-{now}'

     

    #retention:

        keep_hourly: 2

        keep_daily: 7

        keep_weekly: 4

        keep_monthly: 12

        keep_yearly: 10

        archive_name_format: 'backup-{now}'

     

    #consistency:

     #   checks:

     #       - repository

     # #      - archives

     #   prefix: 'backup-'

     

    #hooks:

        before_backup:

            - echo "Starting a backup."

        after_backup:

            - echo "Finished a backup."

        on_error:

            - echo "Error during prune/create/check."

    #healthchecks:

    #ping_url: https://hc-ping.com/434343434343

  2. 13 hours ago, sdub said:

    I am not at my server right now but I can say that my backups are still working and I haven’t touched the config in months. 
     

    the Unicode error makes me wonder… did you possibly edit your config file in windows such that it has a Windows text file format instead of UNIX?

     

    Hi sdub,

     

    thanks for the reply mate.

     

    yes i edited using notepad++ in windows 11. I have dont this with other files and its been ok but it certainly could be the issue.

     

    EDIT:  How do you edit the yaml files?, ie what software?

  3. can someone please paste thier recent working yaml file.

     

    im getting lots of errors as things look to have changed in borgmatic itself.

     

    ------------------

    /etc/borgmatic.d/Photo&Video-Collections.yml: Error parsing configuration file
    An error occurred while parsing a configuration file at /etc/borgmatic.d/Photo&Video-Collections.yml:
    did not find expected <document start>
      in "<unicode string>", line 42, column 1
    /etc/borgmatic.d/config_datasync.yml: Error parsing configuration file
    An error occurred while parsing a configuration file at /etc/borgmatic.d/config_datasync.yml:
    At the top level: 'repositories' is a required property
    /etc/borgmatic.d/config_nextcloud.yml: Error parsing configuration file
    An error occurred while parsing a configuration file at /etc/borgmatic.d/config_nextcloud.yml:
    did not find expected <document start>
      in "<unicode string>", line 53, column 1
    /etc/borgmatic/config.yaml /etc/borgmatic.d /root/.config/borgmatic/config.yaml /root/.config/borgmatic.d: No valid configuration files found

    Need some help? https://torsion.org/borgmatic/#issues

    ------------

     

    /etc/borgmatic.d/Photo&Video-Collections.yml: The checks option now expects a list of key/value pairs. Lists of strings for this option are deprecated and support will be removed from a future release.
    /etc/borgmatic.d/Photo&Video-Collections.yml: The repositories option now expects a list of key/value pairs. Lists of strings for this option are deprecated and support will be removed from a future release.
    /etc/borgmatic.d/Photo&Video-Collections.yml: The prefix option is deprecated and support will be removed from a future release. Use archive_name_format or match_archives instead.

  4. I have searched, so sorry if this has been asked.

     

    I have a USB stick i purchased a license for some years ago, i want to use this stick as a spare unraid machine but i done know what license is on/registered to the stick?

     

    How can i check the license on this usb stick without booting it up.  Is there a windows way?

  5. On 9/21/2023 at 4:40 PM, Gobananas said:

    Going off of what was said here I wanted to addon to add more clarity for anyone else having the same issue.

     

    What worked for me on Windows 11 was Windows Control Panel > Credential Manager > Add a windows credential

    Internet or network address: Same as the share you are trying to connect with. If the server is called Unraid_Box you would put in Unraid_Box

    Username:  Shared access username goes here

    Password:

     

    I went through a lot of troubleshooting but in the end it was a Windows 11 issue.

    This solved my issue, thank you.

  6. On 6/1/2023 at 2:19 PM, dodgypast said:

    I just went through this and found a relatively painless way to do it:

    1. downgrade the docker to linuxserver/nextcloud:24.0.12

    2. Choose the update to 25.0.7 from the webgui

    3. For me it kept timing out, I would use the back pause for a minute then forward button on the browser and choose continue.

    4. Keep doing this until it goes into maintenance mode.

    5. At this point the command line works so use docker exec -it nextcloud updater.phar from the UNRAID terminal, it will successfully continue the upgrade to 25.0.7.

    6. Repeat the command docker exec -it nextcloud updater.phar and it will upgrade to 26.02

    7. Upgrade the docker to linuxserver/nextcloud:latest

     

    This and the Dynamix file manager plugin solved the update issue for me.

     

    When using the dynamix plug click the nextcloud folder in appdata, goto the options at the bottom and change ownership to nobody.

     

    Then it updates fine as per above.

  7. im trying to resolve this issue aswell as most others.,

     

    I get this error when i try to do the 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
    Cannot write into "apps" directory.
    This can usually be fixed by giving the web server write access to the apps directory or disabling the App Store in the config file.

    An unhandled exception has been thrown:
    Exception: Environment not properly prepared. in /config/www/nextcloud/lib/private/Console/Application.php:167
    Stack trace:
    #0 /config/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
    #1 /config/www/nextcloud/occ(11): require_once('...')
    #2 {main}root@62ccda3b9b50:/config/www/nextcloud#

     

    Id appreciate some advice how to resolve, a small step by step if possible please.

  8. im trying to get paperless-ngx to work but i keep getting an error.

     

    the paperless login comes up, when ienter username and password i get the following error

     

    my conf file

    server {
        listen 443 ssl;
        listen [::]:443 ssl;
    
        server_name paperless-ngx.*;
    
        include /config/nginx/ssl.conf;
    
        client_max_body_size 0;
    
        # enable for ldap auth, fill in ldap details in ldap.conf
        #include /config/nginx/ldap.conf;
    
        # enable for Authelia
        include /config/nginx/authelia-server.conf;
    
        #Organizr ServerAuth
        #include /config/nginx/proxy-confs/organizr-auth.subfolder.conf;
        #auth_request /auth-0;
    
        location / {
            # enable the next two lines for http auth
            # auth_basic "Restricted";
            # auth_basic_user_file /config/nginx/.htpasswd;
    
            # enable the next two lines for ldap auth
            # auth_request /auth;
            # error_page 401 =200 /ldaplogin;
    
            # enable for Authelia
            # include /config/nginx/authelia-location.conf;
    
            include /config/nginx/proxy.conf;
            resolver 127.0.0.11 valid=30s;
            set $upstream_app 192.168.10.221;
            set $upstream_port 8000;
            set $upstream_proto http;
            proxy_pass $upstream_proto://$upstream_app:$upstream_port;
    
            # REMOVE THIS LINE BEFORE SUBMITTING: Additional proxy settings such as headers go below this line, leave the blank line above.
        }
    
    }

     

    paperless.png

     

    EDIT:

    this post helped fix the issue

    https://github.com/paperless-ngx/paperless-ngx/issues/712

  9. RESOLVED the issue

    I can now get the paperless-ngx login page to show.

     

    but i get this error (image)

     

    this is my swag proxy conf file

     

    server {
        listen 443 ssl;
        listen [::]:443 ssl;
    
        server_name paperless-ngx.*;
    
        include /config/nginx/ssl.conf;
    
        client_max_body_size 0;
    
        # enable for ldap auth, fill in ldap details in ldap.conf
        #include /config/nginx/ldap.conf;
    
        # enable for Authelia
        include /config/nginx/authelia-server.conf;
    
        #Organizr ServerAuth
        #include /config/nginx/proxy-confs/organizr-auth.subfolder.conf;
        #auth_request /auth-0;
    
        location / {
            # enable the next two lines for http auth
            # auth_basic "Restricted";
            # auth_basic_user_file /config/nginx/.htpasswd;
    
            # enable the next two lines for ldap auth
            # auth_request /auth;
            # error_page 401 =200 /ldaplogin;
    
            # enable for Authelia
            # include /config/nginx/authelia-location.conf;
    
            include /config/nginx/proxy.conf;
            resolver 127.0.0.11 valid=30s;
            set $upstream_app 192.168.10.220;
            set $upstream_port 8000;
            set $upstream_proto http;
            proxy_pass $upstream_proto://$upstream_app:$upstream_port;
    
            # REMOVE THIS LINE BEFORE SUBMITTING: Additional proxy settings such as headers go below this line, leave the blank line above.
        }
    
    }

     

    paperless.png

     

    EDIT

     

    Found the answer here

    https://github.com/paperless-ngx/paperless-ngx/issues/712

  10. Hi everyone,

     

    I've checked the files not copied to array.

     

    I see the issue being the new files created and now mover is unable to overwrite the files.

     

    I moved everything back to the cache. So mostly everything is back on the cache drive. But some of the dockers have lost the configs, such as Plex not showing my server to claim. Immich not allowing login of existing accounts and wanting a new account created.

     

    Is there a way to resolve this issue.

  11. Hi Jorge,

     

    Thanks again.

     

    I have narrowed down my issue... :/  hopefully the last one.

     

    I have files from my dockers showing on cache and array where the move process stopped, either from me restsrting from a paused system or the docker still running during the move of the appdata from cache to array.

     

    How do i sort this, how do i get the rest of the data off the cache to array, move doesnt do anything.

     

     

    Screenshot 2023-04-26 181335.png

  12. Hi Jorge,

     

    I had to restart the server.

     

    I put it in maintance mode as i wanted to move everyhting off the cache drive to the array and now im getting errors and it wont move the appdata folder and whatever else is on that drive.

     

    Another issue

     

    Apr 25 17:00:57 mediaserver kernel: CIFS: VFS: \\192.168.30.201\media Close cancelled mid failed rc:-9
    Apr 25 17:03:34 mediaserver kernel: CIFS: VFS: \\192.168.30.201\media Close unmatched open for MID:61222186
    Apr 25 17:04:36 mediaserver kernel: CIFS: VFS: \\192.168.30.201\media Close unmatched open for MID:61271094
    Apr 25 17:05:07 mediaserver kernel: CIFS: VFS: \\192.168.30.201\media Close unmatched open for MID:61296616
    Apr 25 17:05:48 mediaserver emhttpd: shcmd (8373): /usr/local/sbin/mover &> /dev/null &

     

    mediaserver-syslog-20230425-1607.zip