Koozali.org formerly Contribs.org

SME 9.2 Server manager won't load, no cookie support

Offline Arnie

SME 9.2 Server manager won't load, no cookie support
« on: June 16, 2021, 05:25:23 PM »
I am very sorry for posting this in the 10.x forum, but the 9.2 forum won't let me start a new topic.

Server manager is giving me an error saying it can't load because cookie support is disabled. I have tried Firefox and Chrome with all cookie support enabled but it still won't load. I am also getting the same message in ELinks on the console.

I really need to access the server manager so if anyone has any advice I would very much appreciate it.

Thanks in advance.
...

Offline Jean-Philippe Pialasse

  • *
  • 1,768
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME 9.2 Server manager won't load, no cookie support
« Reply #1 on: June 16, 2021, 08:57:02 PM »
and there is a reason you can not post. SME 9 is EOL. NOT SUPPORTED.

please update to SME 10 and report if issue persists.

Offline Arnie

Re: SME 9.2 Server manager won't load, no cookie support
« Reply #2 on: June 17, 2021, 06:20:27 AM »
please update to SME 10 and report if issue persists.

That is, in fact, what I am trying to do. I need to run a "Backup to Workstation", as I have no access to the hardware (400Km away) and as it is a VM, I can't do a console backup to USB. I only have Web/SSH access.

I could really use some help with the upgrade. Is there any way I can generate the smeserver.tgz backup via the shell?

Thanks in advance.
...

Offline TerryF

  • grumpy old man
  • *
  • 1,439
Re: SME 9.2 Server manager won't load, no cookie support
« Reply #3 on: June 17, 2021, 06:38:13 AM »
Backup via consle but you need access for a removeable drive...a hard one..unless youy can get somone to plug in a removable drive you could setup backup to workstation using a terminal window and then run it

So from a terminal bring up the woprkstation config settings..
Sorry thgis is to a removeable drive..I will do one for cifs

[root@fagehome ~]# config show backupwk
backupwk=service
    BackupTime=2:00
    Compression=5
    CompressionProg=gzip
    DaysInSet=5
    FullDay=7
    IncNum=3
    IncOnlyTimeout=yes
    Login=
    Mount=/mnt/smb
    Password=
    Program=dar
    SetNum=1
    SetsMax=1
    SmbHost=localhost
    SmbShare=media/usbstor
    SmbV1=disabled
    Timeout=20
    VFSType=usb
    cifs=\backupusb
    status=disabled

and set the valuse as needed, make sure to make it enabled

Then you could run it straight away by doing
 # /sbin/e-smith/do_backupwk

and cross your fingers :-)


--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,439
Re: SME 9.2 Server manager won't load, no cookie support
« Reply #4 on: June 17, 2021, 06:47:58 AM »
This config is to a workstation on the local network

[root@fagehome ~]# config show backupwk
backupwk=service
    BackupTime=2:00
    Compression=5
    CompressionProg=gzip
    DaysInSet=5
    FullDay=7
    IncNum=3
    IncOnlyTimeout=yes
    Login=smebackup
    Mount=/mnt/smb
    Password=xxxxxxx
    Program=dar
    SetNum=1
    SetsMax=1
    SmbHost=192.168.2.153
    SmbShare=backup
    SmbV1=disabled
    Timeout=20
    VFSType=cifs
    cifs=\backupusb
    status=enabled

change using the usual

[root@fagehome ~]# config setprop backupwk status enabled
[root@fagehome ~]# config show backupwk
backupwk=service
    BackupTime=2:00
    Compression=5
    CompressionProg=gzip
    DaysInSet=5
    FullDay=7
    IncNum=3
    IncOnlyTimeout=yes
    Login=smebackup
    Mount=/mnt/smb
    Password=xxxxxx
    Program=dar
    SetNum=1
    SetsMax=1
    SmbHost=192.168.2.153
    SmbShare=backup
    SmbV1=disabled
    Timeout=20
    VFSType=cifs
    cifs=\backupusb
    status=enabled
« Last Edit: June 17, 2021, 06:51:39 AM by TerryF »
--
qui scribit bis legit

Offline Jean-Philippe Pialasse

  • *
  • 1,768
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME 9.2 Server manager won't load, no cookie support
« Reply #5 on: June 17, 2021, 06:50:03 AM »
is disk full?

are you connecting using ip or domain?

what is the exact error in the browser?

when you used elinks was it from the server console?

Offline Arnie

Re: SME 9.2 Server manager won't load, no cookie support
« Reply #6 on: June 17, 2021, 09:30:21 AM »
is disk full?

No, 144/243GB free

are you connecting using ip or domain?

Both <ip Address>/server-manager and <fqdn>/server-manager give the same results

what is the exact error in the browser?

See attached screenshot

when you used elinks was it from the server console?

No, I SSH'd to the server as a pleb user, "su -" to root, then ran "console". This SHOULD be the same, yes?
The error I got in ELinks was basically a text version of the error in the screen shot.


...

Offline Arnie

Re: SME 9.2 Server manager won't load, no cookie support
« Reply #7 on: June 17, 2021, 09:37:05 AM »
This config is to a workstation on the local network

Thanks TerryF, I will give it a go.

I still need to get some info off the server admin pages though, so hopefully I can get server manager access resolved.
It was working fine about 6 weeks ago when I set up a new iBay, I have no idea why it stopped working.
...

Offline Arnie

Re: SME 9.2 Server manager won't load, no cookie support
« Reply #8 on: June 17, 2021, 10:48:47 AM »
O.K. This is a head scratcher!

The first thing I did when I couldn't access server manager was to do a "signal-event post-upgrade" to reset all the config files to their known state and a "signal-event reboot" to restart the server but that didn't resolve the problem.

I just tried an "expand-template /etc/httpd/admin-conf/httpd.conf" and a "service httpd-admin stop" & "service httpd-admin start" and now I can access the server manager. I would have thought "signal-event post-upgrade" and a reboot would have achieved the same thing but I guess I was wrong.

Thank you all for your help. I will continue on with the upgrade now.
...

Offline Jean-Philippe Pialasse

  • *
  • 1,768
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME 9.2 Server manager won't load, no cookie support
« Reply #9 on: June 17, 2021, 02:10:03 PM »
sounds like the reboot did not occurred and you just updated a very old update for the level of encryption of the cookie.