MadPatrick
(MadPatrick)
October 20, 2024, 11:47am
1
NethServer Version: NS8
Module: Backup
Hi
I’m trying make a backup repo to my Samba share
With NS7 i’ve succedeed to make this kind of share, but in NS8 i’m no so lucky. The documentation is not availabe for this and it shouldn;t be so hard, but i can’t make a connection
The samba logs are not showing any info also on my remote samba server
davidep
(Davide Principi)
October 21, 2024, 8:25am
2
Hi Patrick, can you see any error message for the failed connection?
In another browser window/tab open the Logs page in follow mode, and repeat the connection attempt. Can you see some message then?
MadPatrick
(MadPatrick)
October 21, 2024, 5:16pm
3
Ok. I’ve set the log on Node1 to see everything in the log.
So far i can see nothing that can lead to trying to get a connection with a samba share or other IP
2024-10-21T19:13:42+02:00 [1::podman] 2024-10-21 19:13:42.773532321 +0200 CEST m=+0.080652638 container create c5d7681882b5856f9a445d8aaa4ac5151a11897de2809783be2148af709feb7b (image=ghcr.io/nethserver/restic:latest, name=rclone-wrapper-cluster-54583, io.buildah.version=1.23.1)
2024-10-21T19:13:42+02:00 [1::systemd] tmp-crun.3AO89K.mount: Deactivated successfully.
2024-10-21T19:13:42+02:00 [1::podman] 2024-10-21 19:13:42.740947687 +0200 CEST m=+0.048068002 image pull ghcr.io/nethserver/restic:latest
2024-10-21T19:13:42+02:00 [1::systemd] Started libpod-c5d7681882b5856f9a445d8aaa4ac5151a11897de2809783be2148af709feb7b.scope - libcrun container.
2024-10-21T19:13:43+02:00 [1:sogo1:sogo-app] Oct 21 19:13:43 sogod [102]: <0x0x555f8cff85e0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user thomas in Ping...
2024-10-21T19:13:43+02:00 [1:sogo1:sogo-app] Oct 21 19:13:43 sogod [104]: <0x0x555f8d4bdf10[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user jordy in Ping...
2024-10-21T19:13:46+02:00 [1:mail1:rspamd] (controller) <dyatkr>; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: server fail
2024-10-21T19:13:47+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:47 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4828 "ApiServer-https@file" "http://127.0.0.1:9311" 69ms
2024-10-21T19:13:47+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:47 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4829 "ApiServer-https@file" "http://127.0.0.1:9311" 8ms
2024-10-21T19:13:47+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:47 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4830 "ApiServer-https@file" "http://127.0.0.1:9311" 8ms
2024-10-21T19:13:47+02:00 [1:sogo1:sogo-app] Oct 21 19:13:47 sogod [7]: [WARN] <0x0x555f8c61dde0[WOWatchDogChild]> pid 105 has been hanging in the same request for 2 minutes
2024-10-21T19:13:48+02:00 [1:sogo1:sogo-app] Oct 21 19:13:48 sogod [105]: <0x0x555f8d37d8a0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user linda in Ping...
2024-10-21T19:13:52+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:52 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4831 "ApiServer-https@file" "http://127.0.0.1:9311" 68ms
2024-10-21T19:13:52+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:52 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4832 "ApiServer-https@file" "http://127.0.0.1:9311" 8ms
2024-10-21T19:13:52+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:52 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4833 "ApiServer-https@file" "http://127.0.0.1:9311" 6ms
2024-10-21T19:13:57+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:57 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4834 "ApiServer-https@file" "http://127.0.0.1:9311" 7ms
2024-10-21T19:13:57+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:57 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4835 "ApiServer-https@file" "http://127.0.0.1:9311" 8ms
2024-10-21T19:13:57+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:13:57 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4836 "ApiServer-https@file" "http://127.0.0.1:9311" 7ms
2024-10-21T19:14:02+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:02 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4837 "ApiServer-https@file" "http://127.0.0.1:9311" 10ms
2024-10-21T19:14:02+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:02 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4838 "ApiServer-https@file" "http://127.0.0.1:9311" 5ms
2024-10-21T19:14:02+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:02 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4839 "ApiServer-https@file" "http://127.0.0.1:9311" 9ms
2024-10-21T19:14:07+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:07 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4840 "ApiServer-https@file" "http://127.0.0.1:9311" 15ms
2024-10-21T19:14:07+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:07 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4841 "ApiServer-https@file" "http://127.0.0.1:9311" 35ms
2024-10-21T19:14:07+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:07 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4842 "ApiServer-https@file" "http://127.0.0.1:9311" 36ms
2024-10-21T19:14:08+02:00 [1:nextcloud1:nextcloud-app] 127.0.0.1 - patrick 21/Oct/2024:17:14:07 +0000 "GET /ocs/v2.php" 200
2024-10-21T19:14:08+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:07 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1" 200 176 "-" "-" 4843 "nextcloud1-https@file" "http://127.0.0.1:20017" 220ms
2024-10-21T19:14:08+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:07 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 200 81 "-" "-" 4844 "nextcloud1-https@file" "http://127.0.0.1:20017" 248ms
2024-10-21T19:14:08+02:00 [1:nextcloud1:nextcloud-app] 127.0.0.1 - patrick 21/Oct/2024:17:14:07 +0000 "GET /ocs/v2.php" 200
2024-10-21T19:14:08+02:00 [1:nextcloud1:nextcloud-app] 127.0.0.1 - patrick 21/Oct/2024:17:14:07 +0000 "PROPFIND /remote.php" 207
2024-10-21T19:14:08+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:07 +0000] "PROPFIND /remote.php/dav/files/b2a7737e-7c66-4bde-87dc-0e3f0332ac32/ HTTP/1.1" 207 274 "-" "-" 4845 "nextcloud1-https@file" "http://127.0.0.1:20017" 323ms
2024-10-21T19:14:08+02:00 [1:mail1:dovecot] imap-login: Login: user=<linda>, method=PLAIN, rip=10.5.4.1, lip=10.5.4.1, mpid=13244, secured, session=<jRXgx/8kvOcKBQQB>
2024-10-21T19:14:08+02:00 [1:ldapproxy1:ldapproxy] 2024/10/21 17:14:08 [info] 26#26: *10987 client 127.0.0.1:48730 connected to 127.0.0.1:20001
2024-10-21T19:14:08+02:00 [1:ldapproxy1:ldapproxy] 2024/10/21 17:14:08 [info] 26#26: *10987 proxy 10.5.4.1:42736 connected to 10.5.4.1:20010
2024-10-21T19:14:08+02:00 [1:ldapproxy1:ldapproxy] 2024/10/21 17:14:08 [info] 26#26: *10987 client disconnected, bytes from/to client:189/92, bytes from/to upstream:92/189
2024-10-21T19:14:09+02:00 [1:sogo1:sogo-app] Oct 21 19:14:09 sogod [101]: <0x0x555f8d1d6f20[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user linda in Ping...
2024-10-21T19:14:09+02:00 [1:crowdsec2:crowdsec2-firewall-bouncer] time="2024-10-21T17:14:09Z" level=info msg="1 decision deleted"
2024-10-21T19:14:12+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:12 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4847 "ApiServer-https@file" "http://127.0.0.1:9311" 39ms
2024-10-21T19:14:12+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:12 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4848 "ApiServer-https@file" "http://127.0.0.1:9311" 54ms
2024-10-21T19:14:12+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:12 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4849 "ApiServer-https@file" "http://127.0.0.1:9311" 8ms
2024-10-21T19:14:13+02:00 [1:sogo1:sogo-app] Oct 21 19:14:13 sogod [102]: <0x0x555f8cff85e0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user thomas in Ping...
2024-10-21T19:14:13+02:00 [1:sogo1:sogo-app] Oct 21 19:14:13 sogod [104]: <0x0x555f8d4bdf10[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user jordy in Ping...
2024-10-21T19:14:17+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:17 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4850 "ApiServer-https@file" "http://127.0.0.1:9311" 84ms
2024-10-21T19:14:17+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:17 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4851 "ApiServer-https@file" "http://127.0.0.1:9311" 7ms
2024-10-21T19:14:17+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:17 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4852 "ApiServer-https@file" "http://127.0.0.1:9311" 10ms
2024-10-21T19:14:18+02:00 [1:ldapproxy1:ldapproxy] 2024/10/21 17:14:18 [info] 25#25: *10963 client disconnected, bytes from/to client:170/298, bytes from/to upstream:298/170
2024-10-21T19:14:18+02:00 [1:mail1:dovecot] imap(linda)<13207><ATl6v/8khsYKBQQB>: Disconnected: Logged out in=966 out=10017 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
2024-10-21T19:14:18+02:00 [1:sogo1:sogo-app] Oct 21 19:14:18 sogod [105]: 192.168.1.1, 10.0.2.100 "POST /SOGo/Microsoft-Server-ActiveSync?User=linda&DeviceId=RND784RUR574H6N6ROBBCOD2SS&DeviceType=iPhone&Cmd=Ping HTTP/1.1" 200 13/0 150.485 - - 0 - 14
2024-10-21T19:14:18+02:00 [1:ldapproxy1:ldapproxy] 2024/10/21 17:14:18 [info] 25#25: *10959 client disconnected, bytes from/to client:154/80, bytes from/to upstream:80/154
2024-10-21T19:14:19+02:00 [1:crowdsec2:crowdsec2-firewall-bouncer] time="2024-10-21T17:14:19Z" level=info msg="1 decision deleted"
2024-10-21T19:14:20+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:20 +0000] "GET /nextcloud/status.php HTTP/1.1" 404 19 "-" "-" 4853 "-" "-" 0ms
2024-10-21T19:14:20+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:20 +0000] "GET /nextcloud/nextcloud/status.php HTTP/1.1" 404 19 "-" "-" 4854 "-" "-" 0ms
2024-10-21T19:14:22+02:00 [1:crowdsec2:crowdsec2] time="2024-10-21T17:14:22Z" level=info msg="flushed 1/178 alerts because they were created 7d ago or more"
2024-10-21T19:14:22+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:22 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4855 "ApiServer-https@file" "http://127.0.0.1:9311" 8ms
2024-10-21T19:14:22+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:22 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4856 "ApiServer-https@file" "http://127.0.0.1:9311" 9ms
2024-10-21T19:14:22+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:22 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4857 "ApiServer-https@file" "http://127.0.0.1:9311" 8ms
2024-10-21T19:14:24+02:00 [1:nextcloud1:nextcloud-app] 127.0.0.1 - patrick 21/Oct/2024:17:14:23 +0000 "PROPFIND /remote.php" 207
2024-10-21T19:14:24+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:23 +0000] "PROPFIND /remote.php/dav/files/b2a7737e-7c66-4bde-87dc-0e3f0332ac32/ HTTP/1.1" 207 271 "-" "-" 4858 "nextcloud1-https@file" "http://127.0.0.1:20017" 207ms
2024-10-21T19:14:27+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:27 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4859 "ApiServer-https@file" "http://127.0.0.1:9311" 11ms
2024-10-21T19:14:27+02:00 [1:traefik1:traefik] 192.168.1.1 - - [21/Oct/2024:17:14:27 +0000] "GET /cluster-admin/api/cluster/task/a1aa67df-cefb-422b-9c2d-7b0b8308902e/context HTTP/1.1" 200 350 "-" "-" 4860 "ApiServer-https@file" "http://127.0.0.1:9311" 8ms
2024-10-
davidep
(Davide Principi)
October 23, 2024, 1:12pm
4
MadPatrick:
my remote samba server
Is your server NS7? or NS8? Anything else? Does it support SMB2/3?
MadPatrick
(MadPatrick)
October 23, 2024, 5:08pm
5
My samba server is a Debian 12 server with Plex and Lyrion media installed
My samba shares are accesible from the windows PC’s and even with the NS7 backup option it worked.
Now i try the same with NS8, but no success
davidep
(Davide Principi)
October 24, 2024, 7:58am
6
Please help me to understand what is happening by your side:
When you save the form, is the backup destination saved or not?
Does the UI fail the validation of your settings?
Can you see any additional information in the error notification?
Here’s an example of validation error details for a custom S3 service. You must close the dialog to access them from the top right “bell” icon
davidep
(Davide Principi)
October 24, 2024, 11:00am
8
Is NS8 Core updated at the latest version? Latest Core version is 3.1.3. The detailed error message is present since version 3.0.0 (about three weeks ago) Print backup validation error message · NethServer/ns8-core@13fd94e · GitHub
MadPatrick
(MadPatrick)
October 24, 2024, 11:20am
9
uhh… how can i check the version ?
Sorry…
davidep
(Davide Principi)
October 24, 2024, 12:07pm
10
Core Apps item under the three-dots menu at the top right corner of that page. It is beside “Reload repositories” button.
davidep
(Davide Principi)
October 24, 2024, 12:30pm
12
In a production system you’d never see a similar Version value. In NS8 stable releases have a Semver version, like 1.2.1. They are not marked with words, letters and so on.
The updates applied from UI never install non-stable releases, I guess you ran some commands from the shell, just for testing purposes. You can do it, the system is yours, however when you ask for help on the forum please specify that you are on a testing system to avoid wasting support time. Thanks.
MadPatrick
(MadPatrick)
October 24, 2024, 12:33pm
13
I’ve the testing repos on because i needed to install Sogo
Never did any changes from the shell or so.
No knowledge about it
davidep
(Davide Principi)
October 24, 2024, 1:25pm
14
AFAIK latest SOGo app version is 2.0.1, it’s not a pre-release app any more.
Make a snapshot of your system, if possible.
Then, from the command line run these commands, to fix the core versions.
api-cli run update-module --data '{"force":true,"module_url":"ghcr.io/nethserver/traefik:2.2.5","instances":["traefik1"]}'
api-cli run update-core --data '{"force":true,"core_url":"ghcr.io/nethserver/core:3.1.3","nodes":[1]}'
2 Likes
MadPatrick
(MadPatrick)
October 24, 2024, 5:11pm
15
Thanks
The traefik update is not working
api-cli run update-module --data '{"force":true,"module_url":ghcr.io/nethserver/traefik:2.2.5","instances":["traefik1"]}'
Warning: using user "cluster" credentials from the environment
Traceback (most recent call last):
File "/usr/local/bin/api-cli", line 246, in <module>
exit_code = command(args)
^^^^^^^^^^^^^
File "/usr/local/bin/api-cli", line 122, in run_command
data = json.loads(args.data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 28 (char 27)
The core update was succesfull
MadPatrick
(MadPatrick)
October 24, 2024, 6:21pm
16
Ok. After the update of Core module i’m able to see the error
It was a permission error with 1 subdirectory in the share.
Change the permissions and it is working
Thanks !!
MadPatrick
(MadPatrick)
October 25, 2024, 5:42pm
17
davidep:
AFAIK latest SOGo app version is 2.0.1, it’s not a pre-release app any more.
Make a snapshot of your system, if possible.
Then, from the command line run these commands, to fix the core versions.
api-cli run update-module --data '{"force":true,"module_url":ghcr.io/nethserver/traefik:2.2.5","instances":["traefik1"]}'
api-cli run update-core --data '{"force":true,"core_url":"ghcr.io/nethserver/core:3.1.3","nodes":[1]}'
Found the problem.
There is a typo error in the command
api-cli run update-module --data '{"force":true,"module_url":ghcr.io/nethserver/traefik:2.2.5","instances":["traefik1"]}'
Must be. Missing "
api-cli run update-module --data '{"force":true,"module_url":"ghcr.io/nethserver/traefik:2.2.5","instances":["traefik1"]}'
davidep
(Davide Principi)
October 28, 2024, 8:26am
19
You’re right, I fixed the typo. Thank you!
Card added NethServer · GitHub
1 Like