find /usr/share/nginx/html/restyaboard -type d -exec chmod 755 {} \;
find /usr/share/nginx/html/restyaboard -type f -exec chmod 644 {} \;
chmod -R go+w "/usr/share/nginx/html/restyaboard/media"
chmod -R go+w "/usr/share/nginx/html/restyaboard/client/img"
chmod -R go+w "/usr/share/nginx/html/restyaboard/tmp/cache"
chmod +x /usr/share/nginx/html/restyaboard/server/php/shell/main.sh
echo "*/5 * * * * $dir/server/php/shell/main.sh > /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root
After executing the above commands, login to the PostgreSQL and execute the below commands to create Restyaboard database,
DROP USER IF EXISTS restya;CREATE USER restya WITH ENCRYPTED PASSWORD 'hjVl2!rGd';
CREATE DATABASE restyaboard OWNER restya ENCODING 'UTF8' TEMPLATE template0;
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
psql -d restyaboard -f "$dir/sql/restyaboard_with_empty_data.sql" -U restya;
After following above instructions, please load the Restyaboard URL in your browser and please tell us if the Restyaboard login page loading?