Koozali.org: home of the SME Server

white blank page when restore selective files

Offline john56

  • ****
  • 145
  • +0/-0
white blank page when restore selective files
« on: June 19, 2017, 04:24:34 PM »
Hi,
i've a white blank page when i restore selective files from the manager.
CIFS share.  Backup ok.
How can i repair that issue ?
Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: white blank page when restore selective files
« Reply #1 on: June 19, 2017, 04:35:27 PM »
well, you'd try to understand what's wrong before fix it :-)

take a look at the logs

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #2 on: June 19, 2017, 04:36:39 PM »
Yes of course, where can i find the logs for that ?
« Last Edit: June 19, 2017, 04:41:24 PM by john56 »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: white blank page when restore selective files
« Reply #3 on: June 19, 2017, 04:52:50 PM »
start from /var/log/messages

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #4 on: June 19, 2017, 05:35:04 PM »
Nothing special in var/log/messages (DHCPREQUEST etc ...)

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #5 on: November 05, 2017, 11:00:44 PM »
not resolved :)

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #6 on: November 06, 2017, 01:09:57 AM »
Next look at logs in /var/logs/httpd

Also, in messages look for anything just after your restore action

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #7 on: November 06, 2017, 04:17:52 AM »
Timeout waiting for output from CGI script /etc/e-smith/web/panels/manager/cgi-bin/backup
 :-x

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: white blank page when restore selective files
« Reply #8 on: November 06, 2017, 04:29:13 AM »
You could try setting the timeout to a higher figure and see what happens:

To check, edit /etc/httpd/conf/httpd.conf and look for the line:

Timeout 300

Increase this value (say 3000) and restart apache:

sv t /service/httpd-e-smith

This is from an old sme8 bug..
--
qui scribit bis legit

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #9 on: November 06, 2017, 06:48:04 AM »
without template ?

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: white blank page when restore selective files
« Reply #10 on: November 06, 2017, 08:45:13 AM »
Not a permanent change, just a test, hence increase value and restart service.
--
qui scribit bis legit

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #11 on: November 07, 2017, 11:53:01 AM »
same problem with timeout 3000 and 8000 :)

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #12 on: November 07, 2017, 12:26:27 PM »
OK - go back to basics please - don't be economical with information. Proper log extracts, commands used etc etc.

Remember - we cannot see you screen or your logs etc. You have an issue and are asking for help so don't make your own assumptions about what is working or not - just post the full information as requested and let others decide for you (which is what you want)

So tell us about:

Hardware
VM or bare metal install
SME version

Thanks
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: white blank page when restore selective files
« Reply #13 on: November 07, 2017, 12:34:18 PM »
I'd add
network speed
data amount

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #14 on: November 07, 2017, 01:16:11 PM »
of course :
Code: [Select]
Mon Nov 06 11:18:21 2017] [notice] Apache/2.2.15 (Unix) mod_auth_tkt/2.1.0 configured -- resuming normal operations
[Tue Nov 07 10:53:43 2017] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 10:53:48 2017] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 10:58:48 2017] [warn] [client 127.0.0.1] Timeout waiting for output from CGI script /etc/e-smith/web/panels/manager/cgi-bin/backup, referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 10:58:48 2017] [error] [client 127.0.0.1] (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed, referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 11:42:01 2017] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 11:42:05 2017] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 11:47:05 2017] [warn] [client 127.0.0.1] Timeout waiting for output from CGI script /etc/e-smith/web/panels/manager/cgi-bin/backup, referer: https://buzz/server-manager/cgi-bin/backup
[Tue Nov 07 11:47:05 2017] [error] [client 127.0.0.1] (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed, referer: https://buzz/server-manager/cgi-bin/backup

Network speed about 10/100 mb/s (disk over ethernet)
Data about 150 Go

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #15 on: November 07, 2017, 01:20:57 PM »
You really better answer all our questions. They are important.

PLEASE do as we ask.... it stops wasting peoples time and helps us get to the root of your issue quicker.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #16 on: November 07, 2017, 01:30:38 PM »
what have i to add for your information ?

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #17 on: November 07, 2017, 01:38:55 PM »
Hardware
VM or bare metal install
SME version
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: white blank page when restore selective files
« Reply #18 on: November 07, 2017, 01:42:44 PM »
10/100 mbit? Really? Rotfl

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #19 on: November 07, 2017, 01:45:34 PM »
That is a SME Server 9.2 on Hyperv VM (Windows 2012 Server) - Ram 8 Gb
« Last Edit: November 07, 2017, 02:15:19 PM by john56 »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: white blank page when restore selective files
« Reply #20 on: November 07, 2017, 02:13:58 PM »
how much ram?
come on.. be verbose..
in any case, if you need to restore files and/or dir, try to use the dar command line (see https://wiki.contribs.org/Backup_with_dar#Manually_restoring_from_dar_archive_created_by_e-smith-backup)

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #21 on: November 07, 2017, 02:18:48 PM »
If you do you maths then you'll start to see the issues

100Mb (MegaBit) network (and I assume you are running 100 and not 10) allows about 12MBs (MegaBytes) per second.

120GB *1024 = 122880 MBs

122880 / 12 = 10240 seconds / 60 = 170 minutes / 60 = 2 hrs 50 mins

Using Gigabit at say 120Mb it would be about 17 mins (around 1020 seconds)

You might start to understand where your problems lie.....
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #22 on: November 07, 2017, 02:21:05 PM »
how much ram?
come on.. be verbose..

He did mention it in his previous post :-)

Quote
in any case, if you need to restore files and/or dir, try to use the dar command line (see https://wiki.contribs.org/Backup_with_dar#Manually_restoring_from_dar_archive_created_by_e-smith-backup)

Bearing in mind my calculations I think that will be his best option. Unless he seriously ups the timeouts in httpd.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: white blank page when restore selective files
« Reply #23 on: November 07, 2017, 02:41:57 PM »
He did mention it in his previous post :-)
NEIN! :-)
he amended the post, after I asked for ;-)

Quote
Bearing in mind my calculations I think that will be his best option. Unless he seriously ups the timeouts in httpd.

I never use  server-manager to restore my files, 'cause it's prone to errors and timeouts..
CLI is the way
my 2c

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #24 on: November 07, 2017, 02:58:15 PM »
Many thanks, i will try with command to restore selective files (deleted files of my users)

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #25 on: November 07, 2017, 03:08:59 PM »
Many thanks, i will try with command to restore selective files (deleted files of my users)

In all seriousness upgrade to Gigabit ASAP and save yourself a world of pain. You can pick up decent secondhand switches for pennies these days so there is no barrier to upgrading. You may notice a small difference on your network....
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: white blank page when restore selective files
« Reply #26 on: November 07, 2017, 03:09:10 PM »
john, first of al I apologize... I didn't want to be unpolite but I re-read myself and I feel I was.

anyway, next time you report here an issue, you must remember we aren't there and so you have to be very verbose..

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #27 on: November 07, 2017, 03:16:06 PM »
I would like to upgrade on gigabit (futhermore with 230 computers and 800 users).  My school is studying the costs for that.
Stefano, no problem, I understand than the more precise I am, the better it is for everyone.  I normally learned that with Jp Pialasse but I'm stubborn :) :) :)
https://www.kerplouz.com/informations/le-pole-informatique/   

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: white blank page when restore selective files
« Reply #28 on: November 07, 2017, 03:29:48 PM »
230 pc on a 10/100 infra? OMG :-D

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #29 on: November 07, 2017, 03:39:05 PM »
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline john56

  • ****
  • 145
  • +0/-0
Re: white blank page when restore selective files
« Reply #30 on: November 07, 2017, 03:48:23 PM »
and the best is .... that i have a internet connetcion nearly 1 gb/s  :P :P :P

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: white blank page when restore selective files
« Reply #31 on: November 07, 2017, 03:58:52 PM »
and the best is .... that i have a internet connetcion nearly 1 gb/s  :P :P :P

:slapshead:

Doh !!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation