-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied error when trying to use composer to update a static platform or trying to cd into a directory or use sftp! #1843
Comments
I also now find myself unable to cd /static/platform_name: Skynet Agent v.BOA-5.5.0-lts on Devuan/daedalus welcomes you aboard
o1.ftp: |
I have a similar behavior today executing
This weeks' updates are very unstable, breaking and fixing drush & composer constantly.. |
What would the proper command be to put the actual location of php (/opt/php81/bin/php or other version) to create symlinks? Or is the php that composer requires installed elsewhere on teh BOA vps? |
Hello, Could you please run the following command and let us know if it resolves the issue?
We’ve recently introduced a new branches structure to prevent such issues from recurring. For more details, you can refer to: We sincerely apologize for any inconvenience or disruption this may have caused. |
That did the trick. Now drush seems to work again |
I have to reopen because on a different vps - I have the same problem, and repeated running of o1.ftp:~$ cd static I will try a few more baracuda up-lts system and see if that doesn't correct the problem. This is not fixed for this VM: server1: Aegir BOA-5.5.0-lts on Devuan/daedalus x86_64 _XSY System Uptime/Load/Kernel/CPU/Memory/Disk Report _XSU System Uptime: up 22 minutes _XSE Key Services Uptime Report _XSE Running services: _XSE sshd is running for 5 minutes. _XSE Not running services: _XSE nginx is not running (PID file not found). Sat Nov 30 02:04:36 PM UTC 2024 / Devuan.chimaera x86_64 Linux KVM guest / Aegir lts / Barracuda BOA-5.5.0-lts / Nginx 1.27.2 / PHP-MI 7.4 8.1 8.2 8.3 / PHP-SE / FPM 8.3 / CLI 8.3 / Percona-5.7.44 localhost |
After doing 4 barracuda up-lts system updates, with a reboot after each and running the command after each reboot, I finally decided to do a full "barracuda up-lts" update and it errored: BOA [19:03:06] ==> INFO: Installing Aegir Provision backend... So on this VPS I still can't even #o1.ftp:# cd static because it is forbidden! |
Try this:
|
Hello, running those two commands gives this: server1: BOA Meta Installers setup completed The problem still exists: o1.ftp: It does not try to install pip, etc. like it did on teh other vps. |
I'll give you one more bit of information that may help you fix this issue - or whatever issues are currently affecting ssh/lshell , etc. I use an ssh client that will also open an sftp connection when ssh in. For years, when ssh in as the o1.ftp user, both the terminal and the sftp put me at the same place /data/disk/o1 - so I am looking at teh /static/ directory; however, for 3 or 4 days now, when I ssh in as o1.ftp, the terminal is where it should be, but the sftp is at the server root - and immediately throws an error, since it doesn't have permissions to see the root of the server, and thus cannot be used at all. On a vps which has this erronious behavior: Aegir BOA-5.5.0-lts on Devuan/daedalus x86_64 On a vps where the old working-properly behavior still exists (that is, the sftp for an o1.ftp ssh in puts me at /data/disk/o1): the last update was on Nov 9 2024 - boa 5.5.0-lts, and pure-ftp is NOT running, and : |
I'm still having problems here after numerous up-lts barracuda (with aegir) and octopus. Could you please tell me if the directory /data/disk/o1 is suppossed to be set to: Thank you. |
For example, when ssh in as o2 user, I see this in the Octopus GUI fo the path of an octopus installed platform: /data/disk/o2/distro/105/localgov-3.0.11-10.3.6/web but I cannot see that directory distro in sftp and cannot cd to it either, so I will not be able to use the ssh terminal to go to the platform root, or go to the sites root if necessary to use drush, for example. How can this be? |
You should not enable SSH for the Aegir system user for security reasons. You can access all created platforms from the limited shell user home via the |
It still isn't working as of today's barracuda + octopus up-lts. Today is Dec 22 2024. I cannot see any subdirectory /distro in data/disk/o2/ - and that is the path of the installed boa platforms, and in the subdirectory /platforms there are 2 subdirectories (105 and 106) both of which have ONLY the empty sub-directory "keys" in them. I have to login as root in order to see the /distro subdirectory where the BOA platforms are installed. Do you want me to try installing a new BOA platform and see if it gets installed in /platforms instead of /distro ? I did NOT install any new platforms with todays up-lts. |
o2.ftp:~$ cd static/thunder7
o2.ftp:thunder7$ composer update -W
/usr/bin/env: ‘php’: Permission denied
Skynet Agent v.BOA-5.5.0-lts on Devuan/daedalus welcomes you aboard
boa info more is here:
https://gist.github.com/EdNett/4b9c4069a193f53cf741dc2447a30aac
This is on a dedicated - and I got the message that I can't expect ***ANY SUPPORT *** - yet I'm posting this in an effort to help. I am absolutely terrified to have this last server - my main production server go down so I cannot attempt an upgrade, and it appears I can no longer manage sites on it.
Best,
Ed
The text was updated successfully, but these errors were encountered: