Fail to upgrade from version 17.0 to 18.x

Re: Fail to upgrade from version 17.0 to 18.x

Postby Jocko » Thu Aug 13, 2020 11:25 am

Ok it is more and more amazing...
As you can see with your last output nowhere you can read the latest firmware available is fvdw-sl 17.0 whereas the firmware claimed it (on a previous post). The php command you ran is what the firmware performs to get this information :scratch

As you do not run the step3, we have to restore the nas environment so that you can run a new attempt.

So post these outputs
Code: Select all
ls -l /etc/finc/sysfunc_fvdwsl_download.finc
ls -l /etc/finc/sysutilfunc_upgrade_firmware_2.finc
ls -l /tmp/
ls -l /lacie-boot
mount
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to upgrade from version 17.0 to 18.x

Postby Fuddyduddy » Mon Aug 17, 2020 10:42 am

Hi
Code: Select all
root@fvdwsl-base:/ # ls -l /etc/finc/sysfunc_fvdwsl_download.finc
-rw-r--r--  1 root root 15060 2019-01-19 19:33 /etc/finc/sysfunc_fvdwsl_download.finc
root@fvdwsl-base:/ # ls -l /etc/finc/sysutilfunc_upgrade_firmware_2.finc
-rw-r--r--  1 root root 24016 2019-01-25 21:08 /etc/finc/sysutilfunc_upgrade_firmware_2.finc
root@fvdwsl-base:/ # ls -l /tmp/
total 88
drwxr-xr-x  2 nobody nobody  4096 2019-08-29 18:21 etc
-rw-r--r--  1 nobody nobody  1073 2019-09-08 19:47 fvdw-sl_last_version.txt
drwxr-xr-x  2 root   root    4096 2019-08-29 18:21 mnt
-rw-------  1 nobody nobody 63897 2019-09-08 19:47 sess_91bc76b7529624eb7be618c513dc6b1e
drwxr-xr-x  4 root   root    4096 2019-08-29 18:22 usr
drwxr-xr-x  8 root   root    4096 2019-08-29 18:21 var
root@fvdwsl-base:/ # ls -l /lacie-boot
total 0
-rw-r--r--  1 root root 0 2019-03-23 18:39 sda1boot
root@fvdwsl-base:/ # mount
/dev/sda1 on / type ext3 (rw,relatime,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda8 on /share/1000 type ext3 (rw,noatime,data=ordered)
/dev/sda7 on /lacie-boot type ext3 (rw,relatime,data=ordered)
Fuddyduddy
Donator VIP
Donator VIP
 
Posts: 162
Joined: Thu Mar 14, 2013 9:00 am
Location: Åland Islands

Re: Fail to upgrade from version 17.0 to 18.x

Postby Jocko » Thu Aug 20, 2020 10:38 am

Hi Fuddyduddy,

I am sorry but currently I do not understand why the firmware downloads the package for version 17.0 and claims it is the latest version :scratch

Indeed you have the latest version of the download script and the php command you ran previously returns information for version 18.2 whereas it is the same basic php command used by the script :thinking

what you can try is to upgrade from the firmware version on sda2. But before need some checks...

So post
Code: Select all
mkdir /tmp/sda2
mount /dev/sda2 /tmp/sda2

ls -l /tmp/sda2
cat /tmp/sda2/etc/fvdwversion
cat /tmp/sda2/etc/patch_log
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to upgrade from version 17.0 to 18.x

Postby Fuddyduddy » Thu Aug 20, 2020 2:31 pm

Hi
Code: Select all
root@fvdwsl-base:/ # mkdir /tmp/sda2
mkdir: cannot create directory `/tmp/sda2': File exists
root@fvdwsl-base:/ # mount /dev/sda2 /tmp/sda2
root@fvdwsl-base:/ #
root@fvdwsl-base:/ # ls -l /tmp/sda2cat /tmp/sda2/etc/fvdwversion
ls: /tmp/sda2cat: No such file or directory
-rw-r--r--  1 root root 21 2015-09-30 00:09 /tmp/sda2/etc/fvdwversion
root@fvdwsl-base:/ # cat /tmp/sda2/etc/patch_log
[2017-03-18 19:03:59]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-afpfix-remoteshr-11oct15.zip(fvdw-sl-16.1-afpfix-remoteshr-11oct15.tar)   OK
[2017-03-18 19:04:30]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-fix-autowakeup-03oct15.zip(fvdw-sl-16.1-fix-autowakeup-03oct15.tar)       OK
[2017-03-18 19:04:44]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-USB-fix-17feb16.zip(fvdw-sl-16.1-USB-fix-17feb16.tar)     OK
[2017-03-18 19:07:26]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-warning-iesupport-03dec15.zip(fvdw-sl-16.1-warning-iesupport-03dec15.tar) OK
[2017-03-19 14:16:25]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-samba-patch-25-mar-2016.zip(fvdw-sl-16.1-samba-patch-25-mar-2016.tar)     OK
[2017-03-20 10:18:12]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-Root-CA-Chain-04dec2016.zip(fvdw-sl-16.1-Root-CA-Chain-04dec2016.tar)     OK
[2019-03-23 16:46:40]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-upgrade-patch-21dec2018.zip(fvdw-sl-16.1-upgrade-patch-21dec2018.tar)     OK
root@fvdwsl-base:/ #
Fuddyduddy
Donator VIP
Donator VIP
 
Posts: 162
Joined: Thu Mar 14, 2013 9:00 am
Location: Åland Islands

Re: Fail to upgrade from version 17.0 to 18.x

Postby Jocko » Thu Aug 20, 2020 2:49 pm

:disapprove
You made an error, here:
Code: Select all
root@fvdwsl-base:/ # ls -l /tmp/sda2cat /tmp/sda2/etc/fvdwversion
ls: /tmp/sda2cat: No such file or directory
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to upgrade from version 17.0 to 18.x

Postby Fuddyduddy » Sat Aug 22, 2020 8:12 am

Hi

Is this OK?
Code: Select all
root@fvdwsl-base:/ # mkdir /tmp/sda2
mkdir: cannot create directory `/tmp/sda2': File exists
root@fvdwsl-base:/ # mount /dev/sda2 /tmp/sda2
mount: /rw_fs/tmp/sda2: /dev/sda2 already mounted on /rw_fs/tmp/sda2.
root@fvdwsl-base:/ # ls -l /tmp/sda2
total 112
drwxr-xr-x   2 root root  4096 2015-10-03 15:49 bin
drwxr-xr-x   2 root root  4096 2015-10-03 15:49 bin_cab
drwxr-xr-x   2 root root  4096 2013-09-25 23:49 boot
-rw-r--r--   1 root root  2636 2019-03-23 18:28 boot.log
drwxrwxrwx   2 root root  4096 2015-10-03 15:49 clunc
drwxr-xr-x   6 root root 12288 2017-05-19 17:19 dev
lrwxrwxrwx   1 root root    11 2019-03-23 18:28 direct-usb -> /share/1000
drwxrwxrwx  18 root root  4096 2019-03-23 18:28 etc
drwxrwxrwx   2 root root  4096 2019-03-23 18:28 lacie-boot
drwxr-xr-x   4 root root  4096 2015-01-09 23:10 lib
lrwxrwxrwx   1 root root    11 2015-10-03 15:49 linuxrc -> bin/busybox
drwx------   2 root root 16384 2008-01-03 23:21 lost+found
drwxr-xr-x   3 root root  4096 2015-10-03 15:49 mail
lrwxrwxrwx   1 root root    14 2019-03-23 18:28 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x   2 root root  4096 2008-08-28 00:46 nowhere
drwxr-xr-x   7 root root  4096 2016-10-08 22:07 opt
-rw-r--r--   1 root root   290 2016-02-19 18:35 postupgrade.log
drwxrwxrwx   2 root root  4096 2011-03-05 12:08 proc
drwxr-xr-x   2 root root  4096 2008-01-03 22:06 root
drwxr-xr-x   2 root root  4096 2016-02-19 18:34 rw_fs
drwxr-xr-x   2 root root  4096 2019-03-23 18:28 sbin
drwxr-xr-x   2 root root  4096 2016-02-19 18:34 sda7-tmp
drwxrwxrwx   3 root root  4096 2016-02-19 18:35 share
drwxrwxrwx   2 root root  4096 2014-12-30 11:47 sys
lrwxrwxrwx   1 root root    10 2019-03-23 18:28 tmp -> /rw_fs/tmp
drwxr-xr-x  21 root root  4096 2019-03-23 18:28 usr
drwxr-xr-x   3 root root  4096 2019-03-23 18:28 var
root@fvdwsl-base:/ # root@fvdwsl-base:/ # ls -l /tmp/sda2cat /tmp/sda2/etc/fvdwv
ersion
-sh: root@fvdwsl-base:/: not found
root@fvdwsl-base:/ # cat /tmp/sda2/etc/patch_log
[2017-03-18 19:03:59]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-afpfix-remoteshr-11oct15.zip(fvdw-sl-16.1-afpfix-remoteshr-11oct15.tar)   OK
[2017-03-18 19:04:30]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-fix-autowakeup-03oct15.zip(fvdw-sl-16.1-fix-autowakeup-03oct15.tar)       OK
[2017-03-18 19:04:44]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-USB-fix-17feb16.zip(fvdw-sl-16.1-USB-fix-17feb16.tar)     OK
[2017-03-18 19:07:26]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-warning-iesupport-03dec15.zip(fvdw-sl-16.1-warning-iesupport-03dec15.tar) OK
[2017-03-19 14:16:25]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-samba-patch-25-mar-2016.zip(fvdw-sl-16.1-samba-patch-25-mar-2016.tar)     OK
[2017-03-20 10:18:12]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-Root-CA-Chain-04dec2016.zip(fvdw-sl-16.1-Root-CA-Chain-04dec2016.tar)     OK
[2019-03-23 16:46:40]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-upgrade-patch-21dec2018.zip(fvdw-sl-16.1-upgrade-patch-21dec2018.tar)     OK
root@fvdwsl-base:/ #
Fuddyduddy
Donator VIP
Donator VIP
 
Posts: 162
Joined: Thu Mar 14, 2013 9:00 am
Location: Åland Islands

Re: Fail to upgrade from version 17.0 to 18.x

Postby Jocko » Sat Aug 22, 2020 8:18 am

Pretty right but not fully
Code: Select all
ls -l /tmp/sda2cat /tmp/sda2/etc/fvdwv
In your last post, /tmp/sda2 content is listed but I need this output
Code: Select all
cat /tmp/sda2/etc/fvdwversion
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to upgrade from version 17.0 to 18.x

Postby Fuddyduddy » Sun Aug 23, 2020 8:37 am

Hi

Is this what you need?
Code: Select all
root@fvdwsl-base:/ # cat /tmp/sda2/etc/fvdwversion
fvdw-sl 16.1 patched
Fuddyduddy
Donator VIP
Donator VIP
 
Posts: 162
Joined: Thu Mar 14, 2013 9:00 am
Location: Åland Islands

Re: Fail to upgrade from version 17.0 to 18.x

Postby Jocko » Sun Aug 23, 2020 9:06 am

Thank you, Fuddyduddy.

Yes it was what I expected.

So on sda2 you have the version 16.1 patched with the required patch
Code: Select all
[2019-03-23 16:46:40]   unzip|unzip     fvdw-sl 16.1    nwsp2   /fvdw-sl-16.1-upgrade-patch-21dec2018.zip(fvdw-sl-16.1-upgrade-patch-21dec2018.tar)     OK

then we can try to upgrade the firmware from this partition.

So do
Code: Select all
mv /lacie-boot/sda1boot /lacie-boot/sda2boot
Check if you have only the file sda2boot in /lacie-boot
Code: Select all
ls /lacie-boot
if yes you can reboot the nas.

Close your browser and open it again, you have to clean its browser cache.
Then load the firmware web-interface, and you should have now version 16.1 patched.

So you have to follow again all steps from step4 (do a manual install) as described in https://plugout.net/viewtopic.php?f=7&t=3059

Note:
There is something I do not understand according with your previous posts...Never you should have the version 16.1 patched on sda2 :scratch
Indeed from version 16.1 on sda2, the firmware writes version 17.0 on sda1 and then when you made your last attempts, the firmware should write version 18.2 on sda1 (or version 17.0 like it claimed). So in all case version 16.1 should be overwritten...
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Fail to upgrade from version 17.0 to 18.x

Postby Fuddyduddy » Mon Aug 24, 2020 8:33 am

Hi Jocko

I followed your steps, then started the manual update process using FVDW-SL console.

All went as planned as far as step (6): the telnet client duly re-started after 15 secs but before I could log-in a message came up saying telnet client had timed-out.

Maybe I hesitated too long but, regardless, the fact is I'm now stuck at that stage since I don't know how to re-connect to the DTelnet terminal. fvdw-sl assistant does not find my NAS so its web interface remains deactivated.

Can you guide me please?
Fuddyduddy
Donator VIP
Donator VIP
 
Posts: 162
Joined: Thu Mar 14, 2013 9:00 am
Location: Åland Islands

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 7 guests