question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: Your storage adapter does not inherit from the Storage Base.

See original GitHub issue

Issue Summary

I know 0.10 brought a braking change for the s3 storage https://github.com/TryGhost/Ghost/wiki/Using-a-custom-storage-module

I now use this plug-in https://github.com/kelyvin/ghost-s3-service

Steps to Reproduce

  1. When starting Ghost
> docker logs --follow $ctnID
npm info it worked if it ends with ok
npm info using npm@2.15.9
npm info using node@v4.6.0
npm info prestart ghost@0.11.1
npm info start ghost@0.11.1

> ghost@0.11.1 start /usr/src/ghost
> node index


ERROR: Your storage adapter does not inherit from the Storage Base.

 Error
    at Error.IncorrectUsage (/usr/src/ghost/core/server/errors/incorrect-usage.js:3:18)
    at Object.getStorage (/usr/src/ghost/core/server/storage/index.js:54:15)
    at setupMiddleware (/usr/src/ghost/core/server/middleware/index.js:126:44)
    at /usr/src/ghost/core/server/index.js:188:9
    at tryCatcher (/usr/src/ghost/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/usr/src/ghost/node_modules/bluebird/js/release/promise.js:510:31)
    at Promise._settlePromise (/usr/src/ghost/node_modules/bluebird/js/release/promise.js:567:18)
    at Promise._settlePromise0 (/usr/src/ghost/node_modules/bluebird/js/release/promise.js:612:10)
    at Promise._settlePromises (/usr/src/ghost/node_modules/bluebird/js/release/promise.js:691:18)
    at Promise._fulfill (/usr/src/ghost/node_modules/bluebird/js/release/promise.js:636:18)
    at PromiseArray._resolve (/usr/src/ghost/node_modules/bluebird/js/release/promise_array.js:125:19)
    at PromiseArray._promiseFulfilled (/usr/src/ghost/node_modules/bluebird/js/release/promise_array.js:143:14)
    at Promise._settlePromise (/usr/src/ghost/node_modules/bluebird/js/release/promise.js:572:26)
    at Promise._settlePromise0 (/usr/src/ghost/node_modules/bluebird/js/release/promise.js:612:10)
    at Promise._settlePromises (/usr/src/ghost/node_modules/bluebird/js/release/promise.js:691:18)
    at Async._drainQueue (/usr/src/ghost/node_modules/bluebird/js/release/async.js:138:16)
    at Async._drainQueues (/usr/src/ghost/node_modules/bluebird/js/release/async.js:148:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/usr/src/ghost/node_modules/bluebird/js/release/async.js:17:14)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

npm info poststart ghost@0.11.1
npm info ok
root@01:~/deploy-setup#

Technical details:

  • Ghost Version: 0.11.1
  • Node Version: 4.6
  • Browser/OS: Ubuntu 16
  • Database: mysql

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
oligafnercommented, Feb 2, 2017

@kirrg001 figured it out! Thanks for your help!

1reaction
pascalandycommented, Jan 25, 2017

Thanks for the explanation @kirrg001

It will be great!

We will work on getting rid of the dirty requires asap by outsourcing the base adapters into npm modules.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the ghost-storage-base.name function in ghost-storage ...
StorageBase.name) { throw new common.errors.IncorrectUsageError({ message: 'Your storage adapter does not inherit from the Storage Base.
Read more >
Compliance check fails when different Login timeout values ...
Compliance check fails when different Login timeout values set for multiple iscsi targets along with inherit from parent. (67580). Symptoms.
Read more >
Storing data - Storage - Finsemble
If a topic doesn't have a storage adapter in the config, it defaults to the "defaultStorage" value. If no "defaultStorage" value exists, it...
Read more >
ACL Inheritance Behavior - Oracle® ZFS Storage Appliance ...
When a file is created in a directory using SMB, its ACL entries are shown as inherited; however, when viewed through NFS, the...
Read more >
General Error Messages | InterSystems Error Reference
Commonly, these error codes are reported as ERROR #nnn. ... 5572, Can not inherit relationship property '%1' in class '%2' as a secondary...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found