-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Issue with Printing Sales Invoices and PDF Generation in BigCapital #770
Comments
I'm not having this issue so it would seem to be something specific with your setup. From my understanding bigcapital uses a Gotenberg container for generating pdf files. Make sure that container is running and you have permission to use it. |
I checked, and the Gotenberg container is running. Please have a look at it. Additionally, I’ve provided the .env and docker-compose.prod.yml file below. Let me know if any edits are needed. All CONTAINERS DatabaseDB_HOST=localhost System databaseSYSTEM_DB_NAME=bigcapital_system SYSTEM_DB_USER=SYSTEM_DB_PASSWORD=SYSTEM_DB_NAME=SYSTEM_DB_CHARSET=Tenant databasesTENANT_DB_NAME_PERFIX=bigcapital_tenant_ TENANT_DB_HOST=TENANT_DB_USER=TENANT_DB_PASSWORD=TENANT_DB_CHARSET=ApplicationBASE_URL=http://45.10.160.160:8000 Jobs MongoDBMONGODB_DATABASE_URL=mongodb://localhost/bigcapital App proxyPUBLIC_PROXY_PORT=8000 AgendashAGENDASH_AUTH_USER=agendash Sign-up restrictionsSIGNUP_DISABLED=false Sign-up Email ConfirmationSIGNUP_EMAIL_CONFIRMATION=false API rate limit (points,duration,block duration).API_RATE_LIMIT=120,60,600 Gotenberg API for PDF printing - (production).GOTENBERG_URL=http://gotenberg:3000 Gotenberg API - (development)GOTENBERG_URL=http://localhost:9000GOTENBERG_DOCS_URL=http://host.docker.internal:3000/public/Exchange Rate ServiceEXCHANGE_RATE_SERVICE=open-exchange-rate Open Exchange RateOPEN_EXCHANGE_RATE_APP_ID= The Plaid environment to use ('sandbox' or 'development').https://plaid.com/docs/#api-hostPLAID_ENV=sandbox Your Plaid keys, which can be found in the Plaid Dashboard.https://dashboard.plaid.com/account/keysPLAID_CLIENT_ID= https://docs.lemonsqueezy.com/guides/developer-guide/getting-started#create-an-api-keyLEMONSQUEEZY_API_KEY= S3 documents and attachmentsS3_REGION=US version: '3.3' services: webapp: server:
database_migration: mysql: mongo: redis: gotenberg: Volumesvolumes: mongo: redis: Networksnetworks: |
I am new to docker so I might be wrong but I see two proxies running (envoyproxy and bigcapital proxy), that might be a problem. Also, the database migration container I believe should run once on startup then exit however, I see two database migration listings one of which looks to be stuck on gotenberg command and still running after two days. |
I am experiencing an issue when trying to print a document, such as a sales invoice. A new popup appears and keeps loading indefinitely. Eventually, I receive an error message saying:
"Something went wrong, please try again."
Additionally, the system is not generating PDFs for invoices.
For context, I have installed BigCapital on Ubuntu 22.04 using Docker.
Could you please assist me in resolving these issues?
Thank you!
The text was updated successfully, but these errors were encountered: