-
Notifications
You must be signed in to change notification settings - Fork 38
Selfhost extension don't work anymore? Why? #64
Comments
I partially agree with you . Although according to this comment you could modify DB to have a subscription , however they will not tell you how to achieve this and how many issues you'll encounter, because of modifying db only is insufficient. I have managed to make new Here's the steps and remember to backup your database first then do under your own risk.
INSERT INTO user_roles (role_uuid , user_uuid) VALUES ( ( select uuid from roles where name="PRO_USER" order by version desc limit 1 ) ,( select uuid from users where email="<EMAIL@ADDR>" ) ) ON DUPLICATE KEY UPDATE role_uuid = VALUES(`role_uuid`);
insert into user_subscriptions set uuid = UUID() , plan_name="PRO_PLAN" , ends_at = 8640000000000000, created_at = 0 , updated_at = 0,user_uuid= (select uuid from users where email="<EMAIL@ADDR>") , subscription_id=1;
offline repo code: eyJmZWF0dXJlc1VybCI6Imh0dHBzOi8vYXBpLnN0YW5kYXJkbm90ZXMuY29tL3YxL29mZmxpbmUvZmVhdHVyZXMiLCJleHRlbnNpb25LZXkiOiJmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmIn0= It is from here with base64 |
Thanks for sharing! |
So I have mange to import the changes into the database with myphpadmin without any errors (guess that is a good thing!) Can I combine your your config for the fake/proxy with this one? if so how do I do that? TIA |
Yes
Yes If you're using this nginx https://github.com/iganeshk/standardnotes-extensions#setup-with-nginx
after previous location.
After here https://github.com/standardnotes/standalone/blob/e522ef4ebc0fa4be541ed6ba7ee17628c0935990/docker-compose.yml#L50-L52 or in here https://github.com/standardnotes/standalone/blob/main/docker/api-gateway.env.sample |
Thanks for explaining I have manage to get it working! I installed a new nginx container and that is working for me as I couldn't manage to get it working with the existing extensions-nginx container. But it is working so I'm fine with it ;-) One question though
|
Yes and als yes for offline repo code |
@jackyzy823 thanks for creating these instructions, made my job easier 😄 Instructions added here: https://docs.standardnotes.com/self-hosting/subscriptions You don't need to go the offline repo route. That's only if you're not using an account. I tested the instructions in the link above on a new standalone server and it worked perfectly fine as-is without needing to stub the payments server or anything like that. |
Super it is working! Thanks for your hard work and patience with a noob like me;-) |
@BobWs @moughxyz @moughxyz offline repo route is just a workaround. You need it to let snjs pass checking to use features. otherwise standardnote will warning If you fix the issue in standardnotes/snjs#582 , this workaround will be not necessary then. |
Ah, indeed. Let me take a look at this. |
Ok, should be fixed by standardnotes/snjs@326c05a This will go out in the next desktop/web release, but not exactly sure when that will be. Probably 1-2 weeks. |
Hi,
Why can I not use my selfhosted extensions anymore?
After updating to the latest versions of Standardnotes my extensions stopped working and I'm getting a message that it is only for paid subscriptions.
If you guys want to ask money for everything than you should make it a close source thing and not publish everything here on Github.
First everything is free and one can selfhost and than the shit begins...
The text was updated successfully, but these errors were encountered: