Upgrade. What happens to custom files?

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
Hercules
Posts: 23
Joined: Sun Sep 29, 2013 6:58 pm

Upgrade. What happens to custom files?

Post by Hercules »

Hi Guys,

Just a quick question. I am still running 1.5.10 and was thinking of upgrading to the latest version. I have some custom scripts and files that I work on over SSH. If I do an upgrade does every file get deleted and reinstalled or is there just an upgrade over the top? I know I need to use the factory vs sysupgrade files given my current version.

Just trying to work out how painful this is going to be.

Cheers!

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Upgrade. What happens to custom files?

Post by Lantis »

Everything will be wiped.

You need to use the sysupgrade version regardless of how far back in versions you are.
Do not preserve settings.

Thanks
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Hercules
Posts: 23
Joined: Sun Sep 29, 2013 6:58 pm

Re: Upgrade. What happens to custom files?

Post by Hercules »

Oh great. I misread that. So if I just take screenshots of everything I should be fine...

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Upgrade. What happens to custom files?

Post by ispyisail »

Don't upgrade 4MB routers, bad things can happen.

Hercules
Posts: 23
Joined: Sun Sep 29, 2013 6:58 pm

Re: Upgrade. What happens to custom files?

Post by Hercules »

I think it is 8 isnt it? https://www.gargoyle-router.com/wiki/do ... ed_routers

I was just getting worried about security updates...?

Hercules
Posts: 23
Joined: Sun Sep 29, 2013 6:58 pm

Re: Upgrade. What happens to custom files?

Post by Hercules »

I see I omitted to mention I have a TL-WDR4300 so I am assuming it will be fine to upgrade the firmware straight to 1.9

Also I think I may not have understood Lantis' reply above. Are you saying that even if you use the upgrade option everything will be wiped?

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Upgrade. What happens to custom files?

Post by Lantis »

/etc/config will be preserved and some other minor files like /usr/data/bwmon or /usr/data/quota

But other than that, pretty much everything will disappear.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Hercules
Posts: 23
Joined: Sun Sep 29, 2013 6:58 pm

Re: Upgrade. What happens to custom files?

Post by Hercules »

Thanks. I can handle that. I think I only have five files so I will copy those off and go from there.

arejaytee
Posts: 17
Joined: Tue Jan 07, 2014 4:59 am

Re: Upgrade. What happens to custom files?

Post by arejaytee »

Any chance of getting a custom folder included that is not wiped out so people can safely place things in and not worry about them?

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Upgrade. What happens to custom files?

Post by Lantis »

The sysupgrade process is managed by Openwrt, not Gargoyle.
You can yourself add entries to /etc/sysupgrade.conf to preserve individual files and folders. But I think even that file itself is not preserved (and is not allowed to list itself).
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply