Code Monkey home page Code Monkey logo

Comments (20)

nicofrand avatar nicofrand commented on July 26, 2024

Hi,

could you try installing libssl-dev with apt and then try again please?

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

Hi,

I installed libssl-dev successfully.
However the install is still failing and the log is now empty : https://paste.yunohost.org/raw/wobalonimi

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

Uh, without logs I cannot know what still fails…

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

Of course. I tried again and this time the log is saved correctly : https://paste.yunohost.org/raw/ogiqanafuh

The error seems to be No space left on device (os error 28)

The result of df -h is :

Filesystem      Size  Used Avail Use% Mounted on
udev            447M     0  447M   0% /dev
tmpfs           100M   11M   89M  11% /run
/dev/mmcblk0p1   29G  7.8G   21G  28% /
tmpfs           500M   76K  500M   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/sda1       1.8T   95G  1.7T   6% /mnt/hdd
tmpfs           500M  1.1M  499M   1% /tmp
/dev/zram0       49M   13M   33M  29% /var/log
tmpfs           100M     0  100M   0% /run/user/0
tmpfs           100M     0  100M   0% /run/user/22311

Do I need to increase the space for /tmp? Or is there something else I did not see?

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

You might want to check https://www.maketecheasier.com/fix-linux-no-space-left-on-device-error/ too.
Maybe also restart the device to clean up deleted files

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

What's the result of sudo df -h /var/log?
I hear some distros put it in ram...

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

Result of lsblk:

NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda            8:0    0   1.8T  0 disk
└─sda1         8:1    0   1.8T  0 part /mnt/hdd
mmcblk0      179:0    0  29.1G  0 disk
└─mmcblk0p1  179:1    0  28.8G  0 part /
mmcblk1      179:8    0   3.6G  0 disk
└─mmcblk1p1  179:9    0   3.6G  0 part
mmcblk1boot0 179:16   0    16M  1 disk
mmcblk1boot1 179:24   0    16M  1 disk
zram0        254:0    0    50M  0 disk /var/log
zram1        254:1    0 499.5M  0 disk [SWAP]

Result of sudo df -h /var/log:

Filesystem      Size  Used Avail Use% Mounted on
/dev/zram0       49M   12M   33M  27% /var/log

I tried following the tutorial but could see any change.
I tried logging the space in /tmp and it seems to be the one getting full during install (unfortunately I do not have the logs anymore)

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

OK, I don't know how to fix your RAM issue then. Maybe with some bigger swap?

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

Thank you for the suggestions. Searching around I found the suggestion of remounting the /tmp partition with bigger space: mount -o remount,size=2G /tmp.
It seemed to have worked, as the install is going farther, but it is know failing later: https://paste.yunohost.org/raw/abihebikip
Do I need to increase the size of the tmp partition more? Or is this unrelated?

from kresus_ynh.

bnjbvr avatar bnjbvr commented on July 26, 2024

2023-08-01 18:16:56,809: DEBUG - info There appears to be trouble with your network connection. Retrying...

This is a network error while installing dependencies, have you been disconnected? Have you tried retrying the install? (Do you have any firewalls that could block outgoing connections?)

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

I have not been disconnected, I do not have any firewall in place aside from the one coming with Yunohost, and I haven't had any connection issue in the past.
I will retry installation now.

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

New log, same problem: https://paste.yunohost.org/raw/xarilayonu

Based on this answer on the Yunohost forum, i tried curl -JOLs https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz and it is working correctly (the file is downloaded as expected).

from kresus_ynh.

bnjbvr avatar bnjbvr commented on July 26, 2024

What does /var/www/kresus/yarn-error.log contain?

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

Unfortunately it is deleted after the failed installation. I can try to deactivate the removal of the app, but I expect it to be the same as the error that is outputed "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz: ESOCKETTIMEDOUT"

Perhaps this timeout can be increased?

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

I tried re running the installation with --no-remove-on-failure to get the content of the yarn-error.log file.

I also tried installing yarn separately and increasing the timeout with sudo yarn config set network-timeout 500000 but the error remains the same.

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

Can you try:

mkdir /tmp/testyarndatefns
cd /tmp/testyarndatefns
yarn init -y
yarn add [email protected]  --verbose 

And tell us the output?

Then

yarn remove date-fns --verbose 
yarn add [email protected] --network-timeout 60000 --verbose 

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

From the first set of command, the output is huge (did not get the full one) but the last lines are :

verbose 106.591926408 Copying "/home/nicdal/.cache/yarn/v6/npm-date-fns-2.29.3-27402d2fc67eb442b511b70bbdf98e6411cd68a8-integrity/node_modules/date-fns/esm/locale/zh-TW/_lib/match/index.js" to "/tmp/testyarndatefns/node_modules/date-fns/esm/locale/zh-TW/_lib/match/index.js".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
Done in 103.88s.

And here is the output of the second section : https://paste.yunohost.org/raw/abocuyabiv

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

from kresus_ynh.

nicdall avatar nicdall commented on July 26, 2024

My SWAP file is on an external SSD, perhaps this is causing the issue. I found this issue on yarn's Github which seems to be related, however I do not really understand how to fix it.

from kresus_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.