YunoHost-Apps / lychee_ynh

Lychee package for YunoHost
https://lycheeorg.github.io/
GNU General Public License v3.0
10 stars 2 forks source link

trying to fix upgrade #105

Closed OniriCorpe closed 6 months ago

OniriCorpe commented 6 months ago

Problem

Solution

PR Status

yunohost-bot commented 6 months ago

:stuck_out_tongue_winking_eye: Test Badge

OniriCorpe commented 6 months ago

same error :/

https://paste.yunohost.org/raw/usirefixeh

Info : DEBUG - transforming...
Info : DEBUG - ✓ 121 modules transformed.
Info : DEBUG - "default" is not exported by "resources/js/vendor/webauthn/webauthn.js", imported by "resources/js/data/webauthn/loginWebAuthn.ts".
Info : DEBUG - file: /var/www/lychee/resources/js/data/webauthn/loginWebAuthn.ts:1:7
Info : DEBUG - 1: import WebAuthn from "@/vendor/webauthn/webauthn.js";
Info : DEBUG -           ^
Info : DEBUG - 2: import type { Alpine, AlpineComponent } from "alpinejs";
Info : DEBUG - error during build:
Info : DEBUG - RollupError: "default" is not exported by "resources/js/vendor/webauthn/webauthn.js", imported by "resources/js/data/webauthn/loginWebAuthn.ts".
Info : DEBUG -     at error (file:///var/www/lychee/node_modules/rollup/dist/es/shared/parseAst.js:337:30)
Info : DEBUG -     at Module.error (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:12781:16)
Info : DEBUG -     at Module.traceVariable (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:13218:29)
Info : DEBUG -     at ModuleScope.findVariable (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:11635:39)
Info : DEBUG -     at ReturnValueScope.findVariable (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:5935:38)
Info : DEBUG -     at FunctionBodyScope.findVariable (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:5935:38)
Info : DEBUG -     at ReturnValueScope.findVariable (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:5935:38)
Info : DEBUG -     at FunctionBodyScope.findVariable (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:5935:38)
Info : DEBUG -     at ChildScope.findVariable (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:5935:38)
Info : DEBUG -     at FunctionScope.findVariable (file:///var/www/lychee/node_modules/rollup/dist/es/shared/node-entry.js:5935:38)
Info : DEBUG - + ynh_exit_properly
Attention : Upgrade failed ... attempting to restore the safety backup (Yunohost first need to remove the app for this) ...
ericgaspar commented 6 months ago

!testme

yunohost-bot commented 6 months ago

Fingers crossed! Test Badge

OniriCorpe commented 6 months ago

it worked! forgotten =1

Info : Updating sources...
Info : Updating system_user...
Info : Updating install_dir...
Info : Updating data_dir...
Info : Updating permissions...
Info : Updating apt...
Info : Updating database...
Info : [....................] > Ensuring downward compatibility...
Info : [+++.................] > Upgrading source files...
Info : [###++++.............] > Upgrading dependencies...
Info : [#######+............] > Upgrading PHP-FPM configuration...
Info : [########+...........] > Installing app with Composer...
Info : [#########+++++++....] > Installing lychee...
Info : [################+++.] > Building...
Info : [####################] > Upgrade of lychee completed
Succès ! lychee mis à jour
Succès ! Mise à jour terminée