Solved, thank you
M
Minettyx
@Minettyx
Posts
-
Image upload crash the site -
Image upload crash the siteAfter trying to upload an image the site crash and restart here is the logs:
2019-07-16T20:33:33.329Z [18909] - [31merror[39m: message=/lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /pash/to/nodebb/node_modules/sharp/build/Release/../../vendor/lib/libpng16.so.16), stack=Error: /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /path/to/nodebb/node_modules/sharp/build/Release/../../vendor/lib/libpng16.so.16) at Error (native) at Object.Module._extensions..node (module.js:604:18) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object.<anonymous> (/path/to/nodebb/node_modules/sharp/lib/constructor.js:10:15) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object.<anonymous> (/path/to/nodebb/node_modules/sharp/lib/index.js:3:15) 2019-07-16T20:33:33.332Z [18909] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2019-07-16T20:33:33.336Z [18909] - [32minfo[39m: [app] Web server closed to connections. 2019-07-16T20:33:33.342Z [18909] - [32minfo[39m: [app] Database connection closed. 2019-07-16T20:33:33.343Z [18909] - [32minfo[39m: [app] Shutdown complete. [cluster] Child Process (18909) has exited (code: 1, signal: null) [cluster] Spinning up another process... 2019-07-16T20:33:33.839Z [18994] - [32minfo[39m: Initializing NodeBB v1.10.2 http://mysite.com:2468 [benchpressjs] Unable to build or find a suitable native module, falling back to JS version 2019-07-16T20:33:36.702Z [18994] - [32minfo[39m: [socket.io] Restricting access to origin: http://mysite.com:* Tue, 16 Jul 2019 20:33:36 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28 Tue, 16 Jul 2019 20:33:36 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28 2019-07-16T20:33:37.176Z [18994] - [32minfo[39m: Routes added 2019-07-16T20:33:37.184Z [18994] - [32minfo[39m: NodeBB Ready 2019-07-16T20:33:37.193Z [18994] - [32minfo[39m: Enabling 'trust proxy' 2019-07-16T20:33:37.200Z [18994] - [32minfo[39m: NodeBB is now listening on: 0.0.0.0:2468