lnbits / nostrmarket

Nostr Market
MIT License
137 stars 22 forks source link

(Bug) Updating not possible #70

Closed arbadacarbaYK closed 1 year ago

arbadacarbaYK commented 1 year ago

After updating to lnbits 10.9 i only could update nostrmarket to 0.3 by deleting the dedicated manifest to this repo i had configured additionally to the lnbits-main-manifest. Before i got a 500 error. Now that i am on 0.3 and 10.9 i cannot update any further without the same error.

Bildschirmfoto 2023-07-07 um 16 35 06 Bildschirmfoto 2023-07-07 um 16 35 18 Bildschirmfoto 2023-07-07 um 16 35 27 Bildschirmfoto 2023-07-07 um 16 35 32

Same on admin and superuser.

If i click open this happens

Bildschirmfoto 2023-07-07 um 16 51 40
arbadacarbaYK commented 1 year ago

2023-07-10 19:17:32.88 | INFO | Downloading extension nostrmarket (0.3.3). 2023-07-10 19:17:33.30 | INFO | Extracting extension nostrmarket (0.3.3). 2023-07-10 19:17:33.35 | SUCCESS | Extension Nostr Market (0.3.3) installed. 2023-07-10 19:17:33.36 | DEBUG | running migration nostrmarket.4 2023-07-10 19:17:33.37 | WARNING | (sqlite3.OperationalError) Cannot add a column with non-constant default [SQL: ALTER TABLE nostrmarket.merchants ADD COLUMN time TIMESTAMP NOT NULL DEFAULT (strftime('%s', 'now'));] (Background on this error at: http://sqlalche.me/e/13/e3q8) 2023-07-10 19:17:33.38 | ERROR | HTTPException 500: Failed to install extension nostrmarket (0.3.3). 2023-07-10 19:17:33.39 | INFO | 192.168.0.48:0 - "POST /api/v1/extension?usr=xy HTTP/1.1" 500

motorina0 commented 1 year ago

Bug fixed in 0.3.4.