YunoHost-Apps / plume_ynh

Federated blogging application for YunoHost
https://joinplu.me/
GNU Affero General Public License v3.0
15 stars 2 forks source link

Installation failure on arm64: fails to recognize platform is 64bit. #55

Closed nztvar closed 4 years ago

nztvar commented 4 years ago

Fails trying to install on RPi 3B+.

Logs.

Info: Installing application plume…
Warning: Sorry, but this app can only be installed on a 64 bits machine :(
Info: Validating installation parameters...
Warning: [ERR] !!
Warning:   plume's script has encountered an error. Its execution was cancelled.
Warning: !!
Warning: Please find here an extract of the log before the crash:
Warning: [DEBUG]: DEBUG   -'
Warning: [DEBUG]: DEBUG   - + ynh_die '--message=Sorry, but this app can only be installed on a 64 bits machine :('
Warning: [DEBUG]: DEBUG   - + local legacy_args=mc
Warning: [DEBUG]: DEBUG   -=ret_code=)
Warning: [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: [DEBUG]: DEBUG   - + local message
Warning: [DEBUG]: DEBUG   - + local ret_code
Warning: [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Sorry, but this app can only be installed on a 64 bits machine :('
Warning: [DEBUG]: DEBUG   - + set +x
Warning: [DEBUG]: DEBUG   - + echo 'Sorry, but this app can only be installed on a 64 bits machine :('
Warning: [DEBUG]: DEBUG   - + exit 1
Warning: [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: 
Info: The operation 'Install 'plume' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20200209-052927-app_install-plume --share'
Info: Loading installation settings...
Info: Stopping and removing the systemd service...
Info: Removing the MySQL database...
Warning: [WARN] Database  not found
Warning: [WARN] User  not found
Info: Removing dependencies...
Warning: E: Unable to locate package plume-ynh-deps
Warning: ./remove: line 64: pushd: /plume: No such file or directory
Warning: sudo: unknown user: plume
Warning: sudo: unable to initialize policy plugin
Warning: ./remove: line 66: popd: directory stack empty
Warning: [WARN] Avoid deleting .
Info: Removing app main directory...
Info: Removing nginx web server configuration...
Info: /etc/nginx/conf.d/.d/plume.conf wasn't deleted because it doesn't exist.
Info: Removing logrotate configuration...
Info: Close ports
Warning: [WARN] Avoid deleting /var/log/plume/.
Warning: [WARN] The user plume was not found
Info: Removing the dedicated system user...
Info: Removal of plume completed
Success! The SSOwat configuration has been generated
Error: The operation 'Install 'plume' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20200209-052927-app_install-plume --share'
yalh76 commented 4 years ago

Hi,

It's because you Raspberry Pi is installed in 32 bits. Writefreely is only available to 64 bits systems. You can check that with the commande: uname -a

nztvar commented 4 years ago

Linux saewyc.org 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

Not. Or maybe it is. Reference isn't clear on 7l

I'll accept that's a probable.

yalh76 commented 4 years ago

Yes it seems that armv7l is a 32 bits architecture