• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Problem with node start

Qusay

Basic Pleskian
Server operating system version
Debian 10
Plesk version and microupdate number
18.0.51
I have this problem
to started this app
and all thing it's fine
just that give me
[21:23:12] Error: EACCES: permission denied, unlink '/var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default/subscription.ejs'
at Object.unlinkSync (node:fs:1808:3)
at Function.rimrafSync [as sync] (/var/www/vhosts/golden-squad.com/donate.golden-squad.com/node_modules/rimraf/rimraf.js:303:17)
at file:///var/www/vhosts/golden-squad.com/donate.golden-squad.com/node_modules/del/index.js:130:11
at Array.map (<anonymous>)
at deleteSync (file:///var/www/vhosts/golden-squad.com/donate.golden-squad.com/node_modules/del/index.js:122:29)
at clean (file:///var/www/vhosts/golden-squad.com/donate.golden-squad.com/gulpfile.mjs:19:12)
at bound (node:domain:433:15)
at runBound (node:domain:444:12)
at asyncRunner (/var/www/vhosts/golden-squad.com/donate.golden-squad.com/node_modules/async-done/index.js:55:18)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
[21:23:12] 'default' errored after 38 ms

Screenshot 2023-04-02 at 22-23-19 Node.js on donate.golden-squad.com - Plesk Obsidian 18.0.51.png
 
It states right there that you don't have permission. Make sure the file has the correct permissions set and is set for the user's system account for the files and folders.
 
What are permissions and ownerships of /var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default/subscription.ejs?
# ll /var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default/subscription.ejs
 
Let's try again. Please post the output of
# ll /var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default/subscription.ejs
 
if i use ssh its work fine with out any problem this problem if i using app in panel
Let's try again. Please post the output of
# ll /var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default/subscription.ejs
 
We still have not seen ownership and group of the file ...
sorry permission file its 644
error
[01:53:29] Error: EACCES: permission denied, unlink '/var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default/subscription.ejs'
at Object.unlinkSync (node:fs:1808:3)
at Function.rimrafSync [as sync] (/var/www/vhosts/golden-squad.com/donate.golden-squad.com/node_modules/rimraf/rimraf.js:303:17)
at file:///var/www/vhosts/golden-squad.com/donate.golden-squad.com/node_modules/del/index.js:130:11
at Array.map (<anonymous>)
at deleteSync (file:///var/www/vhosts/golden-squad.com/donate.golden-squad.com/node_modules/del/index.js:122:29)
at clean (file:///var/www/vhosts/golden-squad.com/donate.golden-squad.com/gulpfile.mjs:19:12)
at bound (node:domain:433:15)
at runBound (node:domain:444:12)
at asyncRunner (/var/www/vhosts/golden-squad.com/donate.golden-squad.com/node_modules/async-done/index.js:55:18)
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
[01:53:29] 'default' errored after 36 ms
in file

Code:
<%- include('partials/header.ejs') %>
<div class="container">
    <div class="row info">
        <div class="col s12">
            <h3>
                <%= translate('SUBSCRIPTION_TITLE') %>
            </h3>
            <p>
                <%= translate('SUBSCRIPTION_DESCRIPTION') %>
            </p>
        </div>
    </div>
    <div class="row">
        <div class="col s12 m12 l12">
            <div class="card subscription">
                <div class="card-content">
                    <span class="card-title"><%= translate('SUBSCRIPTION_DETAILS_TITLE') %></span>
                    <% if (subscription.state === 'PENDING') { %>
                        <div class="pending"><%= translate('SUBSCRIPTION_DETAILS_STATUS_PENDING_DESCRIPTION') %></div>
                    <% } %>
                    <div class="details">
                        <div><%= translate('SUBSCRIPTION_DETAILS_STATUS') %></div>
                        <div>
                            <% if (subscription.state === 'PENDING') { %>
                                <span class="pending"><%= translate('SUBSCRIPTION_DETAILS_STATUS_PENDING') %></span>
                            <% } else if (subscription.state === 'ACTIVE') { %>
                                <span class="active"><%= translate('SUBSCRIPTION_DETAILS_STATUS_ACTIVE') %></span>
                            <% } else { %>
                                <span class="cancelled"><%= translate('SUBSCRIPTION_DETAILS_STATUS_CANCELLED') %></span>
                            <% } %>
                        </div>
                        <div><%= translate('SUBSCRIPTION_DETAILS_PACKAGE_NAME') %></div>
                        <div>
                            <%= plan.basePackage.name %>
                        </div>
                        <div><%= translate('SUBSCRIPTION_DETAILS_PACKAGE_PRICE') %></div>
                        <div>
                            <%= plan.basePackage.price.currency %> <%= plan.basePackage.price.amount %>
                        </div>
                        <div><%= translate('SUBSCRIPTION_DETAILS_CYCLE') %></div>
                        <div>
                            <%= plan.basePackage.subscription %>
                        </div>
                    </div>
                </div>
                <div class="card-action">
                    <% if (subscription.state === 'PENDING' && locals.pending) { %>
                        <a href="<%= locals.pending.approvalLink %>" class="btn waves-effect waves-light">
                            <%= translate('SUBSCRIPTION_APPROVE') %>
                        </a>
                    <% } %>
                    <% if (subscription.state === 'ACTIVE' || subscription.state === 'PENDING') { %>
                        <form method="post" class="inline">
                            <input type="hidden" name="_csrf" value="<%= csrfToken %>">
                            <button class="btn waves-effect waves-light" name="cancel" type="submit">
                                <%= translate('SUBSCRIPTION_CANCEL') %>
                            </button>
                        </form>
                    <% } %>
                </div>
            </div>
            <div class="card subscription-history">
                <div class="card-content">
                    <span class="card-title"><%= translate('SUBSCRIPTION_HISTORY_TITLE') %></span>
                    <div class="details">
                        <% history.forEach(function (h) { %>
                            <div><%= h.created %></div>
                            <div><%= h.payment.transactionId %></div>
                        <% }) %>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<%- include('partials/footer.ejs') %>
 
I don't think you're understanding...

In your SSH session, issue the following command:

Bash:
ll /var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default/subscription.ejs

Provide the output of what that gives you.
 
I don't think you're understanding...

In your SSH session, issue the following command:

Bash:
ll /var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default/subscription.ejs

Provide the output of what that gives you.
root@golden-squad:~# ll /var/www/vhosts/
golden-squad.com/donate.golden-squad.com
/dist/themes/default/subscription.ejs
-bash: ll: command not found
root@golden-squad:~#
 
root@golden-squad:~# ll /var/www/vhosts/
golden-squad.com/donate.golden-squad.com
/dist/themes/default/subscription.ejs
-rw-r--r-- 1 golden-squad.com_eshfo515q8
j psacln 3798 Apr 5 03:22 /var/www/vhos
ts/golden-squad.com/donate.golden-squad.
com/dist/themes/default/subscription.ejs
 
One cause could be that the file may need group write permissions, because the unlink is not a read-only operation. So changing permissions to at least 664 instead of 644 could help. Personally I'd just try 755 to rule such things out. Could you try that please?
 
One cause could be that the file may need group write permissions, because the unlink is not a read-only operation. So changing permissions to at least 664 instead of 644 could help. Personally I'd just try 755 to rule such things out. Could you try that please?
im try
664
755
and
764
seem problem
 
Is that file the only file in that directory and can the path be walked with correct permissions? It could be thinkable that the file itself has correct permissions, but a directory upwards does not. And finally an idea could be to remove the fully qualified path starting at the server root and to replace it with a relative path that starts (without slash /) where the app is rooted.
 
Is that file the only file in that directory and can the path be walked with correct permissions? It could be thinkable that the file itself has correct permissions, but a directory upwards does not. And finally an idea could be to remove the fully qualified path starting at the server root and to replace it with a relative path that starts (without slash /) where the app is rooted.
Code:
ll /var/www/vhosts/golden-squad.com/donate.golden-squad.com/dist/themes/default
total 48
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln 1453 Apr  5 03:22 account.ejs
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln  902 Apr  5 03:22 error.ejs
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln  824 Apr  5 03:22 login.ejs
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln  843 Apr  5 03:22 login_error.ejs
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln 2032 Apr  5 03:22 missing_steam_connection.ejs
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln 2054 Apr  5 03:22 order-overview.ejs
drwxr-xr-x 2 root                         root   4096 Apr  7 14:51 partials
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln  935 Apr  5 03:22 payment_steam_mismatch.ejs
drwxr-xr-x 3 root                         root   4096 Apr  7 14:51 payments
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln  312 Apr  5 03:22 privacy-policy.ejs
drwxr-xr-x 2 root                         root   4096 Apr  7 14:51 steps
-rw-r--r-- 1 golden-squad.com_eshfo515q8j psacln 3798 Apr  5 03:22 subscription.ejs
 
You have to clean up the ownership of the files and folders so every file and folder has the golden-squad.com_eshfo515q8j:psacln rights. Otherwise, you get stuck in this trial-and-error mode.

Correcting the ownership can be done with this command:
Code:
# plesk repair fs donate.golden-squad.com -v
 
You have to clean up the ownership of the files and folders so every file and folder has the golden-squad.com_eshfo515q8j:psacln rights. Otherwise, you get stuck in this trial-and-error mode.

Correcting the ownership can be done with this command:
Code:
# plesk repair fs donate.golden-squad.com -v
@maartenv good idea, probably also needed for the upper directories as the lower ones are root-owned ...
its now fixed thanks
but needed one more help
i want anyone open this url like
to open app
with out show any port for client
so if hey now a port
example
they sent it him to
https://ex.example.com
how can i do this please
 
Back
Top