osamalovirboy Posted 9 hours ago Posted 9 hours ago Hello HelioHost Support Team, My account username: osamalovirboy Affected site / subscription: turkiii.helioho.st I uploaded a PHP/Laravel application to my hosting via Plesk File Manager, extracted the files into httpdocs, and now I get a "504 Gateway Time-out" in the browser. I am a beginner and need your help to make the site run correctly. The Plesk control shows the Document Root field locked (value: httpdocs) and I cannot change it. Please assist with the following items (step-by-step or perform them on my behalf if possible): 1) Document Root - Please change the Document Root for this subscription to: `httpdocs/public` - If you cannot change it, please advise and perform the secure alternative: move the **contents** of `public` into `httpdocs` and update index.php autoload paths correctly (or tell me you will do that). 2) PHP version and extensions - Confirm the PHP version assigned to my site (I saw PHP 8.3.21 in Plesk — please confirm). - Ensure the following PHP extensions are enabled for this domain: `pdo_mysql, pdo, mbstring, fileinfo, openssl, tokenizer, xml, ctype, json, bcmath, gd`. - If any extension is missing, please enable it or tell me the steps. 3) File permissions (storage & cache) - Set the following permissions (recursively) on the app directories: - `storage/` → 775 (owner write) - `bootstrap/cache/` → 775 - Confirm these were applied. 4) Database & .env - Confirm the MySQL database was created successfully and that I can access phpMyAdmin. - If you prefer, I can create the DB and user; otherwise please confirm the DB name and username assigned. - Confirm that `.env` file is in place and that `APP_URL` is set to `https://turkiii.helioho.st`. 5) APP_KEY and Composer - Please run (or allow me to run) the following commands from the project root: - `composer install` (if vendor is missing) - `php artisan key:generate` - `php artisan config:cache` - `php artisan route:cache` - `php artisan view:clear` - If you need the exact PHP binary path for Plesk, please use `/usr/bin/php` or the appropriate PHP CLI path on the server. 6) Scheduled tasks / Cron - Enable cron / Scheduled Task that can call a URL or run curl/wget. Example cron command for scheduled posting: ``` * * * * * /usr/bin/curl -s "https://turkiii.helioho.st/post/cron" > /dev/null 2>&1 ``` - Please confirm whether `curl` or `wget` is available for scheduled tasks. 7) Logs and cause of 504 - Please check the latest webserver / PHP / application error logs for `turkiii.helioho.st` and paste the last 20 lines of relevant errors (or tell me what you found). The 504 appears immediately after I uploaded the app — I suspect the document root or missing app setup is the cause. 8) Security / .env protection - Ensure `.env` is not accessible via the web (deny public access to `.env`) and confirm `.htaccess` rules or server-level rules applied to protect sensitive files. 9) If you perform the changes - If your team can perform the above changes, please reply with: - Which steps you performed - The exact Document Root path set - DB name and DB user (so I can update `.env` if necessary) - Confirmation that APP_KEY was generated - Confirmation that cron is available and working - Any remaining manual steps I must run via Plesk File Manager I am new to this, so please provide brief step-by-step feedback or do the fixes for me if possible. Thank you very much for your assistance — I can provide any screenshots or additional details you need. Best regards, Osama (username: osamalovirboy) email: [osamalovirboy@gmail.com] Quote
KazVee Posted 1 hour ago Posted 1 hour ago Looks like you raised a duplicate request by email, which has been replied to. Please refer here. Please do not create duplicate forum threads for the same issue. All helpers are unpaid volunteers who donate their time to assist others. Asking the same question in multiple posts can lead to wasted effort and slower support. For guidance on where and how to ask for help, see: https://wiki.helionet.org/FAQ#Where_do_I_ask_for_help? To understand how Community-Powered Technical Support works, visit: https://wiki.helionet.org/FAQ#How_does_community-powered_support_work? For support response timelines (SLAs and ETAs), check: https://wiki.helionet.org/ETA Posting the same question multiple times may delay answers to your request. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.