Greetings,
I had to recover the login to the Ubuntu 18.04 LTS server which OSticket was residing on. I am now able to login to the server but upon the restart the site no longer loads. I'm not sure how it was installed a history of the commands entered are below if that helps shed any light:
sudo ./bitnami-lampstack.run
9 sudo shutdown
10 cd downloads
11 ls
12 cp osticket-v1.15.4.zip /opt/lampstack/apache2/htdocs/
13 sudo cp osticket-v1.15.4.zip /opt/lampstack/apache2/htdocs/
14 cd /opt/lampstack/apache2/htdocs/
15 ls
16 git config --global user.name "xxxxxxx"
17 git config --global user.email "xxxxxxx@gmail.com"
18 git init
19 cd ..
20 sudo chmod +rwx htdocs -r
21 whoami
22 id -gn
23 sudo chown -R osticket_admin:osticket_admin htdocs
24 ls -la
25 sudo chown -R root:root htdocs
26 sudo nano conf/httpd.conf
27 ls -la
28 cat /etc/group
29 usermod -aG daemon daemon
30 sudo usermod -aG daemon osticket_admin
31 sudo usermod -aG daemon root
32 sudo usermod -aG daemon daemon
33 sudo chown -R root:daemon htdocs
34 sudo chown -R root:daemon conf
35 ls -la
36 ../ctlscript.sh start
37 sudo ../ctlscript.sh start
38 cd htdocs
39 git init
40 ls -la
41 cat /etc/group | grep daemon
42 cd ..
43 sudo chmod -R g+rwx conf
44 nano conf/httpd.conf
45 sudo chmod -R g+rwx htdocs
46 ls htdocs
47 ls htdocs -la
48 ls -la
49 cd htdocs/
50 git init
51 sudo chmod -R g+s htdocs
52 ls -la
53 cd ..
54 sudo chmod -R g+s htdocs
55 sudo chmod -R g+s conf
56 sudo chmod -R g+s htdocs daemon
57 nano conf/httpd.conf
58 id -gn
59 logout
60 cd /opt/lampstack/apache2/
61 ls -la
62 cd htdocs
63 ls -la
64 ls img
65 ls img -la
66 git commit . -m "Init"
67 cd ..
68 sudo cp ctlscript.sh /etc/init.d/bitnami-lampstack
69 sudo chmod +x /etc/init.d/bitnami-lampstack
70 sudo nano /etc/init.d/bitnami-lampstack
71 sudo update-rc.d -f bitnami-lampstack defaults
72 sudo update-rc.d -f bitnami-lampstack enable
73 sudo reboot
74 which php
75 cd /opt/lampstack/apache2/htdocs/
76 ls
77 ls -la
78 nano phpinfo.php
79 ls .git
80 mv osticket-v1.15.4.zip osticket.zip
81 mkdir ost-temp
82 mv osticket.zip ost-temp/
83 cd ost-temp
84 ls
85 unzip osticket.zip
86 sudo apt install zip unzip
87 ls
88 unzip osticket.zip
89 ls
90 unzip osTicket-v1.15.4.zip
91 ls
92 cd ..
93 ls
94 rm *.html
95 ls
96 ls bitnami.css
97 rm bitnami.css
98 rm favicon.ico
99 rm -rf img
100 ls
101 cp ost-temp/upload/* .
102 cp -r ost-temp/upload/* .
103 ls
104 sudo shutdown -P now
105 logout
106 cd /opt/lampstack/apache2/htdocs/
107 ls
108 cd include
109 cp ost-sampleconfig.php ost-config.php
110 cd ..
111 ls
112 ls -la
113 git add -A
114 git commit . -m "osTicket initialized, not configured"
115 chmod 0666 include/ost-config.php
116 mysql -u root -p
117 cd ..
118 ls
119 which mysql
120 cd mariadb
121 ls
122 ls bin
123 mariadb -u root -p
124 ./bin/mysql -u root -p
125 sudo shutdown -P now
126 cd /opt/lampstack/apache2/htdocs/include/
127 chmod 0644 ost-config.php
128 shutdown -P now
129 sudo shutdown -P now
130 cd /opt/lampstack/htdocs
131 cd /opt/lampstack/apache2/htdocs
132 ls
133 rm -rf setup
134 sudo shutdown -P now
Any help appreciated.
Thanks,
Andrew