Errors installing after migration - architecture issues? (cannot parse SOURCE_URL)

Hardware: Old laptop or computer
YunoHost version:
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: Just migrated the server from an i686 32bit machine to a i686 64 bit machine using the full backup/restore feature (no post-installation)
All the previously installed/restored apps seem to be working fine

Description of my issue

Trying to install some new apps for the first time (not on the previous server upon migration)

Install fails, logs below. Pleroma displays the same error.

Warning: Couldn't parse SOURCE_URL from /var/cache/yunohost/app_tmp_work_dirs/app_sv4cx14t/conf/i386.src ?

EDIT: I see that the Pleroma ynh source code does not include an i386.src file at that location. I do see an amd.src file. I’m wondering if the migration process made somehow the new machine’s architecture fail to be identified?

Funkwhale displays another error, unsure if related

“Failed to build cryptography”

I’m no expert but is that an actual thing? What’s the output of the command lscpu?

Logs here are from Navidrome, not Pleroma.

Unfortunately Pleroma does not seem to be built on i386 architecture. (32 bits) What you saw in Pleroma_ynh repo is amd64.src, for 64 bits architecture.

Can you confirm your system is indeed 64 bits, with dpkg --print-architecture command? (The YNH_ARCH variable in the log is the output of that command, but let’s be sure…)

If not, sorry, you will have to reinstall the system and make sure to choose the right version, if lscpu told you it’s x64-compatible. :wink:

Indeed, most likely related.

Hi @tituspijean thanks a bunch for replying

Architecture:        i686
CPU op-mode(s):      32-bit, 64-bit

Output of dpkg --print-architecture is i386

So you’re right i686 64bit isn’t a thing. My misconception of what the op mode meant.

lscpu is telling you that your architecture is i686 (an Intel 32-bit CPU), and that your CPU supports both 32-bit and 64-bit operating modes. You won’t be able to install x64 built applications since they’re built specifically for x64 architectures.

So I should be looking for a machine with Architecture: x86_64 for support to amd64 applications.

Thanks again for looking into it.

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