Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from 13.8.0~ynh1 to 14.0.0~ynh1 fails #115

Open
0utl4w opened this issue Dec 25, 2023 · 11 comments
Open

Upgrade from 13.8.0~ynh1 to 14.0.0~ynh1 fails #115

0utl4w opened this issue Dec 25, 2023 · 11 comments

Comments

@0utl4w
Copy link

0utl4w commented Dec 25, 2023

Describe the bug

Upgrade from 13.8.0-ynh1 to 14.0.0-ynh1 through yunohost web interface fails with "WARNING - parse error: Invalid numeric literal at line 1, column 10"

Context

  • Hardware: VPS bought online (gandi)
  • YunoHost version: 11.2.8.2 (stable)
  • I have access to my server: Through SSH and through the webadmin
  • Using, or trying to install package version/branch: 14.0.0~ynh1
  • If upgrading, current package version: 13.8.0~ynh1

Expected behavior

Upgrade successfull.

Logs

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

@isAAAc
Copy link

isAAAc commented Dec 28, 2023

root@gourzoot:~# yunohost --version
yunohost: 
  repo: stable
  version: 11.2.9.1
yunohost-admin: 
  repo: stable
  version: 11.2.4
moulinette: 
  repo: stable
  version: 11.2
ssowat: 
  repo: stable
  version: 11.2
root@gourzoot:~# yunohost app info piwigo
description: Open source photo gallery for the web
domain_path: gourzoot.org/piwigo
name: Piwigo
version: 13.8.0~ynh1

error here too:
https://paste.yunohost.org/raw/ziregurata

@0utl4w
Copy link
Author

0utl4w commented Jan 10, 2024

Nothing? No answer?

@isAAAc
Copy link

isAAAc commented Jan 24, 2024

yes, a little help could be nice please

@0utl4w
Copy link
Author

0utl4w commented Feb 3, 2024

@isAAAc did you disable the ldap-plugin? I did and maybe that#s the reason but I don't get the ldap-plugin back to work. Any ideas?

@europrimus
Copy link

europrimus commented Feb 3, 2024

Hello,
I have the same issue

WARNING - parse error: Invalid numeric literal at line 1, column 10

I think a WARNING don't need to fully stop the upgrade process, but I'm new to yunohost

my full log : https://paste.yunohost.org/raw/yitiqevoyu

I think the error is that the upgrade scripts try to get the connection token, but piwigo return the database upgrade page

2024-02-03 20:50:42,311: DEBUG - <p>This page proposes to upgrade the database from your old Piwigo version to the new version. The upgrade assistant thinks you are currently running <strong>release 13.0.0</strong> (or equivalent).</p>
2024-02-03 20:50:42,311: DEBUG - <p>Only an administrator can run an upgrade: please sign in below.</p>

so jq (a json parser) can't parse the token

@lenybernard
Copy link

same for me

@0utl4w
Copy link
Author

0utl4w commented Feb 11, 2024

Still the same problem with the new update to 14.2.0~ynh1

Find the full log here: https://paste.yunohost.org/raw/dugolujepi

@0utl4w
Copy link
Author

0utl4w commented Feb 12, 2024

This is not a new problem, there are much older open issues here reporting the same problem. But well, they're still open, without reactions or anything...

@0utl4w
Copy link
Author

0utl4w commented Feb 12, 2024

Found this online, will try it and give you an update after: https://forum.yunohost.org/t/update-error-piwigo/14968/4

@0utl4w
Copy link
Author

0utl4w commented Feb 12, 2024

SUCCESS!!!
What Aleks wrote in his post worked for me, update successful.

"The fix/workaround was to edit the settings file for piwigo:

nano /etc/yunohost/apps/piwigo/settings.yml

and replace the value for admin_pwd with the actual admin password"

@isAAAc
Copy link

isAAAc commented Feb 26, 2024

because i have some special characters in the passwd,
i needed to set simple quote around the passwd too.

upgrade is ok on my side with @alexAubin workaround + simple quotes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants