Hello @ryan.dix ,
We are facing an issue while uploading documents/ Manuscript in the test server, could you please assist us with how to proceed? We’ve attached screenshots that show the error details.
Tried to upload a Manuscript which is a pdf Document.
Not able to upload, and this error was shown (Please refer Screenshot) with the details of the error in the page.
Please let me know if you need any further details.
Thanks,
Beth
I tried this file and it seems to convert fine. Which likely points to an issue with the deployment.
Do you have server logs that you can share here? What happens at the moment of failure is of interest.
Also a sanity check: Have you set up an S3 bucket or equivalent? I’m checking the code and the first thing it does is upload the file in the bucket. If you haven’t set this up, please do and try again. If you have, can you check if the file has been uploaded to the bucket?
Hi @yannis
The link used by the team for installation is :- (kotahi / Kotahi · GitLab)
Is this the full guide? Or do you have any other step by step guide for initial setup please?
To run the app in production you’ll need some things running beforehand.
The 3 microservices
Pagedjs: responsible for creating pdf files
Xsweet: responsible for conversion of docx files to html (so that it can be editable in the in-app word processor)
Anystyle: responsible for citation parsing
Each of these microservices will needs its own postgres database running.
These services are connected to the server via environment variable files that start with SERVICE_. The environment variables tell kotahi server where the service is located (ie. its url) and the credentials that should be used. If you don’t have credentials for a service, you need to generate them from the service itself, then copy paste them into your variables. See the creating credentials section here for more details: cokoapps / pagedjs · GitLab. The process is the same for each service.
Once those are up and running, you’ll need to connect kotahi server to object storage for uploading files to the cloud. This is usually done with an out-of-the-box solution like AWS S3, Google Cloud Storage or any S3-compatible solution. You could also roll out self-hosted storage with something like minio like we do for development. The connection between the server and storage is handled by the S3_ environment variable files.
Finally, you’ll need a database for kotahi server itself (handled by the POSTGRES_ variables).
Can we start by checking that the above is done and working correctly? If it does, and you’re still encountering an error, do you have any server side error logs from (a) when the server starts or (b) from when you’re uploading the pdf?
I’ll work on getting new docs up in the near future.