Comments (20)
Quick update:
Decided to also try it running Raspberry PI OS 64 bits, to see if by chance the build would behave differently.
Running Appimage:
Still needed to do:
sudo apt-get install libfuse-dev
And build failed same way
from arduino-ide-raspberrypi.
I've built Arduino IDE 2.0.4-nightly-20230104 for arm64, no problems.
Mail me if you want the build logs.
from arduino-ide-raspberrypi.
Thanks,
I tried again today. This time, I did delete the previous forks of the projects, and then forked again, and followed steps.
(Probably missed something). I did it on the Ubuntu 22.04 branch.
However now when I try to startup the script, it looks like it wants to update the runner and then bails.
If I return it again it repeats trying to update:
kurte@kurte-desktop:~$ sudo ./docker-github-actions-runner.sh
+ WORK_DIR=/root/src
+ ACCESS_TOKEN=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
+ REPO_URL=https://github.com/kurte/arduino-ide
+ RUNNER_URL=https://github.com/kurte/docker-github-actions-runner
+ DISABLE_AUTO_UPDATE=1
+ command -v docker
/usr/bin/docker
+ command -v git
/usr/bin/git
++ docker image inspect self-hosted-runner '--format=""'
+ '[' '!' '""' ']'
+ docker run --env ACCESS_TOKEN=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 --env RUNNER_SCOPE=repo --env REPO_URL=https://github.com/kurte/ardui no-ide --env RUNNER_NAME=arduino-ide-runner self-hosted-runner
Runner reusage is disabled
Obtaining the token of the runner
Configuring
--------------------------------------------------------------------------------
| ____ _ _ _ _ _ _ _ _ |
| / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ |
| | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| |
| | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ |
| \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ |
| |
| Self-hosted runner registration |
| |
--------------------------------------------------------------------------------
# Authentication
√ Connected to GitHub
# Runner Registration
A runner exists with the same name
√ Successfully replaced the runner
√ Runner connection is good
# Runner settings
√ Settings Saved.
Downloading and installing node v14.0.0...
od: '': No such file or directory
Downloading https://nodejs.org/dist/v14.0.0/node-v14.0.0-linux-arm64.tar.xz...
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v14.0.0 (npm v6.14.4)
Creating default alias: default -> 14.0.0 (-> v14.0.0 *)
> [email protected] preinstall /root/.nvm/versions/node/v14.0.0/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)
/root/.nvm/versions/node/v14.0.0/bin/yarn -> /root/.nvm/versions/node/v14.0.0/lib/node_modules/yarn/bin/yarn.js
/root/.nvm/versions/node/v14.0.0/bin/yarnpkg -> /root/.nvm/versions/node/v14.0.0/lib/node_modules/yarn/bin/yarn.js
+ [email protected]
added 1 package in 2.508s
√ Connected to GitHub
Current runner version: '2.299.1'
2023-01-04 19:54:10Z: Listening for Jobs
Runner update in progress, do not shutdown runner.
Downloading 2.300.2 runner
Waiting for current job finish running.
Generate and execute update script.
Runner will exit shortly for update, should be back online within 10 seconds.
Runner update process finished.
kurte@kurte-desktop:~$
Note: My Ubuntu was the same as previous build. I will retry again with clean RPI OS 64 setup and see if that makes a difference
Thanks
EDIT: Oops - it showed the access token. Github caught that and disabled that token. So will be using a different one
from arduino-ide-raspberrypi.
from arduino-ide-raspberrypi.
Thanks,
I tried again doing using Raspian, Started from a clean setup: Used the Raspberry PI Imager sketch and had it flash the second SSD that I am using. I let it go through all of the updates and then followed the steps (I think). Earlier I had deleted my forks of the two git projects and the recloned them and applied the changes.
kurte@raspberrypi:~ $ uname -a
Linux raspberrypi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux
kurte@raspberrypi:~ $
I then triggered for a build, and it did not give me the same issue with the trying to update. But it still failed:
Run is up at: https://github.com/KurtE/arduino-ide/actions/runs/3841116721
I am guessing that the first failures are in:
uncaught exception, please report (https://github.com/verdaccio/verdaccio/issues) this:
Error: ENOENT: no such file or directory, unlink '/_work/arduino-ide/arduino-ide/electron/packager/npm-registry/storage/app-builder-bin/app-builder-bin-4.0.0.tgz.tmp-4811256808468056'
error--- unexpected error: Timeout awaiting 'request' for 30000ms
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)
error--- unexpected error: Timeout awaiting 'request' for 30000ms
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:[628](https://github.com/KurtE/arduino-ide/actions/runs/3841116721/jobs/6544812243#step:7:629):26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)
error-=- error on open write tarball for undefined
info There appears to be trouble with your network connection. Retrying...
from arduino-ide-raspberrypi.
verdaccio is a recent addition, I assume.
But 30 seconds timeout - this is a lot. It could be a network problem, of course.
But I'd check other things: Is memory or disk (flash) overcomitted? It's not trying to swap on flash?
The system I'm using is 8gb ram, and running from an external usb disk "Samsung Portable SSD T5". micro-sd card was painfully slow.
from arduino-ide-raspberrypi.
Taking a look at your run versus mine: it appears like it is failing in the fetching packages every time:
Yours goes:
2023-01-04T14:45:43.4942470Z [3/5] Fetching packages...
2023-01-04T14:46:31.0575777Z [4/5] Linking dependencies...
Where mine fails in the 3/5 section:
2023-01-05T01:31:25.4147361Z [3/5] Fetching packages...
2023-01-05T01:31:56.9833320Z uncaught exception, please report (https://github.com/verdaccio/verdaccio/issues) this:
2023-01-05T01:31:56.9840723Z Error: ENOENT: no such file or directory, unlink '/_work/arduino-ide/arduino-ide/electron/packager/npm-registry/storage/app-builder-bin/app-builder-bin-4.0.0.tgz.tmp-4811256808468056'
2023-01-05T01:31:57.3002354Z �[31merror�[39m�[37m�[34m---�[37m unexpected error: �[31mTimeout awaiting 'request' for 30000ms�[37m
2023-01-05T01:31:57.3008483Z RequestError: Timeout awaiting 'request' for 30000ms
2023-01-05T01:31:57.3015974Z at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
2023-01-05T01:31:57.3020649Z at Object.onceWrapper (node:events:628:26)
2023-01-05T01:31:57.3024479Z at ClientRequest.emit (node:events:525:35)
2023-01-05T01:31:57.3032445Z at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/
RPI4 wise, I think mine might be running on a 4gb memory one.
It is running on a USB 250gb SSD (https://smile.amazon.com/dp/B095P3ZT2B)
I don't believe I have virtual memory enabled on this one yet. May try that.
EDIT:
kurte@raspberrypi:~ $ free -h
total used free shared buff/cache available
Mem: 7.6Gi 314Mi 6.6Gi 85Mi 785Mi 7.1Gi
Swap: 99Mi 0B 99Mi
kurte@raspberrypi:~ $
from arduino-ide-raspberrypi.
OK. 8gb ram, an external usb disk. This ought to work. Can you access the github url from the raspberry? Disk not full? /tmp has space?
from arduino-ide-raspberrypi.
Not sure what to try next?
Note: I plugged in the other SSD running UBuntu. And I updated docker, setup to run without needing sudo...
This one is only 120gb.
kurte@kurte-desktop:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 799428 3896 795532 1% /run
/dev/sda2 115003084 35619528 74612872 33% /
tmpfs 3997128 0 3997128 0% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
/dev/sda1 258095 158343 99752 62% /boot/firmware
tmpfs 799424 2408 797016 1% /run/user/1000
Looks like it is failing the same way.
Will double check that there were not any new changes since I synced up to this github.
I should have access through the ghp_...
But unclear if there is any special permissions needed here?
Will double check...
from arduino-ide-raspberrypi.
Quick update to two posts ago...
[3/5] Fetching packages...
uncaught exception, please report (https://github.com/verdaccio/verdaccio/issues) this:
Error: ENOENT: no such file or directory, unlink '/_work/arduino-ide/arduino-ide/electron/packager/npm-registry/storage/app-builder-bin/app-builder-bin-4.0.0.tgz.tmp-8661809812005279'
�[31merror�[39m�[37m�[34m---�[37m unexpected error: �[31mTimeout awaiting 'request' for 30000ms�[37m
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)�[39m
�[31merror�[39m�[37m�[34m---�[37m unexpected error: �[31mTimeout awaiting 'request' for 30000ms�[37m
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)�[39m
�[31merror�[39m�[37m�[30m-=-�[37m error on open write tarball for �[90mundefined�[37m�[39m
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "http://localhost:4873/app-builder-bin/-/app-builder-bin-4.0.0.tgz: connect ECONNREFUSED 127.0.0.1:4873".
info If you think this is a bug, please open a bug report with the information provided in "/_work/arduino-ide/arduino-ide/electron/build/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
🔧 >>> [Restore] Renaming the root '.node_modules' folder to 'node_modules'...
👌 >>> [Restore] Renamed the root '.node_modules' folder to 'node_modules'.
/_work/arduino-ide/arduino-ide/electron/packager/index.js:17
throw error;
^
So It appears like localhost is failing for port 4873? Sorry I am not sure what that all means
from arduino-ide-raspberrypi.
from arduino-ide-raspberrypi.
from arduino-ide-raspberrypi.
Thanks,
I tried a few more things yesterday, like to preinstall verdaccio... So far none of them have gone beyond that point.
Some of the failures other people have mentioned about connecting to 4873, some mentioned they were able to fix it by adding a listen: .. to 4873 in a config file. Not sure if the verdaccio config file or their own usage of it.
Thanks again
from arduino-ide-raspberrypi.
Hi.
I've installed Ubuntu Desktop 22.10 64-bit on an sdcard using rpi-imager.
Compilation of arduino-ide 2 was uneventful.
Enclosed the commands I've typed to compile arduino-ide-2, and screenshots.
ide2.txt
Artifacts over at https://github.com/koendv-test/arduino-ide
hth,
koen
from arduino-ide-raspberrypi.
Thanks, I will try again.
Looks like your Arduino was up to date with Arduino
as well as your other docker ...
So assuming your patch files up on github match the ones you are using.
It should work the same... (Famous last words)
Noticed a few differences in some of commands, which I will try to emulate.
Some probably don't make any differences.
I forked my libraries earlier into ~/github and looks like you did ~/src
sudo apt-get install -y uidmap
dockerd-rootless-setuptool.sh install
wget https://raw.githubusercontent.com/koendv/arduino-ide-raspberrypi/main/docker-github-actions-runner.sh
(edit REPO_URL=https://github.com/koendv-test/arduino-ide RUNNER_URL=https://github.com/koendv-test/docker-github-actions-runner )
rm -rf docker-github-actions-runner arduino-ide
chmod +x ./docker-github-actions-runner.sh
sudo ./docker-github-actions-runner.sh
in particular these two lines:
sudo apt-get install -y uidmap
dockerd-rootless-setuptool.sh install
And you are running the ./dociker with sudo....
I was in earlier attempts, but later add my self to the docker group...
Again thanks will let you know how the run goes. Right not reimaging the one SSD
from arduino-ide-raspberrypi.
Thanks again,
But for whatever reason, I still appear to fail.
I tried again this morning, I re-flashed the Ubuntu 22.10, First boot, I did the normal: apt update/upgrade stuff, and rebooted.
I started off with your ide2.txt, file, but edited it to make sure I did not use in the of the koen... names except for the few places
expected:
ide2.txt
One main thing I changed was, you had: <note I added the ### stuff in the file for all lines you did not execute on the RPI
###(browser) fork https://github.com/koendv-test/docker-github-actions-runner
to:
###(browser) fork https://github.com/myong34/docker-github-actions-runner
I then in a terminal window, did mostly cut and paste operations, to hopefully make sure I did not screw anything up.
Here is the full run from the terminal window:
ide2_run.txt
The run is up at:
https://github.com/KurtE/arduino-ide/actions/runs/3875339933
It again died at:
[3/5] Fetching packages...
uncaught exception, please report (https://github.com/verdaccio/verdaccio/issues) this:
Error: ENOENT: no such file or directory, unlink '/_work/arduino-ide/arduino-ide/electron/packager/npm-registry/storage/app-builder-bin/app-builder-bin-4.0.0.tgz.tmp-8152669989067665'
error--- unexpected error: Timeout awaiting 'request' for 30000ms
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)
error--- unexpected error: Timeout awaiting 'request' for 30000ms
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:[628](https://github.com/KurtE/arduino-ide/actions/runs/3875339933/jobs/6607737835#step:7:629):26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)
error-=- error on open write tarball for undefined
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "http://localhost:4873/app-builder-bin/-/app-builder-bin-4.0.0.tgz: connect ECONNREFUSED 127.0.0.1:4873".
info If you think this is a bug, please open a bug report with the information provided in "/_work/arduino-ide/arduino-ide/electron/build/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
🔧 >>> [Restore] Renaming the root '.node_modules' folder to 'node_modules'...
👌 >>> [Restore] Renamed the root '.node_modules' folder to 'node_modules'.
/_work/arduino-ide/arduino-ide/electron/packa[3/5] Fetching packages...
uncaught exception, please report (https://github.com/verdaccio/verdaccio/issues) this:
Error: ENOENT: no such file or directory, unlink '/_work/arduino-ide/arduino-ide/electron/packager/npm-registry/storage/app-builder-bin/app-builder-bin-4.0.0.tgz.tmp-8152669989067665'
error--- unexpected error: Timeout awaiting 'request' for 30000ms
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)
error--- unexpected error: Timeout awaiting 'request' for 30000ms
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:[628](https://github.com/KurtE/arduino-ide/actions/runs/3875339933/jobs/6607737835#step:7:629):26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)
error-=- error on open write tarball for undefined
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "http://localhost:4873/app-builder-bin/-/app-builder-bin-4.0.0.tgz: connect ECONNREFUSED 127.0.0.1:4873".
info If you think this is a bug, please open a bug report with the information provided in "/_work/arduino-ide/arduino-ide/electron/build/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
🔧 >>> [Restore] Renaming the root '.node_modules' folder to 'node_modules'...
👌 >>> [Restore] Renamed the root '.node_modules' folder to 'node_modules'.
/_work/arduino-ide/arduino-ide/electron/packager/index.js:17
throw error;
^
ger/index.js:17
throw error;
^
In particular, I am not sure why you might have the file I don't for the error: ENOENT: no such file or directory, unlink '/_work/arduino-ide/arduino-ide/electron/packager/npm-registry/storage/app-builder-bin/app-builder-bin-4.0.0.tgz.tmp-8152669989067665'
Not sure what else to try?
Could it be you have: permissions to some site/page I don't?
Or different versions of git that works differently?
Or setup some additional stuff, like also registered a git authority stuff where maybe browser will authorize the git session?
Suppose I could try running it on different RPI4, not sure what difference that would make. My only other one is a 2mb version.
But for the most part I was only doing this as there was not a 2.0.3 or later build.
Thanks again for doing all of this!
Kurt
from arduino-ide-raspberrypi.
from arduino-ide-raspberrypi.
Quick update:
I am also a simple github user as well - i.e. the free plan.
access token: tried with two of them. First one, just some stuff set, the last one had all....
I went ahead and tried it on the other RPI4 with 2GB, burned fresh 64gb SD card with Ubuntu 22.10
Went through most of the same steps and failed.
ide2_run_rpi2gb.txt
I noticed in that run it gave some messages:
[INFO] Creating CLI context "rootless"
Successfully created context "rootless"
[INFO] Use CLI context "rootless"
Current context is now "rootless"
[INFO] Make sure the following environment variables are set (or add them to ~/.bashrc):
export PATH=/usr/bin:$PATH
Some applications may require the following environment variable too:
export DOCKER_HOST=unix:///run/user/1000/docker.sock
So I added lines at end of bashrc and sourced it.
Did not appear to help.
As you mentioned, you did ot do the docker. rmi stuff as like you I was working from a freshly flashed OS
from arduino-ide-raspberrypi.
Quick update: I re-tried, deleted the arduino-ide github project as well as the other one, reforked and followed the steps to patch.
I did the steps you mentioned about cleaning out the docker... Still fails.
This last run was agon on Ubuntu 22.10. Same error.
Wondering if it would make sense to raise an issue on:
https://github.com/verdaccio/verdaccio/issues ?
As the output suggests?
[3/5] Fetching packages...
uncaught exception, please report (https://github.com/verdaccio/verdaccio/issues) this:
Error: ENOENT: no such file or directory, unlink '/_work/arduino-ide/arduino-ide/electron/packager/npm-registry/storage/app-builder-bin/app-builder-bin-4.0.0.tgz.tmp-08173317577580286'
error--- unexpected error: Timeout awaiting 'request' for 30000ms
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)
error--- unexpected error: Timeout awaiting 'request' for 30000ms
RequestError: Timeout awaiting 'request' for 30000ms
at ClientRequest.<anonymous> (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/index.js:970:65)
at Object.onceWrapper (node:events:[628](https://github.com/KurtE/arduino-ide/actions/runs/3924881751/jobs/6709434473#step:7:629):26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Timeout.timeoutHandler [as _onTimeout] (/_work/arduino-ide/arduino-ide/electron/packager/node_modules/got/dist/source/core/utils/timed-out.js:36:25)
at listOnTimeout (node:internal/timers:561:11)
at processTimers (node:internal/timers:502:7)
error-=- error on open write tarball for undefined
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "http://localhost:4873/app-builder-bin/-/app-builder-bin-4.0.0.tgz: connect ECONNREFUSED 127.0.0.1:4873".
info If you think this is a bug, please open a bug report with the information provided in "/_work/arduino-ide/arduino-ide/electron/build/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
🔧 >>> [Restore] Renaming the root '.node_modules' folder to 'node_modules'...
👌 >>> [Restore] Renamed the root '.node_modules' folder to 'node_modules'.
/_work/arduino-ide/arduino-ide/electron/packager/index.js:17
throw error;
^
from arduino-ide-raspberrypi.
from arduino-ide-raspberrypi.
Related Issues (5)
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 arduino-ide-raspberrypi.