[Snappymail] Can't upgrade to 2.37.1~ynh1 version

My YunoHost server

Hardware: Old laptop or computer
YunoHost version: 11.2.27
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: snappymail 2.37.1~ynh1

Description of my issue

Today I tried to upgrade snappymail but I got this error:

Warning: Failed to update sources : Failed to download asset 'main' (https://github.com/the-djmaze/snappymail/releases/download/v2.37.1/snappymail-2.37.1.tar.gz) for snappymail: https://github.com/the-djmaze/snappymail/releases/download/v2.37.1/snappymail-2.37.1.tar.gz:
2024-08-14 11:38:39 ERROR 404: Not Found.

Info: Reverting sources...
Error: Provisioning, deprovisioning, or updating resources for snappymail failed: Failed to download asset 'main' (https://github.com/the-djmaze/snappymail/releases/download/v2.37.1/snappymail-2.37.1.tar.gz) for snappymail: https://github.com/the-djmaze/snappymail/releases/download/v2.37.1/snappymail-2.37.1.tar.gz:
2024-08-14 11:38:39 ERROR 404: Not Found.

Full log at https://paste.yunohost.org/raw/yomubuziga

I get the same error as well.

1 Like

Update to version 2.37.2~ynh1 worked quite well.

The program is running but I needed to redo the configuration for my account (identities, signs and folders) end the update process gave me the sequent warning:

Info: Updating sources...
Info: Updating system_user...
Info: Updating install_dir...
Info: Updating permissions...
Info: Updating apt...
Info: Updating database...
Info: [+++.................] > Ensuring downward compatibility...
Info: [###+++..............] > Upgrading source files...
Warning: realpath: /var/cache/yunohost/app_tmp_work_dirs/app_lfgsx5si/patches/main: No such file or directory
Info: [######++++..........] > Updating configuration...
Warning: File /var/www/snappymail/app/data/_data_/_default_/configs/application.ini has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//var/www/snappymail/app/data/_data_/_default_/configs/application.ini.backup.20240815.105829
Warning: --- /var/cache/yunohost/appconfbackup//var/www/snappymail/app/data/_data_/_default_/configs/application.ini.backup.20240815.105829  2024-08-12 10:13:29.512907322 +0200
Warning: +++ /var/www/snappymail/app/data/_data_/_default_/configs/application.ini      2024-08-15 10:58:29.545926203 +0200
Warning: @@ -20,6 +20,9 @@
Warning:  ; Language used by default
Warning:  language = "en"
Warning: +; Admin Panel interface language
Warning: +language_admin = "en"
Warning: +
Warning:  ; Allow language selection on settings screen
Warning:  allow_languages_on_settings = On
Warning:  allow_additional_accounts = On
Warning: @@ -58,15 +61,12 @@
Warning:  ; HIGH
Warning:  mysql_ssl_ciphers = ""
Warning: -sqlite_global = Off
Warning:  suggestions_limit = 20
Warning:  [security]
Warning:  custom_server_signature = "SnappyMail"
Warning:  x_xss_protection_header = "1; mode=block"
Warning: -gnupg = On
Warning:  openpgp = Off
Warning: -auto_verify_signatures = Off
Warning:  ; Access settings
Warning:  allow_admin_panel = On
Warning: @@ -75,6 +75,8 @@
Warning:  admin_login = "admin"
Warning:  admin_password = ""
Warning:  admin_totp = ""
Warning: +admin_panel_host = ""
Warning: +admin_panel_key = "admin"
Warning:  force_https = Off
Warning:  hide_x_mailer_header = On
Warning: @@ -104,13 +106,8 @@
Warning:  secfetch_allow = ""
Warning:  [admin_panel]
Warning: -host = ""
Warning: -key = "admin"
Warning:  allow_update = Off
Warning: -; Admin Panel interface language
Warning: -language = "en"
Warning: -
Warning:  [ssl]
Warning:  ; Require verification of SSL certificate used.
Warning:  verify_certificate = On
Warning: @@ -134,6 +131,11 @@
Warning:  disable_compression = On
Warning:  [capa]
Warning: +contacts = On
Warning: +quota = On
Warning: +help = On
Warning: +search = On
Warning: +search_adv = On
Warning:  ; Allow clear folder and delete messages without moving to trash
Warning:  dangerous_actions = On
Warning: @@ -156,6 +158,7 @@
Warning:  ; Like default_domain but then HTTP_HOST/SERVER_NAME without www.
Warning:  determine_user_domain = Off
Warning: +login_lowercase = On
Warning:  ; This option allows webmail to remember the logged in user
Warning:  ; once they closed the browser window.
Warning: @@ -166,15 +169,12 @@
Warning:  ;   "Unused"     - cannot be used
Warning:  sign_me_auto = "DefaultOff"
Warning: -; When login fails, wait N seconds before responding
Warning: -fault_delay = 5
Warning: -
Warning:  [plugins]
Warning:  ; Enable plugin support
Warning:  enable = On
Warning:  ; Comma-separated list of enabled plugins
Warning: -enabled_list = ""
Warning: +enabled_list = "ldap-identities"
Warning:  [defaults]
Warning:  ; Editor mode used by default (Plain, Html)
Warning: @@ -183,29 +183,14 @@
Warning:  ; layout: 0 - no preview, 1 - side preview, 2 - bottom preview
Warning:  view_layout = 1
Warning:  view_use_checkboxes = On
Warning: -
Warning: -; Show next message when (re)move current message
Warning: -view_show_next_message = On
Warning:  autologout = 30
Warning:  view_html = On
Warning:  show_images = Off
Warning: -
Warning: -; View external images:
Warning: -;   "ask" - always ask
Warning: -;   "match" - whitelist or ask
Warning: -;   "always" - show always
Warning: -view_images = "ask"
Warning:  contacts_autosave = On
Warning: -mail_list_grouped = Off
Warning:  mail_use_threads = Off
Warning:  allow_draft_autosave = On
Warning:  mail_reply_same_folder = Off
Warning: -; 1 - reply, 2 - reply all
Warning: -msg_default_action = 1
Warning: -collapse_blockquotes = On
Warning: -allow_spellcheck = Off
Warning: -
Warning:  [logs]
Warning:  ; Enable logging
Warning:  enable = Off
Warning: @@ -266,7 +251,6 @@
Warning:  ; Enable auth logging to syslog for fail2ban
Warning:  auth_syslog = Off
Warning: -json_response_write_limit = 300
Warning:  [debug]
Warning:  ; Special option required for development purposes
Warning: @@ -286,6 +270,9 @@
Warning:  ; Additional caching key. If changed, cache is purged
Warning:  index = "v1"
Warning: +; Can be: files, APCU, memcache, redis (beta)
Warning: +fast_cache_driver = "files"
Warning: +
Warning:  ; Additional caching key. If changed, fast cache is purged
Warning:  fast_cache_index = "v1"
Warning: @@ -309,9 +296,16 @@
Warning:  fetch_new_messages = On
Warning:  [labs]
Warning: -; Allow drag & drop .eml files from system into messages list
Warning: +; Display message RFC 2822 date and time header, instead of the arrival internal date.
Warning: +date_from_headers = On
Warning:  allow_message_append = Off
Warning: +
Warning: +; When login fails, wait N seconds before responding
Warning: +login_fault_delay = 5
Warning: +log_ajax_response_write_limit = 300
Warning:  smtp_show_server_errors = Off
Warning: +sieve_auth_plain_initial = On
Warning: +sieve_allow_fileinto_inbox = Off
Warning:  ; PHP mail() remove To and Subject headers
Warning:  mail_func_clear_headers = On
Warning: @@ -321,9 +315,13 @@
Warning:  folders_spec_limit = 50
Warning:  curl_proxy = ""
Warning:  curl_proxy_auth = ""
Warning: -custom_login_link = ""
Warning: -custom_logout_link = "https://cybervalley.org/yunohost/sso/?action=logout"
Warning: +custom_login_link=''
Warning: +custom_logout_link='https://cybervalley.org/yunohost/sso/?action=logout'
Warning:  http_client_ip_check_proxy = Off
Warning: +fast_cache_memcache_host = "127.0.0.1"
Warning: +fast_cache_memcache_port = 11211
Warning: +fast_cache_redis_host = "127.0.0.1"
Warning: +fast_cache_redis_port = 6379
Warning:  use_local_proxy_for_external_images = On
Warning:  image_exif_auto_rotate = Off
Warning:  cookie_default_path = ""
Warning: @@ -334,5 +332,5 @@
Warning:  dev_password = ""
Warning:  [version]
Warning: -current = "2.36.4"
Warning: -saved = "Mon, 12 Aug 2024 08:13:29 +0000"
Warning: \ No newline at end of file
Warning: +current = "2.28.1"
Warning: +saved = "Wed, 21 Jun 2023 06:38:05 +0000"
Info: [##########+++.......] > Applying SSO patch...
Info: [#############+++....] > Upgrading system configurations related to snappymail...
Info: [####################] > Upgrade of snappymail completed
Success! snappymail upgraded

Thanks a lot to the package manteiners!

Yes. A similar thing has happened with filters. In the admin of Snappymail I had 4 domains, since the recent update the only one there now is the domain used to install Snappymail. Sieve works, but fails if I enter other domains.

Something has a gone a bit “wonky”. It works l just need a work around on the other domains.

Thanks to the folk who make it happen.

Dj

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.