omv-update fails - Failed to fetch http://apt.syncthing.net

  • omv-update fails with the following error.



    Code
    W: Failed to fetch http://apt.syncthing.net/dists/syncthing/release/binary-amd64/Packages  301  Moved Permanently
    
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.

    Any help?


    Cheers.

    If you could just go ahead and make a plugin for it, that'd be great.
    N54L/4GB/12TB

    • Offizieller Beitrag

    It isn't the syncthing plugin causing it. It is the repo that omv-extras adds. Syncthing changed their repo from http to https. If you go to it in a browser it works because it redirects to http. But apt doesn't follow the redirect. I fixed omv-extras yesterday. So, disable btsync/sync repo and update omv-extras. This will fix it.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • It isn't the syncthing plugin causing it. It is the repo that omv-extras adds. Syncthing changed their repo from http to https. If you go to it in a browser it works because it redirects to http. But apt doesn't follow the redirect. I fixed omv-extras yesterday. So, disable btsync/sync repo and update omv-extras. This will fix it.

    This post is back from 2016... I am experiencing the same error today.


    Err http://apt.syncthing.net syncthing/release amd64 Packages 301 Moved Permanently
    ...
    W: Failed to fetch http://apt.syncthing.net/dists…ase/binary-amd64/Packages 301 Moved Permanently
    E: Some index files failed to download. They have been ignored, or old ones used instead.

    • Offizieller Beitrag

    This post is back from 2016... I am experiencing the same error today.

    On what version of OMV? Did you follow my directions in the post you quoted?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • same prob for me since 3 days


    i am on omv 2


    i switched of sync repo everything was fine without no errors (and no updates)
    swithed in on again and the mistake was there again.


    the message is:


    Failed to execute command 'export LANG=C; apt-get update 2>&1': Ign file: Release.gpgIgn file: ReleaseIgn file: Translation-enIgn file: Translation-de_DEIgn file: Translation-deHit http://dh2k.omv-extras.org virtualbox-wheezy-mirror Release.gpgHit http://download.mono-project.com wheezy Release.gpgHit http://packages.openmediavault.org stoneburner

  • On what version of OMV? Did you follow my directions in the post you quoted?

    OMV2
    Did not follow the directions, since the solution provided dated back to 2016.


    PS:
    I've been running SyncThing and successfully applying updates prior to 2016 up until now. So the solution didn't appear to apply?

    • Offizieller Beitrag

    Try it. It still applies. OMV 2.x has barely changed since 2016.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Try it. It still applies. OMV 2.x has barely changed since 2016.

    Ok, this doesn't work for me... or maybe I missed something in the instructions?


    I select OMV-Extras.org and disable Sync on the Repos tab (Save & Apply); then I select Update Manager and select Check; no updates. Although SyncThing v0.14.46 has been released.


    If I reverse my steps and re-enable Sync on the Repos tab and check updates again, I am getting the same error as before. It appears joker_75 is having the same issue.

    • Offizieller Beitrag

    Hard to say. I haven’t had an OMV 2.x system running a long time. Even if something needed to be changed, I would recommend a fresh install of 3.x or 4.x.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hard to say. I haven’t had an OMV 2.x system running a long time. Even if something needed to be changed, I would recommend a fresh install of 3.x or 4.x.

    I have an OMV 2.x running as well and the tip worked here also - thanks a lot for that!


    But I agree with z0rk and don't understand why the insufficient/unreliable OMV upgrade mechanism is treated as if it would be an easy 10 min job. I assume that with a re-installation of OMV I will loose my complete current configuration e.g. all the users, all the shares, all the plugin configuration like Syncthing. Everything in my house reads from and writes to this NAS, I don't want to start from scratch with every new version. My OMV NAS runs since 5 years but because of that I got a newer HP Microserver and move to FreeNAS now.

    • Offizieller Beitrag

    But I agree with z0rk and don't understand why the insufficient/unreliable OMV upgrade mechanism is treated as if it would be an easy 10 min job.

    The 2.x -> 3.x is the only difficult upgrade in my opinion. This upgrade is difficult because OMV made some large changes AND Debian switched from sysvinit to systemd. Upgrading to the latest version of OMV is also an upgrade of Debian. So, basically the upgrade is a release upgrade. OMV didn't invent this mechanism. The 3.x -> 4.x upgrade is an easy 10 min job for me...


    I assume that with a re-installation of OMV I will loose my complete current configuration e.g. all the users, all the shares, all the plugin configuration like Syncthing.

    Yes. On my systems, I could re-setup everything fairly quickly.

    Everything in my house reads from and writes to this NAS, I don't want to start from scratch with every new version.

    You don't have to start from scratch with every new version. We just recommend it with the 2.x -> 3.x change for reasons previously mentioned.


    My OMV NAS runs since 5 years but because of that I got a newer HP Microserver and move to FreeNAS now.

    Good luck. Strange that OMV has been working for you and you don't want to start from scratch but you move to another product...

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!