Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

api server internal error http 500 #139

Open
justemu opened this issue Aug 7, 2021 · 0 comments
Open

api server internal error http 500 #139

justemu opened this issue Aug 7, 2021 · 0 comments

Comments

@justemu
Copy link

justemu commented Aug 7, 2021

steps to reproduce:

  1. sudo docker-compose up -d
  2. use anything to visit the api server. e.g. curl http://ipaddress:8080. It will return an internal server error or http 500.
  3. docker-compose exec app-zotero /bin/bash ; and more /var/log/apache2/error.log; here is the caught error:

[Thu Aug 05 23:38:51.744664 2021] [php7:warn] [pid 291] [client 192.168.2.211:50101] PHP Warning: require(/var/www/zotero/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/zotero/include/header.inc.php on line 142
[Thu Aug 05 23:38:51.744705 2021] [php7:error] [pid 291] [client 192.168.2.211:50101] PHP Fatal error: require(): Failed opening required '/var/www/zotero/vendor/autoload.php' (include_path='../include') in /var/www/zotero/include/header.inc.php on line 142
[Thu Aug 05 23:43:44.313958 2021] [php7:error] [pid 293] [client 192.168.2.211:61184] PHP Fatal error: Uncaught Error: Class 'Aws\Sdk' not found in /var/www/zotero/include/header.inc.php:239\nStack trace:\n#0 {main}\n thrown in /var/www/zotero/include/header.inc.php on line 239

It seems a bug in wireding up with Aws\Sdk. or it there file-missing in the vendor directory?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant