Author Topic: Update issue from 6.2.9 to 7.0  (Read 274 times)

killmasta93

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +14/-0
    • View Profile
Update issue from 6.2.9 to 7.0
« on: January 22, 2023, 08:20:39 pm »
Hi
Currently updated zentyal and it was very tricky, but finally got it to update,
but for some odd reason i cannot get the zentyal web working

during the upgrade which did not want to start the webadmin i had to go to

sudo nano /usr/share/perl5/EBox/Samba/Model/PAM.pm

and edit to use constant DEFAULT_SHELL => '/bin/bash';

then re-ran dpkg --configure -a

after that the webmin still wont work giving me an error
Code: [Select]
● zentyal.cleantmp.service - Clean Zentyal temp directory
     Loaded: loaded (/lib/systemd/system/zentyal.cleantmp.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2023-01-22 14:06:31 -05; 2s ago
    Process: 4840 ExecStart=/usr/bin/bash -c /bin/rm -rf /var/lib/zentyal/tmp/* (code=exited, status=203/EXEC)
   Main PID: 4840 (code=exited, status=203/EXEC)

Jan 22 14:06:31 apolo systemd[1]: Starting Clean Zentyal temp directory...
Jan 22 14:06:31 apolo systemd[4840]: zentyal.cleantmp.service: Failed to execute command: No such file or directory
Jan 22 14:06:31 apolo systemd[4840]: zentyal.cleantmp.service: Failed at step EXEC spawning /usr/bin/bash: No such file or directory
Jan 22 14:06:31 apolo systemd[1]: zentyal.cleantmp.service: Main process exited, code=exited, status=203/EXEC
Jan 22 14:06:31 apolo systemd[1]: zentyal.cleantmp.service: Failed with result 'exit-code'.
Jan 22 14:06:31 apolo systemd[1]: Failed to start Clean Zentyal temp directory.

so i nano /lib/systemd/system/zentyal.cleantmp.service
and edited
Code: [Select]
ExecStart=/usr/bin/bash -c '/bin/rm -rf /var/lib/zentyal/tmp/*'to
Code: [Select]
ExecStart=/bin/bash -c '/bin/rm -rf /var/lib/zentyal/tmp/*'

then i restart zs webadmin restart and it shows OK but i check it shows stopped, then i look at the logs but i dont see nothing

any ideas

Thank you

turalyon

  • Zen Warrior
  • ***
  • Posts: 161
  • Karma: +14/-0
    • View Profile
Re: Update issue from 6.2.9 to 7.0
« Reply #1 on: January 23, 2023, 12:08:01 pm »
I can confirm that I get 'STOPPED' as the status although the Webadmin module is up and running. It looks like a non-reported bug.

--

“This world is ours, and by the Holy Light we will keep it safe, now and forever".

killmasta93

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +14/-0
    • View Profile
Re: Update issue from 6.2.9 to 7.0
« Reply #2 on: January 23, 2023, 05:29:50 pm »
thanks for the reply, yeah just realized its working even though it shows stopped
i wish zentyal was in a docker environment

killmasta93

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +14/-0
    • View Profile
Re: Update issue from 6.2.9 to 7.0
« Reply #3 on: January 26, 2023, 11:01:44 pm »
@turalyon hi, i was wonder if after updating i tried to change the access control i keep getting the element not found website

https://i.imgur.com/0uK58QJ.png


turalyon

  • Zen Warrior
  • ***
  • Posts: 161
  • Karma: +14/-0
    • View Profile
Re: Update issue from 6.2.9 to 7.0
« Reply #4 on: January 27, 2023, 03:17:30 pm »
Hi,

I don't get any error like that. What actions did you do? And what does the log files from '/var/log/zentyal/' says about the error?

--

“This world is ours, and by the Holy Light we will keep it safe, now and forever".

killmasta93

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +14/-0
    • View Profile
Re: Update issue from 6.2.9 to 7.0
« Reply #5 on: February 14, 2023, 11:22:15 pm »
sorry for the late reply, just saw the message currently im getting this error
Code: [Select]
*942 SSL_write() failed while sending response to client, client: 192.168.7.198, server: , request: "GET /data/js/jquery.jstree.js HTTP/1.1", host: "192.168.3.191:8443", referrer: "https://192.168.3.191:8443/SysInfo/ComponentNotFound"