× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

syncthing

latitudehopper
Aspirant

syncthing

I would happily pay a little amount for someone to build an os6 version of sync thing. Anyone keen?
Message 1 of 41
super_poussin
Virtuoso

Re: syncthing

working on it but have some issue

syncthing is now Pulse
Message 2 of 41
latitudehopper
Aspirant

Re: syncthing

Thanks, Poussin. Syncthing is still syncthing and pulse is pulse. They had an amicable forking so to speak.
Message 3 of 41
super_poussin
Virtuoso

Re: syncthing

The Pulse version is near ready state 🙂 https://ind.ie/pulse/
Message 4 of 41
latitudehopper
Aspirant

Re: syncthing

Awesome. Let me know if you need a tester as I was about to run the thing directly to give it a go.
Message 5 of 41
super_poussin
Virtuoso

Re: syncthing

deb file is in my community dropbox 🙂

install it from frontview under apps menu
Message 6 of 41
latitudehopper
Aspirant

Re: syncthing

You are amazing, thank you. I installed it, it worked! then I broke it. I think I set a large folder to scan then restarted. The GUI is absent but in top pulse is chewing up the resources. Does it complete a scan before initialising the GUI? I tried removing it and the settings folder then reinstalling but got the same issue. Any ideas?
Message 7 of 41
latitudehopper
Aspirant

Re: syncthing

Yes. Looks like I have broken it. I have tried removing it completely but when i reinstall and enable the service "pulse" takes most of the CPU and there is no GUI. Where would I find the logs for this to see what I have done wrong? Also, is there a location where residual config or data is housed that needs to be purged?
Message 8 of 41
super_poussin
Virtuoso

Re: syncthing

everything is in /apps/pulse
Message 9 of 41
latitudehopper
Aspirant

Re: syncthing

That is so odd.

I uninstalled through GUI.
Deleted /apps/pulse
Restarted.
Re-installed
GUI doesn't now load and the CPU is high.

The first install seemed to work well with the GUI coming to life. Is there a log I should check elsewhere?
Message 10 of 41
super_poussin
Virtuoso

Re: syncthing

/var/log/readynasd/install....


Envoyé de mon iPhone en utilisant Tapatalk
Message 11 of 41
latitudehopper
Aspirant

Re: syncthing

OK, it looks like there is legacy config somewhere? Logs for an uninstall and reinstall.

Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
pulse*
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
After this operation, 18.7 MB disk space will be freed.
(Reading database ... 18339 files and directories currently installed.)
Removing pulse ...
Purging configuration files for pulse ...
Success purge pulse
DONE(0): Tue Nov 25 18:57:29 GMT 2014
START(/tmp/pulse_0.1.1_all.deb): Tue Nov 25 18:57:47 GMT 2014
Ign http://apt.readynas.com 6.2.0 InRelease
Ign http://mirrors.kernel.org wheezy InRelease
Get:1 http://apt.readynas.com 6.2.0 Release.gpg [490 B]
Hit http://mirrors.kernel.org wheezy Release.gpg
Hit http://mirrors.kernel.org wheezy Release
Hit http://apt.readynas.com 6.2.0 Release
Hit http://apt.readynas.com 6.2.0/updates amd64 Packages
Hit http://mirrors.kernel.org wheezy/main amd64 Packages
Hit http://apt.readynas.com 6.2.0/apps amd64 Packages
Hit http://apt.readynas.com 6.2.0/main amd64 Packages
Hit http://security.debian.org wheezy/updates InRelease
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Fetched 490 B in 5s (83 B/s)
Reading package lists...
new debian package, version 2.0.
size 6109992 bytes: control archive=1787 bytes.
214 bytes, 9 lines control
791 bytes, 13 lines md5sums
1923 bytes, 65 lines * postinst #!/bin/sh
1082 bytes, 37 lines * postrm #!/bin/sh
Package: pulse
Version: 0.1.1
Architecture: all
Maintainer: SuperPoussin <readynas@orange.fr>
Installed-Size: 18301
Section: contrib
Priority: extra
Homepage: http://www.readynas.com
Description: File synchronizer
fv-dpkginstall.awk: success
Success install dependencies for /tmp/pulse_0.1.1_all.deb
Selecting previously unselected package pulse.
(Reading database ... 18320 files and directories currently installed.)
Unpacking pulse (from /tmp/pulse_0.1.1_all.deb) ...
Setting up pulse (0.1.1) ...
18:57:59 INFO: Generating RSA key and certificate...
18:58:04 INFO: Device ID: DXLFWK2-KFY44Z5-OVUHVWU-4AVUU5R-CYKW3MQ-CS75KUZ-OSFO35D-2KK6CQO
(Reading database ... 18339 files and directories currently installed.)
Preparing to replace pulse 0.1.1 (using /tmp/pulse_0.1.1_all.deb) ...
Unpacking replacement pulse ...
Setting up pulse (0.1.1) ...
18:58:41 WARNING: Key exists; will not overwrite.
18:58:41 INFO: Device ID: DXLFWK2-KFY44Z5-OVUHVWU-4AVUU5R-CYKW3MQ-CS75KUZ-OSFO35D-2KK6CQO
18:58:41 WARNING: Config exists; will not overwrite.
Message 12 of 41
latitudehopper
Aspirant

Re: syncthing

Then it says Done but in top sync stays at a high CPU
 5847 root      20   0  268m 5024 3692 R  30.8  0.2   0:00.93 pulse

And there is also this but I am not sure what it means

spooler returns spool_status=0 outbuf=(null) errbuf=(null) is_localapp=1 name=pulse_0.1.1_all.deb pkgname=pulse
Message 13 of 41
latitudehopper
Aspirant

Re: syncthing

If anyone knows what I can do I would really appreciate some help. The GUI doesn't seem to load. All files have been purged, the readynas rebooted, app reinstalled but no gui...
Message 14 of 41
mdgm-ntgr
NETGEAR Employee Retired

Re: syncthing


# df -h
# btrfs fi show
# btrfs fi df /data
# systemctl status apache2
# systemctl status readynasd
# journalctl -a | grep readynasd | tail -n 20
# journalctl -a | grep apache2 | tail -n 20
# systemctl restart apache2
# journalctl -a | grep apache2
Message 15 of 41
latitudehopper
Aspirant

Re: syncthing

df -h

Filesystem Size Used Avail Use% Mounted on
rootfs 4.0G 506M 3.2G 14% /
tmpfs 10M 4.0K 10M 1% /dev
/dev/md0 4.0G 506M 3.2G 14% /
tmpfs 996M 4.0K 996M 1% /dev/shm
tmpfs 996M 5.9M 990M 1% /run
tmpfs 996M 0 996M 0% /sys/fs/cgroup
tmpfs 996M 0 996M 0% /media
/dev/md127 7.3T 3.3T 4.0T 45% /data
/dev/md127 7.3T 3.3T 4.0T 45% /home
/dev/md127 7.3T 3.3T 4.0T 45% /apps

btrfs fi show
Label: '43f60a0c:root'  uuid: d35f3479-6139-4f55-b407-bb41385e2a5d
Total devices 1 FS bytes used 487.55MiB
devid 1 size 4.00GiB used 2.03GiB path /dev/md0

Label: '43f60a0c:data' uuid: e645f96e-8489-4d1c-b889-8636ff4bd400
Total devices 1 FS bytes used 3.26TiB
devid 1 size 7.27TiB used 3.44TiB path /dev/md127

Btrfs v3.17.1

btrfs fi df /data
Data, single: total=3.43TiB, used=3.26TiB
System, DUP: total=8.00MiB, used=376.00KiB
System, single: total=4.00MiB, used=0.00B
Metadata, DUP: total=6.00GiB, used=4.58GiB
Metadata, single: total=8.00MiB, used=0.00B

systemctl status apache2 #### Interesting #####
Nov 27 16:24:50 blackbox status.cgi[11374]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:24:53 blackbox status.cgi[11654]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:24:55 blackbox status.cgi[11901]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:30:19 blackbox status.cgi[12993]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:41:05 blackbox status.cgi[15060]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:42:53 blackbox status.cgi[15478]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:47:32 blackbox status.cgi[16381]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:49:49 blackbox status.cgi[18065]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:49:59 blackbox status.cgi[18272]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)
Nov 27 16:50:04 blackbox status.cgi[18368]: ERROR:status.c:915 open(/run/readydrop/readydrop.conf)

systemctl status readynasd
readynasd.service - ReadyNAS System Daemon
Loaded: loaded (/lib/systemd/system/readynasd.service; enabled)
Active: active (running) since Wed, 26 Nov 2014 19:21:03 +0000; 21h ago
Main PID: 2031 (readynasd)
Status: "Start Main process"
CGroup: name=systemd:/system/readynasd.service
└ 2031 /usr/sbin/readynasd -v 3 -t

journalctl -a | grep readynasd | tail -n 20
Nov 27 03:22:34 blackbox readynasd[2031]: Smart Snapshot successfully delete snapshot '2014_11_25__03_00_30' from share or LUN 'Transmission'.
Nov 27 04:00:18 blackbox readynasd[2031]: Snapshot 'c_1417060817' is successfully created for share or LUN 'Transmission'.
Nov 27 04:22:44 blackbox readynasd[2031]: Smart Snapshot successfully delete snapshot '2014_11_25__04_00_31' from share or LUN 'Transmission'.
Nov 27 05:00:20 blackbox readynasd[2031]: Snapshot 'c_1417064419' is successfully created for share or LUN 'Transmission'.
Nov 27 05:22:54 blackbox readynasd[2031]: Smart Snapshot successfully delete snapshot '2014_11_25__05_00_33' from share or LUN 'Transmission'.
Nov 27 06:00:22 blackbox readynasd[2031]: Snapshot 'c_1417068020' is successfully created for share or LUN 'Transmission'.
Nov 27 06:23:04 blackbox readynasd[2031]: Smart Snapshot successfully delete snapshot '2014_11_25__06_00_34' from share or LUN 'Transmission'.
Nov 27 07:00:23 blackbox readynasd[2031]: Snapshot 'c_1417071622' is successfully created for share or LUN 'Transmission'.
Nov 27 07:23:15 blackbox readynasd[2031]: Smart Snapshot successfully delete snapshot '2014_11_25__07_00_35' from share or LUN 'Transmission'.
Nov 27 08:00:25 blackbox readynasd[2031]: Snapshot 'c_1417075224' is successfully created for share or LUN 'Transmission'.
Nov 27 08:23:25 blackbox readynasd[2031]: Smart Snapshot successfully delete snapshot '2014_11_25__08_00_37' from share or LUN 'Transmission'.
Nov 27 09:00:27 blackbox readynasd[2031]: Snapshot 'c_1417078826' is successfully created for share or LUN 'Transmission'.
Nov 27 10:00:28 blackbox readynasd[2031]: Snapshot 'c_1417082427' is successfully created for share or LUN 'Transmission'.
Nov 27 11:00:30 blackbox readynasd[2031]: Snapshot 'c_1417086029' is successfully created for share or LUN 'Transmission'.
Nov 27 12:00:31 blackbox readynasd[2031]: Snapshot 'c_1417089631' is successfully created for share or LUN 'Transmission'.
Nov 27 13:00:32 blackbox readynasd[2031]: Snapshot 'c_1417093231' is successfully created for share or LUN 'Transmission'.
Nov 27 14:00:33 blackbox readynasd[2031]: Snapshot 'c_1417096833' is successfully created for share or LUN 'Transmission'.
Nov 27 15:00:35 blackbox readynasd[2031]: Snapshot 'c_1417100435' is successfully created for share or LUN 'Transmission'.
Nov 27 16:00:36 blackbox readynasd[2031]: Snapshot 'c_1417104036' is successfully created for share or LUN 'Transmission'.
Nov 27 16:48:41 blackbox readynasd[2031]: Service 'fvapp-pulse.service' goto unexpected state 'failed'. Expect to be 'inactive'('deactivating').

journalctl -a | grep apache2 | tail -n 20
Nothing

systemctl restart apache2
Nothing

# journalctl -a | grep apache2
Message 16 of 41
latitudehopper
Aspirant

Re: syncthing

Nov 27 16:52:27 blackbox apache2[21442]: [Thu Nov 27 16:52:27 2014] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
Nov 27 16:52:27 blackbox apache2[21442]: [Thu Nov 27 16:52:27 2014] [warn] Useless use of AllowOverride in line 12 of /etc/frontview/apache/fv-admin.conf.
Nov 27 16:52:27 blackbox apache2[21442]: [Thu Nov 27 16:52:27 2014] [warn] Useless use of AllowOverride in line 25 of /etc/frontview/apache/fv-admin.conf.
Nov 27 16:52:27 blackbox apache2[21442]: [Thu Nov 27 16:52:27 2014] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
Nov 27 16:52:27 blackbox apache2[21442]: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.2.100 for ServerName
Nov 27 16:52:27 blackbox apache2[21442]: [warn] RSA server certificate CommonName (CN) `nas-F6-0A-0C.local' does NOT match server name!?
Nov 27 16:52:27 blackbox systemd[1]: PID file /var/run/apache2.pid not readable (yet?) after start.
Nov 27 16:52:28 blackbox apache2[21445]: [warn] RSA server certificate CommonName (CN) `nas-F6-0A-0C.local' does NOT match server name!?
Message 17 of 41
latitudehopper
Aspirant

Re: syncthing

Does anyone have any ideas on what I can try next?
Message 18 of 41
mdgm-ntgr
NETGEAR Employee Retired

Re: syncthing


# dpkg -l | grep pulse


What apps do you have installed?

I see you are using snapshots and presumably CoW with Transmission. That is not recommended.
Message 19 of 41
latitudehopper
Aspirant

Re: syncthing


root@blackbox:~# dpkg -l | grep pulse
ii pulse 0.1.1 all


transmission share has no bit rot protection or snapshot active.
Message 20 of 41
StephenB
Guru

Re: syncthing

If there are old snapshots on the transmission share, you might want to delete them though.
Message 21 of 41
latitudehopper
Aspirant

Re: syncthing

Those have been deleted. I am still without a GUI on Pulse, any other ideas would be welcomed.
Message 22 of 41
super_poussin
Virtuoso

Re: syncthing

Will try to reproduce


Envoyé de mon iPhone en utilisant Tapatalk
Message 23 of 41
latitudehopper
Aspirant

Re: syncthing

Thanks, SP. I am not sure what to advise on reproducing, I just restarted mid way through a scan and now despite cleaning it out completely, it fails to fire up the GUI. Starting from the CLI makes it look like it is working... note, it updated this time.

Last login: Sat Nov 29 10:34:18 2014 from bigbox
root@blackbox:~# /apps/pulse/bin/pulse
[monitor] 19:08:08 INFO: Starting Pulse…
[SRS5P] 19:08:10 INFO: pulse 0.1.1 (go1.3.3 linux-amd64 default) jenkins@jenkins.ind.ie 2014-11-17 19:16:35 UTC
[SRS5P] 19:08:10 INFO: My ID: xxxxx-Z2HABII-5GSTGFN-USQPLE4-XVSZ3PG-5EKLDDT-U3M7272-7JSZEAJ
[SRS5P] 19:08:10 INFO: Starting web GUI on http://127.0.0.1:8080/
[SRS5P] 19:08:12 INFO: Starting UPnP discovery...
[SRS5P] 19:08:18 INFO: UPnP discovery complete (found 1 device).
[SRS5P] 19:08:18 INFO: Created UPnP port mapping for external port 34664 on UPnP device 'AirGateway' (192.168.2.1).
[SRS5P] 19:08:18 INFO: Starting local discovery announcements
[SRS5P] 19:08:18 INFO: Starting global discovery announcements
[SRS5P] 19:08:18 OK: Ready to synchronize default (read-write)
[SRS5P] 19:08:18 INFO: Device xxxxx-Z2HABII-5GSTGFN-USQPLE4-XVSZ3PG-5EKLDDT-U3M7272-7JSZEAJ is "blackbox" at [dynamic]
[SRS5P] 19:08:18 INFO: Completed initial scan (rw) of folder default
[SRS5P] 19:08:19 INFO: Automatic upgrade (current "0.1.1" < latest "0.1.2")
[SRS5P] 19:08:22 WARNING: Automatically upgraded to version "0.1.2". Restarting in 1 minute.
[SRS5P] 19:09:22 OK: Exiting
[monitor] 19:09:22 INFO: Restarting monitor...
Message 24 of 41
latitudehopper
Aspirant

Re: syncthing

Why does a clean install have it trying to setup pulse twice?

fv-dpkginstall.awk: success
Success install dependencies for /tmp/pulse_0.1.1_all.deb
Selecting previously unselected package pulse.
(Reading database ... 18206 files and directories currently installed.)
Unpacking pulse (from /tmp/pulse_0.1.1_all.deb) ...
Setting up pulse (0.1.1) ...
19:27:41 INFO: Generating RSA key and certificate...
19:28:14 INFO: Device ID: BM4EXLW-7C7RLOL-ZZRNHIP-ER632IV-2W3KDHI-JKL4UA2-DW2FP3H-XKXMCQX
(Reading database ... 18225 files and directories currently installed.)
Preparing to replace pulse 0.1.1 (using /tmp/pulse_0.1.1_all.deb) ...
Unpacking replacement pulse ...
Setting up pulse (0.1.1) ...
19:28:51 WARNING: Key exists; will not overwrite.
19:28:51 INFO: Device ID: BM4EXLW-7C7RLOL-ZZRNHIP-ER632IV-2W3KDHI-JKL4UA2-DW2FP3H-XKXMCQX
19:28:51 WARNING: Config exists; will not overwrite.
DONE(0): Sun Nov 30 19:29:22 GMT 2014
Message 25 of 41
Top Contributors
Discussion stats
  • 40 replies
  • 5319 views
  • 0 kudos
  • 4 in conversation
Announcements