Dashboard opens with blank only

Re: Dashboard opens with blank only

Postby fvdw » Wed Mar 24, 2021 2:12 pm

:scratch

seems to be a lot missing I cheked two capsules and this should be in this folder

sharing-dir.JPG
sharing-dir.JPG


what is the date stamp of the files in that folder on your 5big2
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fariaslcfs » Wed Mar 24, 2021 2:48 pm

It follow the dates of the files in that folder:
Code: Select all
root@(fvdw-kirkwood):/md8/usr/lib/python2.6/site-packages/unicorn/sharing # ls -lh
total 284
-rw-rw-r--    1 root     root           0 Nov  3  2010 __init__.py
-rw-rw-r--    1 root     root         147 Nov  3  2010 __init__.pyc
-rw-rw-r--    1 root     root         147 Nov  3  2010 __init__.pyo
drwxrwxr-x    2 root     root        4.0K Nov  3  2010 access
-rw-rw-r--    1 root     root       17.3K Nov  3  2010 afp.py
-rw-rw-r--    1 root     root       10.3K Nov  3  2010 afp.pyc
-rw-rw-r--    1 root     root       10.0K Nov  3  2010 afp.pyo
-rw-rw-r--    1 root     root       20.3K Nov  3  2010 ftp.py
-rw-rw-r--    1 root     root       10.2K Nov  3  2010 ftp.pyc
-rw-rw-r--    1 root     root        9.9K Nov  3  2010 ftp.pyo
-rw-rw-r--    1 root     root        3.4K Nov  3  2010 printer.py
-rw-rw-r--    1 root     root        3.8K Nov  3  2010 printer.pyc
-rw-rw-r--    1 root     root        3.7K Nov  3  2010 printer.pyo
-rw-rw-r--    1 root     root        5.9K Nov  3  2010 printing.py
-rw-rw-r--    1 root     root        6.2K Nov  3  2010 printing.pyc
-rw-rw-r--    1 root     root        6.2K Nov  3  2010 printing.pyo
drwxrwxr-x    2 root     root        4.0K Nov  3  2010 quota
-rw-rw-r--    1 root     root       29.4K Nov  3  2010 share.py
-rw-rw-r--    1 root     root       22.3K Nov  3  2010 share.pyc
-rw-rw-r--    1 root     root       18.8K Nov  3  2010 share.pyo
-rw-rw-r--    1 root     root        3.3K Nov  3  2010 share_services.py
-rw-rw-r--    1 root     root        3.0K Nov  3  2010 share_services.pyc
-rw-rw-r--    1 root     root        2.8K Nov  3  2010 share_services.pyo
-rw-rw-r--    1 root     root       19.2K Nov  3  2010 smb.py
-rw-rw-r--    1 root     root       13.9K Nov  3  2010 smb.pyc
-rw-rw-r--    1 root     root       12.9K Nov  3  2010 smb.pyo
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

Re: Dashboard opens with blank only

Postby fvdw » Wed Mar 24, 2021 3:31 pm

seems to be an very old version the oldest I have is from 2011, but all versions I have have more files in the that folder.

In the folder usr/lib/python2.6/site-packages there is a file unicorn-xxxxxxx-py2.6.egg-info

what is in our case on the xxxxxx ? (in my case it mention 0.1a3.dev_r20170)

I am reluctant to overwrite the unicorn folder as if it is not the same version it might cause damage to lacie firmware
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fariaslcfs » Wed Mar 24, 2021 4:21 pm

fvdw wrote:seems to be an very old version the oldest I have is from 2011, but all versions I have have more files in the that folder.

In the folder usr/lib/python2.6/site-packages there is a file unicorn-xxxxxxx-py2.6.egg-info

what is in our case on the xxxxxx ? (in my case it mention 0.1a3.dev_r20170)

I am reluctant to overwrite the unicorn folder as if it is not the same version it might cause damage to lacie firmware

Code: Select all
drwxrwxr-x    2 root     root        4.0K Nov  3  2010 unicorn-0.1a3.dev_r14433-py2.6.egg-info
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

Re: Dashboard opens with blank only

Postby fvdw » Wed Mar 24, 2021 4:26 pm

Seems a similar version

In this folder nicorn-0.1a3.dev_r14433-py2.6.egg-info there is a file SOURCES.txt

what is its content ?

In my case it contains regarding unicorn/sharing this
Code: Select all
unicorn/sharing/__init__.py
unicorn/sharing/afp.py
unicorn/sharing/forbidden_share.py
unicorn/sharing/ftp.py
unicorn/sharing/lna.py
unicorn/sharing/netbackup.py
unicorn/sharing/nfs.py
unicorn/sharing/printer.py
unicorn/sharing/printing.py
unicorn/sharing/sftp.py
unicorn/sharing/share.py
unicorn/sharing/share_services.py
unicorn/sharing/smb.py
unicorn/sharing/ssh.py
unicorn/sharing/time_machine.py
unicorn/sharing/access/__init__.py
unicorn/sharing/access/group.py
unicorn/sharing/access/helpers.py
unicorn/sharing/access/user.py
unicorn/sharing/quota/__init__.py
unicorn/sharing/quota/quotas.py
unicorn/sharing/quota/share_quota.py


also list content of requires.txt
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fariaslcfs » Wed Mar 24, 2021 5:00 pm

fvdw wrote:Seems a similar version
In this folder nicorn-0.1a3.dev_r14433-py2.6.egg-info there is a file SOURCES.txt
what is its content ?
(...)
also list content of requires.txt

Code: Select all
root@(fvdw-kirkwood):/md8/usr/lib/python2.6/site-packages/unicorn-0.1a3.dev_r14433-py2.6.egg-info # cat requires
.txt
storm>=0.13
web.py>=0.3
flup>=1
PyYAML>=3
smbpasswd>=1
PyDispatcher>=2
minihallib>=0.1.10root@(fvdw-kirkwood):/md8/usr/lib/python2.6/site-packages/unicorn-0.1a3.dev_r14433-py2.6.egg-i

The content of SOURCES.txt is attached (file too long).
You do not have the required permissions to view the files attached to this post.
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

Re: Dashboard opens with blank only

Postby fvdw » Wed Mar 24, 2021 5:11 pm

the content of requires.txt is same as my 2011 version

However the file SOURCES.txt contains much less
for instace your version has this for unicorn/sharing

Code: Select all
unicorn/sharing/__init__.py
unicorn/sharing/afp.py
unicorn/sharing/ftp.py
unicorn/sharing/printer.py
unicorn/sharing/printing.py
unicorn/sharing/share.py
unicorn/sharing/share_services.py
unicorn/sharing/smb.py
unicorn/sharing/access/__init__.py
unicorn/sharing/access/group.py
unicorn/sharing/access/user.py
unicorn/sharing/quota/__init__.py
unicorn/sharing/quota/quotas.py
unicorn/sharing/quota/share_quota.py
unicorn/sharing/quota/user_quota.py
which seems to correspond with actual content of that folder.
It means yu have an older version of lacie firmware running then the copies I have. Overwritting files of your version with my version is not a good idea. I need to look if I can find this 2010 version
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fvdw » Wed Mar 24, 2021 6:01 pm

I cannot find an older capsule

You could try to make a copy of the unicorn folder and post it here so we can have a detailed look to content

Code: Select all
tar -cvf  /unicorn.tar /md8/usr/lib/python2.6/site-packages/unicorn/
tftp -l /unicorn.tar -r unicorn.tar -p ip-pc
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Dashboard opens with blank only

Postby fariaslcfs » Wed Mar 24, 2021 6:10 pm

It follows the tar file.
You do not have the required permissions to view the files attached to this post.
fariaslcfs
Donator VIP
Donator VIP
 
Posts: 114
Joined: Thu Feb 18, 2021 4:55 pm

Re: Dashboard opens with blank only

Postby fvdw » Wed Mar 24, 2021 7:19 pm

thank you

I looked at it and I see that the file user.py in
/md8/usr/lib/python2.6/site-packages/unicorn/authentication/local has time stamp 3-11-2010
Thats strange as you should expect a file with date 12-6-2016 as we have overwritten it.

also please check time stamp of the /md8/etc/shadow file

Anyhow it is good that it is not overwritten as the content is much different from the 2016 file.
Maybe the overwriting failed because of permission issues

Anyhow in the attachement a modified user.py file that gives root the password "admin"
Write to /md8/usr/lib/python2.6/site-packages/unicorn/authentication/local
And check if it is really changed it should have now time stamp 24-3-2021

after this reboot your 5big2 and see if you have access wit user: root password: admin
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 8 guests