Try:
rm /etc/default/syncthing
apt-get -f install
If that doesn't work, try:
wget http://omv-extras.org/testing2/openmediavault-syncthing_1.4_all.deb
dpkg -i openmediavault-syncthing_1.4_all.deb
Try:
rm /etc/default/syncthing
apt-get -f install
If that doesn't work, try:
wget http://omv-extras.org/testing2/openmediavault-syncthing_1.4_all.deb
dpkg -i openmediavault-syncthing_1.4_all.deb
The install was successful but i can not add a user now. This is the error i get.
Failed to execute command 'export LANG=C; update-rc.d 'syncthing' disable 2>&1': update-rc.d: error: no runlevel symlinks to modify, aborting! update-rc.d: using dependency based boot sequencing
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; update-rc.d 'syncthing' disable 2>&1': update-rc.d: error: no runlevel symlinks to modify, aborting!
update-rc.d: using dependency based boot sequencing' in /usr/share/php/openmediavault/initscript.inc:90
Stack trace:
#0 /usr/share/php/openmediavault/initscript.inc(56): OMVSysVInitScript->update(true)
#1 /usr/share/openmediavault/engined/module/syncthing.inc(107): OMVSysVInitScript->exec()
#2 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModuleSyncthing->stopService()
#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#11 {main}
Try: update-rc.d syncthing default then try applying again.
here is the output of that command. i still cannot add a user
root@Vault:~# update-rc.d syncthing default
update-rc.d: using dependency based boot sequencing
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
-n: not really
-f: force
The disable|enable API is not stable and might change in the future.
root@Vault:~#
Forgot the 's' - update-rc.d syncthing defaults
wow i should've caught that! my bad! still learning here.
Here is the output.
im still getting the same error. fyI
root@Vault:~# update-rc.d syncthing defaults
update-rc.d: using dependency based boot sequencing
insserv: script syncthing: service server already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
What about:
insserv syncthing
grep -i syncthing /etc/init.d/*
Here is what it gives me.
root@Vault:~# insserv syncthing
insserv: script syncthing: service server already provided!
insserv: exiting now!
root@Vault:~# grep -i syncthing /etc/init.d/*
/etc/init.d/syncthing:# Provides: syncthing server instance
/etc/init.d/syncthing:# Short-Description: starts instance of syncthing server
/etc/init.d/syncthing:# Description: starts instance of syncthing server using start-stop-daemon
/etc/init.d/syncthing:DESC="syncthing"
/etc/init.d/syncthing:NAME="syncthing"
/etc/init.d/syncthing:DAEMON=/usr/bin/syncthing
/etc/init.d/syncthing: echo "Starting Syncthing for user" $ST_USER
/etc/init.d/syncthing: echo "Stopping Syncthing for user" $ST_USER
/etc/init.d/syncthing: echo "Syncthing for USER $ST_USER: not running."
/etc/init.d/syncthing: echo "Syncthing for USER $ST_USER: running (pid" $ST_PID")"
root@Vault:~#
I am not able to replicate this. I have literally install this plugin hundreds of times without error. Check the logs. Run memtest on the memory. Not sure what else to do but it isn't the plugin causing the problem.
I have the same problem on one server ...
Do you have the calibre plugin installed? There is a conflict with calibre's init script that caused this on themadman206's system. Need to compare and find out why.
Yes, I have the calibre plugin installed.
Try this as root:
mv /etc/init.d/calibre /root/
insserv syncthing
mv /root/calibre /etc/init.d/
I haven't figured out why calibre's init script is conflicting with syncthing's init script...
I've done in the following way:
mv /etc/init.d/calibre /root/
install synchting
mv /root/calibre /etc/init.d/
and it worked.
Thanks ryecoaaron!
I use a cubietruck with OMV and use syncthing to sync a folder with a HP N40L with OMV too. The performance on the cubietruck is very bad. Transfer rate is around 8Mbit and cpu workload is 100%. Does anyone have the same experience.
Today I got this cron-apt message regading a sycnthing update with a problem note:
CRON-APT RUN [/etc/cron-apt/config]: Sun May 31 09:32:36 CEST 2015
CRON-APT SLEEP: 1828, Sun May 31 10:03:04 CEST 2015
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/apt-get -o Acquire::http::Dl-Limit=25 dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
syncthing
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3169 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
syncthing
E: There are problems and -y was used without --force-yes
Alles anzeigen
What is meant with this sort of problems and should I update or not?
Does anyone have a hint for me?
For some reason the syncthing repo key doesn't match what the .deb package is signed with. I'll look into but I would install it.
Hi ryecoaaron,
today I got the same notification again. I googled a bit and found this entry in the syncthing forum:
https://forum.syncthing.net/t/…stalling-on-raspbian/2869 Perhaps it might explain the issue a bit though I don’t understand it.
The syncthing devs have fixed the signing issue
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!