Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

renec112's avatar

Error installing bitbucket Repository on digital ocean server

Hi guys :) I'm trying to install a bitbucket repository on a digital ocean server. Everything should be fine. However, when i press "isntall reposetory" on forge, i get the folowing error:

    We were unable to install a project on your server(server)

And the error output is:

Cloning into 'default'...
Warning: Permanently added the RSA host key for IP address '104.192.143.2' to the list of known hosts.
> php artisan clear-compiled
PHP Warning:  require(/home/forge/default/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/forge/default/bootstrap/autoload.php on line 17

Warning: require(/home/forge/default/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/forge/default/bootstrap/autoload.php on line 17
PHP Fatal error:  require(): Failed opening required '/home/forge/default/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/default/bootstrap/autoload.php on line 17

Fatal error: require(): Failed opening required '/home/forge/default/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/default/bootstrap/autoload.php on line 17
Script php artisan clear-compiled handling the pre-update-cmd event returned with an error

                                                                                                                                                                                                          
  [RuntimeException]                                                                                                                                                                                      
  Error Output: PHP Warning:  require(/home/forge/default/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/forge/default/bootstrap/autoload.php on line 17    
  PHP Fatal error:  require(): Failed opening required '/home/forge/default/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/default/bootstrap/autoload.php on line 17  
                                                                                                                                                                                                          

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...

Would love your input. What do you think i need to do?

0 likes
5 replies
renec112's avatar

When a i do a connection test on the button in forge, it returns success..

rossbearman's avatar
Level 4

Have you run composer install on the server, or used Forge's dependency installer? It looks like you're just missing your vendor files.

MadMikeyB's avatar

Try running these three commands. composer install Gets your /vendor/ from latest sources.

composer dumpautoload Regenerates auto load files (shouldn't really need to but just in case)

php artisan clear-compiled Clears cached stuff (in essence)

renec112's avatar

Thanks man i'm trying to do this, but getting error with the SSH key. Will get back soon, thanks for the input ! :)

Please or to participate in this conversation.