luceos I got into cd ~/www/forumspace.ru and entered composer install. Here's what the terminal says:
-bash-4.2$ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 updates, 0 removals
- Downloading zerosonesfun/composer-preview (1.3)
Failed to download zerosonesfun/composer-preview from dist: The "https://api.github.com/repos/zerosonesfun/flarum-ext-composer-preview/zipball/50ab4a51229f3e9d2d7dfff3f22dd6dd75501301"
file could not be downloaded (HTTP/2 404 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip","status":"404"}
Now trying to download from source
- Installing zerosonesfun/composer-preview (1.3): Cloning 50ab4a5122
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
When working with _public_ GitHub repositories only, head here to retrieve a token:
https://github.com/settings/tokens/new?scopes=&description=Composer+on+server203.hosting.reg.ru+2024-07-28+1822
This token will have read-only permission for public information only.
When you need to access _private_ GitHub repositories as well, go to:
https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+server203.hosting.reg.ru+2024-07-28+1822
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
Tokens will be stored in plain text in "/var/www/Hidden/data/.config/composer/auth.json" for future use by Composer.
For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth
Token (hidden):
At the moment, I have restored the site from a backup. But how to solve this issue is still interesting