Comments (10)
Hi, I realized a difference between your logfile and the console output. In your logfile it says http://wiki.foo.bar
, but the error shows https://wiki.foo.bar
. Is your base uri correctly defined in your env file?
from bookstack.
Hi...Possibly related to this thread?
#5029 (comment)
from bookstack.
Yeah, that reflected error message will generally show when you're hitting the memory limit during image resizing.
You can try to bump the PHP memory_limit
in your environment, which addresses this in most cases.
from bookstack.
Yeah, that reflected error message will generally show when you're hitting the memory limit during image resizing. You can try to bump the PHP
memory_limit
in your environment, which addresses this in most cases.
Thanks! I think you're right, that may be the problem. I will rebuild the image and try again. Later I'll post the result.
Any recommendation regarding memory_limit
, any recommended value?
Thanks!
from bookstack.
@rodgaray The PHP default is 128M
, so doubling to 256M
alleviates most scenarios.
from bookstack.
@rodgaray The PHP default is
128M
, so doubling to256M
alleviates most scenarios.
Hi, thank you for your reply.
I have a problem, the installation is serverless, so I need to rebuild the docker image with the PHP.ini within it. I was able to make a build from the GitHub code but I don't know where the php.ini should be.
from bookstack.
@rodgaray What docker image were you originally using, and do you still have access (or able to use) docker volume mounts?
from bookstack.
@rodgaray Going by the original post, I'm assuming the linuxserver contianer.
They provide a way to customize php.ini
values by default, via the php/php-local.ini
file within the folder/files you have mounted to the /config
path on the container.
from bookstack.
Had the same issue just now, trying to upload a 3.7MB Image (Long scrolling image of a page we need for reference)
We are not running in docker.
Had PHP Memory limit set to 256MB changed to 512MB and the upload worked.
Pretty weird but, it works now!
Environment: PHP 8.3 NGINX Ubuntu 22.04
from bookstack.
I had the same just now, when uplaoding PNG-images 17-21MB.
Using the Linuxserver docker image
from bookstack.
Related Issues (20)
- OIDC with Zitadel SaaS stops working after some time (signature could not be validated using the provided keys) HOT 4
- Cannot get bookstack to load - Manual install HOT 4
- Create new user does not send email HOT 1
- Expired OIDC login button
- Bullet list
- php8.3 .ini upload increase not working HOT 1
- Changelog for first revision is hardcoded as "initial revision" and not respecting the given changelog HOT 1
- Show update date/time in search result
- Session Management HOT 4
- Drawing page HOT 1
- Thumbnail via OIDC HOT 1
- Collapsible Block wont open after getting focused via href-Link
- Clean old revisions HOT 4
- Authentication Fails logged to webGUI and/or PHP/HTTPD
- Updating "thumbnailPhoto" on LDAP/AD does not get reflected in Bookstack after login
- PDF Preview HOT 4
- test_frame_src_csp_header_set fails on customized ALLOWED_IFRAME_SOURCES
- Copy Permissions (to books) only adds permissions, does not remove them HOT 4
- Non PSR-4 compliant test class namespace
- User Avatar Caching HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bookstack.