[SOLVED] Fresh install: Can't get into system folder & can't upload small photos

Hi guys, trying to troubleshoot consistently failing image uploads (jpgs, webps, all 2mb or less).

Anyone knows why I can’t get into this folder?

root@alpenzeiger:/var/www/alpenzeiger# ls -a
.  ..  .ghost-cli  config.production.json  content  current  system  versions
root@alpenzeiger:/var/www/alpenzeiger# cd /system
-bash: cd: /system: No such file or directory

Clipboard04

And perhaps you may have an idea why I can’t upload images?

You can’t cd into it because you need to type cd system not cd /system (which would attempt to open a nonexistant /system folder on the filesystem root, rather than /var/www/apenzeiger/system ).

For help debugging image uploads, you’re going to need to provide more info.

  • How did you install Ghost?
  • What is proxying in front of Ghost?
  • What error message occurs in the browser console when you try to upload images? (F12 to access dev tools, including the console.)
  • What error message occurs in Ghost when you try to upload an image (if any) - look in (yourghostfolder)/content/logs
  • What method are you using for trying to upload images? (Are you trying to upload a post featured image or other image from within the editor, or using the API, or…?)
1 Like

Thanks Cathy, here my best attempt to answer your questions, please let me know if I’m missing anything;

Ghost Version: 5.100.1
Environment: production
Database: mysql8

Environment
Ubuntu 22.04.5 LTS, Release: 22.04
nginx/1.18.0 (Ubuntu)
mysql Ver 8.0.40-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))
node.js v20.18.0
systemd 249 (249.11-0ubuntu3.12)

Server
DigitalOcean droplet: 2GB RAM, 1vCPU, 25GB

Proxy: None

Errors

Editor:

Objectcontext: “Image processing failed Sharp wasn’t installed”

ghost/:1 <meta name="apple-mobile-web-app-capable" content="yes"> is deprecated. Please include <meta name="mobile-web-app-capable" content="yes">
ghost/api/admin/users/me/?include=roles:1 
        
        
       Failed to load resource: the server responded with a status of 403 ()
ghost/api/admin/users/me/?include=roles:1 
        
        
       Failed to load resource: the server responded with a status of 403 ()
ghost-7ab268fc7cd7884eef525145d5fbb501.js:2741 post state changed: root.loaded.saved Object
ghost/api/admin/images/upload/:1 
        
        
       Failed to load resource: the server responded with a status of 400 ()
ghost-7ab268fc7cd7884eef525145d5fbb501.js:1676 o: Request was formatted incorrectly.
    at p._createCorrectError (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:6758:41)
    at p.handleResponse (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:6754:205)
    at p.handleResponse (https://alpenzeiger.com/ghost/assets/ghost-7ab268fc7cd7884eef525145d5fbb501.js:4107:167)
    at Object.<anonymous> (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:6743:70)
    at l (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:201:118)
    at Object.fireWith [as rejectWith] (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:202:698)
    at M (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:480:468)
    at XMLHttpRequest.<anonymous> (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:491:206)
h @ ghost-7ab268fc7cd7884eef525145d5fbb501.js:1676
ghost-7ab268fc7cd7884eef525145d5fbb501.js:1688 Objectcontext: "Image processing failed Sharp wasn't installed"fileName: "Clipboard04.jpg"message: "Request not understood error, cannot upload image."[[Prototype]]: Object
upload @ ghost-7ab268fc7cd7884eef525145d5fbb501.js:1688
koenig-lexical.umd.js?v=a724a31dfe:1334 No <img> element found in draggable
createGhostElement @ koenig-lexical.umd.js?v=a724a31dfe:1334
koenig-lexical.umd.js?v=a724a31dfe:1360 container.createGhostElement did not return an element Object ObjectghostElement: undefined[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
_initiateDrag @ koenig-lexical.umd.js?v=a724a31dfe:1360
ghost-7ab268fc7cd7884eef525145d5fbb501.js:2803 showing leave editor modal Object
ghost/api/admin/images/upload/:1 
        
        
       Failed to load resource: the server responded with a status of 400 ()
index-f6338b55.mjs:19711 Xr: Something went wrong while loading images, please try again.
    at lk (https://alpenzeiger.com/ghost/assets/admin-x-settings/index-f6338b55.mjs:19560:575)
(anonymous) @ index-f6338b55.mjs:19711
ghost-7ab268fc7cd7884eef525145d5fbb501.js:2741 post state changed: root.loaded.saved Object
ghost/api/admin/images/upload/:1 
        
        
       Failed to load resource: the server responded with a status of 400 ()
ghost-7ab268fc7cd7884eef525145d5fbb501.js:1676 o: Request was formatted incorrectly.
    at p._createCorrectError (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:6758:41)
    at p.handleResponse (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:6754:205)
    at p.handleResponse (https://alpenzeiger.com/ghost/assets/ghost-7ab268fc7cd7884eef525145d5fbb501.js:4107:167)
    at Object.<anonymous> (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:6743:70)
    at l (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:201:118)
    at Object.fireWith [as rejectWith] (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:202:698)
    at M (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:480:468)
    at XMLHttpRequest.<anonymous> (https://alpenzeiger.com/ghost/assets/vendor-88cd9f5cf5eba65221e2d2a636531eaa.js:491:206)
h @ ghost-7ab268fc7cd7884eef525145d5fbb501.js:1676
ghost-7ab268fc7cd7884eef525145d5fbb501.js:1688 Objectcontext: "Image processing failed Sharp wasn't installed"fileName: "Clipboard04.jpg"message: "Request not understood error, cannot upload image."[[Prototype]]: Objectconstructor: ƒ Object()assign: ƒ assign()length: 2name: "assign"arguments: (...)caller: (...)[[Prototype]]: ƒ ()apply: ƒ apply()length: 2name: "apply"arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]arguments: (...)bind: ƒ bind()call: ƒ call()caller: (...)constructor: ƒ Function()length: 0name: ""toString: ƒ toString()Symbol(Symbol.hasInstance): ƒ [Symbol.hasInstance]()get arguments: ƒ ()set arguments: ƒ ()get caller: ƒ ()set caller: ƒ ()[[FunctionLocation]]: [[Prototype]]: Object[[Scopes]]: Scopes[0][[Scopes]]: Scopes[0]create: ƒ create()defineProperties: ƒ defineProperties()defineProperty: ƒ defineProperty()entries: ƒ entries()freeze: ƒ freeze()fromEntries: ƒ fromEntries()getOwnPropertyDescriptor: ƒ getOwnPropertyDescriptor()getOwnPropertyDescriptors: ƒ getOwnPropertyDescriptors()getOwnPropertyNames: ƒ getOwnPropertyNames()getOwnPropertySymbols: ƒ getOwnPropertySymbols()getPrototypeOf: ƒ getPrototypeOf()groupBy: ƒ groupBy()hasOwn: ƒ hasOwn()is: ƒ is()isExtensible: ƒ isExtensible()isFrozen: ƒ isFrozen()isSealed: ƒ isSealed()keys: ƒ keys()length: 1name: "Object"preventExtensions: ƒ preventExtensions()prototype: {__defineGetter__: ƒ, __defineSetter__: ƒ, hasOwnProperty: ƒ, __lookupGetter__: ƒ, __lookupSetter__: ƒ, …}seal: ƒ seal()setPrototypeOf: ƒ setPrototypeOf()values: ƒ values()arguments: (...)caller: (...)[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
upload @ ghost-7ab268fc7cd7884eef525145d5fbb501.js:1688

Trying to upload a publication logo:
image
image

production.error.log

{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"b8b769d2-301b-4d2d-880f-09bf1ae7d6f0","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"185087","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundaryu6KF56AfZlNKlukj","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-sS7P9EcY3HOcussW7ezbOHsQPEM\""},"statusCode":400,"responseTime":"81ms"},"err":{"id":"46a16731-a387-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T19:24:47.273Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"c1c7723e-6347-4ee4-aec3-8f2c5e004b1e","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"185087","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundaryHvz8hdP5NcAdXLbW","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-IyAVS6r79bRfgZxwWwJXXxg0+Ns\""},"statusCode":400,"responseTime":"64ms"},"err":{"id":"51e26a40-a387-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T19:25:06.155Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"b01afc94-a6ce-428e-ac89-ab4ca2933040","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"2179758","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundarylqlzTuO1QRd20GAM","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-3J/gKaJpJsdqDGUlag3q6U/fX3Y\""},"statusCode":400,"responseTime":"131ms"},"err":{"id":"2b12b220-a388-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T19:31:10.545Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"538f6119-c2dd-44dd-a4c5-a299b2fc14ac","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"2179758","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundaryy0oBCiSK5RroPkdh","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-iZr7i++RQeDR3CWSCF37YGg1XGQ\""},"statusCode":400,"responseTime":"57ms"},"err":{"id":"366f7a90-a388-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T19:31:29.605Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"138f6f85-c1d1-4be9-8c6d-7edf6d6f69da","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"436728","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundaryzi9sMx4aUcFW9EZT","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-Q7Xd9LtNtAdM1cjAwzlQ3QExlFs\""},"statusCode":400,"responseTime":"28ms"},"err":{"id":"7ddb52a1-a388-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T19:33:29.425Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"cbcaf9af-414a-4f9b-9ade-6b2c75d1a1c0","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"41420","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundaryHSW4VtXot52pfBrT","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-DwHGxNTLdXqgOsC3dqlZ/t9Xz3E\""},"statusCode":400,"responseTime":"16ms"},"err":{"id":"2d6eb141-a38d-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T20:07:01.976Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"cdc2b4d0-6c55-41d5-ac49-698ddecd84dc","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"41420","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundaryMOaPo2QfjiQAyeFe","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-jaWm5KpG7YFM5lbZIRnuf4NA56M\""},"statusCode":400,"responseTime":"16ms"},"err":{"id":"30f53ff1-a38d-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T20:07:07.890Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"521697ba-ca13-49e9-bb35-cef61b40c552","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"41420","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundaryNxAKY9BihxmmAiAt","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-e8HcgOIeUe1G2Fh4iJr9wbDlX1w\""},"statusCode":400,"responseTime":"13ms"},"err":{"id":"342faa71-a38d-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T20:07:13.307Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"9bacb7ab-dd00-4a18-9ca7-1d1b7db75760","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"41321","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","accept":"text/plain, */*; q=0.01","content-type":"multipart/form-data; boundary=----WebKitFormBoundary3QBIGjA7WuoVtS4X","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-nFq7aa+4lpsNyZ18vgwcxc3NTX8\""},"statusCode":400,"responseTime":"21ms"},"err":{"id":"86308d21-a398-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T21:28:15.352Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"b919fb61-5928-4ce9-85e0-2e3f4fe7fe55","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"41420","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","content-type":"multipart/form-data; boundary=----WebKitFormBoundarysz0wCuUlho5ickkS","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","accept":"*/*","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-kW4K79qnV1tGaWxFtwGJo5f92KA\""},"statusCode":400,"responseTime":"16ms"},"err":{"id":"ba74fbc0-a398-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T21:29:43.044Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"edf4cc3e-f907-4125-848d-5dfad55193ac","userId":"1"},"url":"/images/upload/","method":"POST","originalUrl":"/ghost/api/admin/images/upload/","params":{},"headers":{"x-forwarded-for":"213.55.184.103","x-forwarded-proto":"https","x-real-ip":"213.55.184.103","host":"alpenzeiger.com","connection":"close","content-length":"41321","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","accept":"text/plain, */*; q=0.01","content-type":"multipart/form-data; boundary=----WebKitFormBoundary4lkwCcAjaJs1s17W","origin":"https://alpenzeiger.com","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Origin, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","access-control-allow-origin":"https://alpenzeiger.com","content-type":"application/json; charset=utf-8","content-length":"317","etag":"W/\"13d-YGjDft2EtkWCtt8HNBcxO/rPVm4\""},"statusCode":400,"responseTime":"12ms"},"err":{"id":"36ebedd1-a399-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"BadRequestError","statusCode":400,"level":"normal","message":"Image processing failed","context":"\"Sharp wasn't installed\"","help":"\"Please verify that the image is valid\"","stack":"BadRequestError: Image processing failed\n    at Object.query (/var/www/alpenzeiger/versions/5.100.1/core/server/api/endpoints/images.js:43:27)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async ImplWrapper (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async Http (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/http.js:70:28)","hideStack":false},"msg":"Image processing failed","time":"2024-11-15T21:33:11.857Z","v":0}

production.error.log.1

{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"98cbe94f-d1df-48ef-a373-eb4fa0bd5485","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"213.55.185.74","x-forwarded-proto":"https","x-real-ip":"213.55.185.74","host":"alpenzeiger.com","connection":"close","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","accept":"application/json, text/javascript, */*; q=0.01","content-type":"application/json; charset=UTF-8","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-pJiQfbmFzY/Aas1Jww8ydmhkV68\""},"statusCode":403,"responseTime":"638ms"},"err":{"id":"2a2f1e20-a202-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/route.js:149:13)\n    at authenticate (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/session/middleware.js:50:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-11-13T20:59:25.322Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"feb61296-7ead-4eeb-be0a-8e42e33af241","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"213.55.185.74","x-forwarded-proto":"https","x-real-ip":"213.55.185.74","host":"alpenzeiger.com","connection":"close","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","accept":"application/json, text/javascript, */*; q=0.01","content-type":"application/json; charset=UTF-8","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-1n6QxTjplqE6DaTAY9imBliANNE\""},"statusCode":403,"responseTime":"5ms"},"err":{"id":"2a3e3950-a202-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/route.js:149:13)\n    at authenticate (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/session/middleware.js:50:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-11-13T20:59:25.418Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","err":{"id":"39432230-a202-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"EmailError","statusCode":500,"level":"normal","message":"Failed to send email. Reason: Email has been temporarily rejected.","context":"\"Unable to send welcome email, your site will continue to function.\"","help":"\"Please see https://ghost.org/docs/config/#mail for instructions on configuring email.\"","stack":"EmailError: Failed to send email. Reason: Email has been temporarily rejected.\n    at createMailError (/var/www/alpenzeiger/versions/5.100.1/core/server/services/mail/GhostMailer.js:105:12)\n    at GhostMailer.handleDirectTransportResponse (/var/www/alpenzeiger/versions/5.100.1/core/server/services/mail/GhostMailer.js:195:19)\n    at GhostMailer.send (/var/www/alpenzeiger/versions/5.100.1/core/server/services/mail/GhostMailer.js:157:25)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async getResponse (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)\n    at async Object.ImplWrapper [as send] (/var/www/alpenzeiger/versions/5.100.1/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)\n    at async /var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/setup.js:186:17","hideStack":false},"msg":"Failed to send email. Reason: Email has been temporarily rejected.","time":"2024-11-13T20:59:50.614Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"863e359e-1a77-47d2-92ca-f683aa51f052","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"213.55.185.74","x-forwarded-proto":"https","x-real-ip":"213.55.185.74","host":"alpenzeiger.com","connection":"close","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","accept":"application/json, text/javascript, */*; q=0.01","content-type":"application/json; charset=UTF-8","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-q52LlbCq0lTWo84QQLh5+JC2Nlk\""},"statusCode":403,"responseTime":"6ms"},"err":{"id":"7c7aed80-a202-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/route.js:149:13)\n    at authenticate (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/session/middleware.js:50:13)","hideStack":false},"msg":"Authorization failed","time":"2024-11-13T21:01:43.387Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"7ccb5f69-91e7-4d37-8cbd-eb64b2a4c08d","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"213.55.185.74","x-forwarded-proto":"https","x-real-ip":"213.55.185.74","host":"alpenzeiger.com","connection":"close","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","accept":"application/json, text/javascript, */*; q=0.01","content-type":"application/json; charset=UTF-8","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-elOXknIjlZlG6LHSjPtoI7xLOSs\""},"statusCode":403,"responseTime":"5ms"},"err":{"id":"7c899380-a202-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/route.js:149:13)\n    at authenticate (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/session/middleware.js:50:13)","hideStack":false},"msg":"Authorization failed","time":"2024-11-13T21:01:43.484Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"7f6883ff-056a-4fe0-a013-e2c1f12490f8","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"85.1.163.57","x-forwarded-proto":"https","x-real-ip":"85.1.163.57","host":"alpenzeiger.com","connection":"close","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","accept":"application/json, text/javascript, */*; q=0.01","content-type":"application/json; charset=UTF-8","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-grnpW6Zy7yMLS+SOswtvmV86qt8\""},"statusCode":403,"responseTime":"3ms"},"err":{"id":"06196070-a204-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/route.js:149:13)\n    at authenticate (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/session/middleware.js:50:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-11-13T21:12:43.771Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"9fafb088-7555-469a-860a-a46ed9964ab3","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"85.1.163.57","x-forwarded-proto":"https","x-real-ip":"85.1.163.57","host":"alpenzeiger.com","connection":"close","x-ghost-version":"5.100","sec-ch-ua-platform":"\"Windows\"","sec-ch-ua":"\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"","app-pragma":"no-cache","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","accept":"application/json, text/javascript, */*; q=0.01","content-type":"application/json; charset=UTF-8","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9,de;q=0.8,fa;q=0.7","priority":"u=1, i"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-TjLo889qGsIxomCaQ3AMCZ73CDo\""},"statusCode":403,"responseTime":"2ms"},"err":{"id":"0629db30-a204-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/route.js:149:13)\n    at authenticate (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/session/middleware.js:50:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-11-13T21:12:43.878Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"8d420409-0f1d-4119-9d60-9b5b4910d2f8","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"212.40.1.5","x-forwarded-proto":"https","x-real-ip":"212.40.1.5","host":"alpenzeiger.com","connection":"close","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7","app-pragma":"no-cache","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.100","x-requested-with":"XMLHttpRequest","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-6F7WEo7tNEijst+5x6BZ81EXt/k\""},"statusCode":403,"responseTime":"2ms"},"err":{"id":"ffd20ea0-a204-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/route.js:149:13)\n    at authenticate (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/session/middleware.js:50:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-11-13T21:19:42.734Z","v":0}
{"name":"Log","hostname":"alpenzeiger","pid":894,"level":50,"version":"5.100.1","req":{"meta":{"requestId":"b782d120-fc66-444e-88a0-4a06faeb146e","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"x-forwarded-for":"212.40.1.5","x-forwarded-proto":"https","x-real-ip":"212.40.1.5","host":"alpenzeiger.com","connection":"close","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7","app-pragma":"no-cache","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.100","x-requested-with":"XMLHttpRequest","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://alpenzeiger.com/ghost/","accept-encoding":"gzip, deflate, br"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.100","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-oXh/z9V334+7peBbVDXciXqr3pc\""},"statusCode":403,"responseTime":"2ms"},"err":{"id":"0005c8d0-a205-11ef-972b-9312a803b0fc","domain":"https://alpenzeiger.com","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n    at authorizeAdminApi (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/authorize.js:33:25)\n    at Layer.handle [as handle_request] (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/layer.js:95:5)\n    at next (/var/www/alpenzeiger/versions/5.100.1/node_modules/express/lib/router/route.js:149:13)\n    at authenticate (/var/www/alpenzeiger/versions/5.100.1/core/server/services/auth/session/middleware.js:50:13)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-11-13T21:19:43.072Z","v":0}

production.error.log.0: Empty file

Ghost Doctor

:heavy_check_mark: Checking system Node.js version - found v20.18.0
:heavy_check_mark: Checking logged in user
:heavy_check_mark: Ensuring user is not logged in as ghost user
:heavy_check_mark: Checking if logged in user is directory owner
:heavy_check_mark: Checking current folder permissions
:heavy_check_mark: Checking system compatibility
:heavy_check_mark: Checking for a MySQL installation

  • sudo systemctl is-active ghost_www-alpenzeiger-com
    ? Sudo Password [input is hidden]

Instance is currently running
:information_source: Validating config [skipped]
:heavy_check_mark: Checking folder permissions
:heavy_check_mark: Checking file permissions
:heavy_check_mark: Checking content folder ownership
:heavy_check_mark: Checking memory availability
:heavy_check_mark: Checking binary dependencies
:heavy_check_mark: Checking free space
:heavy_check_mark: Checking systemd unit file
:heavy_check_mark: Checking systemd node version - found v20.18.0

Thanks again Cathy! Chromes Console showed the way:

Objectcontext: “Image processing failed Sharp wasn’t installed”

I fixed it by running this:

npm i --verbose sharp@latest
1 Like

Oh good! I was just about to suggest installing sharp!

1 Like

Your logs also show you need to configure email. You’ll want to that if you plan to let people sign up or comment.

1 Like