Comments (20)
Hi,
could you try installing libssl-dev
with apt and then try again please?
from kresus_ynh.
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.
Uh, without logs I cannot know what still fails…
from kresus_ynh.
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.
from kresus_ynh.
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.
What's the result of sudo df -h /var/log
?
I hear some distros put it in ram...
from kresus_ynh.
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.
OK, I don't know how to fix your RAM issue then. Maybe with some bigger swap?
from kresus_ynh.
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.
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.
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.
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.
What does /var/www/kresus/yarn-error.log
contain?
from kresus_ynh.
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.
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.
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.
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.
from kresus_ynh.
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)
- Build folder not cleaned on upgrade
- Error upgrading to 0.18.1~ynh7 (in the Typescript compilation) HOT 2
- Installation on yunohost image 11.0.10.2 does not work. HOT 2
- node-pre-gyp install --fallback-to-build error during installation HOT 9
- Conflict between virtualenv from pip (from an external installation) and apt HOT 9
- [multi-instance] : nginx conf for new instance and @ directives HOT 1
- No module named 'woob.tools.url' HOT 5
- two factors auth failure HOT 4
- Boursorama unsupported or Woob out HOT 2
- Installation failure on raspberry 4
- request entity too large on json import HOT 7
- Kresus App fails to open on Yunohost on Raspberry pi 4 from webadmin HOT 28
- Error upgrade from 0.19.4~ynh3 to 0.19.4~ynh4 HOT 4
- Error during upgrade 0.19.4~ynh4 to 0.20.0~ynh1 HOT 16
- Kresus does not work after upgrade from 0.19.4~ynh4 to 0.20.0~ynh1 HOT 4
- Alerts mail do not work HOT 4
- ERREUR en mise à jour Kresus HOT 10
- python-jose not installed during install HOT 4
- 0.20.1~ynh3 upgrade : Please install Woob 3.5 or later HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kresus_ynh.