I ran chown and ended up assigning all files to root. How can I restore file owners to default?
lakay New Member Dec 13, 2023 #1 Dec 13, 2023 #1 I ran chown and ended up assigning all files to root. How can I restore file owners to default?
Cold-Egg Administrator Dec 13, 2023 #2 Dec 13, 2023 #2 For OLS configs? Assume you installed it from the repository, maybe you can try to reinstall the OLS package and see if it helps.
For OLS configs? Assume you installed it from the repository, maybe you can try to reinstall the OLS package and see if it helps.
Cold-Egg Administrator Dec 19, 2023 #4 Dec 19, 2023 #4 Reinstalling the package won't erase the existing config or site, only the admin console password may need to be reset. For the CentOS system, Code: yum -y install --reinstall openlitespeed For the Debian/Ubuntu system, Code: apt-get install --reinstall openlitespeed -y You can back up the site config before reinstalling just in case. Let us know if it works.
Reinstalling the package won't erase the existing config or site, only the admin console password may need to be reset. For the CentOS system, Code: yum -y install --reinstall openlitespeed For the Debian/Ubuntu system, Code: apt-get install --reinstall openlitespeed -y You can back up the site config before reinstalling just in case. Let us know if it works.
lakay New Member Dec 19, 2023 #5 Dec 19, 2023 #5 Thanks! Tried to reinstall. Unfortunately, it did not work. Can't access LiteSpeed Admin and can't access WordPress sites.
Thanks! Tried to reinstall. Unfortunately, it did not work. Can't access LiteSpeed Admin and can't access WordPress sites.
Cold-Egg Administrator Dec 19, 2023 #6 Dec 19, 2023 #6 mmm, have you checked if those file permissions back to the origin after the reinstallation?
lakay New Member Dec 19, 2023 #7 Dec 19, 2023 #7 Update: I was able to reinstall after updating /tmp permissions to 1777. I can access LiteSpeed admin. New Issue: I can't start mySQL. These are the errors:
Update: I was able to reinstall after updating /tmp permissions to 1777. I can access LiteSpeed admin. New Issue: I can't start mySQL. These are the errors:
lakay New Member Dec 19, 2023 #8 Dec 19, 2023 #8 Updated mariadb using your guide here. Worked well! Thanks for the help!
technotic New Member Jun 12, 2024 #9 Jun 12, 2024 #9 Cold-Egg said: mmm, have you checked if those file permissions back to the origin after the reinstallation? Click to expand... It would be great to have a bash script or included in ols1clk.sh, or in the admin/misc directory, that would read the httpd and admin config conf files and reset the $SERVER_ROOT permissions appropriately. Maybe I should post it on the repo
Cold-Egg said: mmm, have you checked if those file permissions back to the origin after the reinstallation? Click to expand... It would be great to have a bash script or included in ols1clk.sh, or in the admin/misc directory, that would read the httpd and admin config conf files and reset the $SERVER_ROOT permissions appropriately. Maybe I should post it on the repo
Cold-Egg Administrator Jun 13, 2024 #10 Jun 13, 2024 #10 I remember package update would fix the permission, not sure if lsup is able to fix it or not. Sure, you can raise an issue on git.
I remember package update would fix the permission, not sure if lsup is able to fix it or not. Sure, you can raise an issue on git.