I have last few days installed and reinstalled aapnel on ubuntu 20.04 and 22.04 but in both cases I am facing issues.
Finally I have decided to use ubuntu 20.04 but following issue comes up:
nginx: [emerg] mkdir() "/dev/shm/nginx-cache/wp" failed (2: No such file or directory)
and
nginx: [emerg] open() "/www/server/nginx/conf/enable-php.conf" failed (2: No such file or directory) in /www/server/nginx/conf/nginx.conf:86
I have solved tge missing enable-php.conf by uploading this files from old backup.
but
nginx: [emerg] mkdir() "/dev/shm/nginx-cache/wp" failed (2: No such file or directory) still exists, eventhough the folder does exists at /dev/shm/nginx-cache/wp
Another error I get is:
Starting nginx... nginx (pid 2569 2568 2567 2566 2565 2564 2563 2562 2561 2560) already running.
I have to manually keep killing the PID's and restart nginx. it happens after every reboot.
Please help me ASAP so I can setup my sites.