toltec-dev / toltec

Community-maintained repository of free software for the reMarkable tablet.
https://toltec-dev.org
MIT License
717 stars 60 forks source link

Open-remarkable-shutdown not resolved during bootstrap installation on RM1 3.3.2.1666 #883

Closed kubycsolutions closed 3 months ago

kubycsolutions commented 3 months ago

Probably a self-inflicted wound from previous upgrade attempts, but I'm not sure how best to further diagnose and fix:

Downgraded my RM1 to 3.3.2.1666 using the codexctl tool with the --rm1 switch, rebooted and confirmed I was now on that version, then tried to install toltec using the commands in the readme.

It is reporting:

 * satisfy_dependencies_for: Cannot satisfy the following dependencies for toltec-base:
 *      open-remarkable-shutdown
 * opkg_install_cmd: Cannot install package toltec-base.
ERROR: Unexpected error on line bootstrap:233 in function main

Trying to run toltecctl status reports: -sh: toltecctl: command not found

Full console log of the toltec install sequence attached below. Let me know if there's anything I can do to help with analysis.



Connecting to toltec-dev.org (5.161.99.157:80)
wget: can't open 'bootstrap': File exists
reMarkable: ~/ rm -rf bootstrap
reMarkable: ~/ wget http://toltec-dev.org/bootstrap
Connecting to toltec-dev.org (5.161.99.157:80)
saving to 'bootstrap'
bootstrap            100% |**************************|  8230  0:00:00 ETA
'bootstrap' saved
reMarkable: ~/ echo "da2aebc6c09ec14f1217f31a5c79a4e74a7c3540b17d67adcd02a60cad72b1c9  bootstrap" | sha256sum -c && bash bootstrap
bootstrap: OK
INFO:  Fetching secure wget
INFO:  Bootstrapping Opkg
2024-06-04 19:38:33 URL:https://bin.entware.net/armv7sf-k3.2/installer/opkg [752572/752572] -> "/home/root/.local/bin/opkg" [1]
2024-06-04 19:38:35 URL:https://toltec-dev.org/stable/rmall/toltec-bootstrap_0.4.1-1_rmall.ipk [10410/10410] -> "/tmp/toltec-bootstrap_0.4.1-1_rmall.ipk" [1]
INFO:  Installing Toltec and Entware
Mounting '/home/root/.entware' over '/opt'
Created symlink /etc/systemd/system/local-fs.target.wants/opt.mount → /lib/systemd/system/opt.mount.
Downloading https://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading https://toltec-dev.org/stable/rmall/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/toltec-rmall
Downloading https://toltec-dev.org/stable/rm1/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/toltec-rm1
Downloading https://toltec-dev.org/stable/rmallos3/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/toltec-rmallos3
Downloading https://toltec-dev.org/stable/rm1os3/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/toltec-rm1os3
Installing entware-opt (227000-3) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-opt_227000-3_all.ipk
Installing libgcc (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libgcc_8.4.0-11_armv7-3.2.ipk
Installing libc (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libc_2.27-11_armv7-3.2.ipk
Installing libssp (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libssp_8.4.0-11_armv7-3.2.ipk
Installing libpthread (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libpthread_2.27-11_armv7-3.2.ipk
Installing librt (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/librt_2.27-11_armv7-3.2.ipk
Installing libstdcpp (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libstdcpp_8.4.0-11_armv7-3.2.ipk
Installing entware-release (2024.02-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-release_2024.02-1_all.ipk
Installing zoneinfo-core (2024a-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zoneinfo-core_2024a-1_armv7-3.2.ipk
Installing zoneinfo-asia (2024a-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zoneinfo-asia_2024a-1_armv7-3.2.ipk
Installing zoneinfo-europe (2024a-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zoneinfo-europe_2024a-1_armv7-3.2.ipk
Installing findutils (4.9.0-1a) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/findutils_4.9.0-1a_armv7-3.2.ipk
Installing terminfo (6.4-2a) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/terminfo_6.4-2a_armv7-3.2.ipk
Installing libpcre2 (10.42-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libpcre2_10.42-1_armv7-3.2.ipk
Installing grep (3.11-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/grep_3.11-1_armv7-3.2.ipk
Installing locales (2.27-9) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/locales_2.27-9_armv7-3.2.ipk
Installing opkg (2022-02-24-d038e5b6-2) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/opkg_2022-02-24-d038e5b6-2_armv7-3.2.ipk
Installing entware-upgrade (1.0-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-upgrade_1.0-1_all.ipk
Configuring libgcc.
Configuring libc.
Configuring libssp.
Configuring libpthread.
Configuring librt.
Configuring terminfo.
Configuring libpcre2.
Configuring grep.
Configuring locales.
Entware uses separate locale-archive file independent from main system
Creating locale archive /opt/usr/lib/locale/locale-archive
Adding en_EN.UTF-8
Adding ru_RU.UTF-8
You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring entware-upgrade.
Upgrade operations are not required.
Configuring opkg.
Configuring zoneinfo-core.
Configuring zoneinfo-europe.
Configuring zoneinfo-asia.
Configuring libstdcpp.
Configuring entware-release.
Configuring findutils.
Configuring entware-opt.
Installing toltec-base (1.3-4) to root...
Downloading https://toltec-dev.org/stable/rm1os3/toltec-base_1.3-4_rm1os3.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for toltec-base:
 *      open-remarkable-shutdown
 * opkg_install_cmd: Cannot install package toltec-base.
ERROR: Unexpected error on line bootstrap:233 in function main
ERROR: This script failed to install. If you can't solve the above
       issue yourself, please report it at:

           <https://github.com/toltec-dev/toltec/issues>

       (Please also include these error logs to help solving the
       problem faster. Thank you!)
Removing mount over '/opt'
Removed /etc/systemd/system/local-fs.target.wants/opt.mount.
reMarkable: ~/ toltecctl status
-sh: toltecctl: command not found
reMarkable: ~/```
kubycsolutions commented 3 months ago

In case it helps:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               235721    221574         0 100% /
devtmpfs                107168         0    107168   0% /dev
tmpfs                   238752         0    238752   0% /dev/shm
tmpfs                   238752       628    238124   0% /run
tmpfs                   238752         0    238752   0% /sys/fs/cgroup
tmpfs                   238752         8    238744   0% /tmp
tmpfs                   238752         0    238752   0% /var/volatile
/dev/mmcblk1p1           19486     11244      8242  58% /var/lib/uboot
/dev/mmcblk1p7         6847352   1000388   5476092  15% /home
reMarkable: ~/ ls -l log.txt
-rw-r--r--    1 root     root        187698 Jun  4 19:35 log.txt
reMarkable: ~/ grep -i error log.txt
Feb 11 15:59:27.869 Warning: Error on requesting integrations with : Not received, error: optional(Unspecified network error) (/home/runner/work/xochitl/xochitl/src/syncthirdparty/src/network.cpp:179, operator())
Feb 19 00:11:18.598 Critical: cannot open config file::/src/xofm/bundles/papertablet/papertablet.rm10x.json, error:No such file or directory (/home/runner/work/xochitl/xochitl/src/xofm/core/src/launcher.cpp:40, loadConfig)
Mar 16 23:50:40.573 Critical: cannot open config file::/src/xofm/bundles/papertablet/papertablet.rm10x.json, error:No such file or directory (/home/runner/work/xochitl/xochitl/src/xofm/core/src/launcher.cpp:40, loadConfig)
Mar 16 23:58:19.580 Critical: cannot open config file::/src/xofm/bundles/papertablet/papertablet.rm10x.json, error:No such file or directory (/home/runner/work/xochitl/xochitl/src/xofm/core/src/launcher.cpp:40, loadConfig)
Jun 02 00:03:36.571 Critical: cannot open config file::/src/xofm/bundles/papertablet/papertablet.rm10x.json, error:No such file or directory (/home/runner/work/xochitl/xochitl/src/xofm/core/src/launcher.cpp:40, loadConfig)
Jun 03 18:29:57.605 Critical: cannot open config file::/src/xofm/bundles/papertablet/papertablet.rm10x.json, error:No such file or directory (/home/runner/work/xochitl/xochitl/src/xofm/core/src/launcher.cpp:40, loadConfig)
Jun 03 19:01:58.734 Critical: cannot open config file::/src/xofm/bundles/papertablet/papertablet.rm10x.json, error:No such file or directory (/home/runner/work/xochitl/xochitl/src/xofm/core/src/launcher.cpp:40, loadConfig)
Jun 03 21:46:46.033 Warning: Network error: QNetworkReply::OperationCanceledError Payload: "" (:0, )
Jun 03 22:08:30.163 Warning: Error on requesting integrations with url  QUrl("https://internal.cloud.remarkable.com/integrations/v1/") (:0, )
Jun 03 22:08:30.164 Warning:    with error  QNetworkReply::HostNotFoundError (:0, )
Jun 03 22:09:01.001 Warning: user-authenticator-cli whoami returned with error: Type::NoStart with message Given executable path 'user-authenticator-cli', could not start with error 'execvp: No such file or directory' (/home/runner/work/xochitl/xochitl/src/xofm/modules/user/authcli.cpp:157, updateLoggedInState)
Jun 03 22:23:34.755 Warning: Network error: QNetworkReply::OperationCanceledError Payload: "" (:0, )
Jun 03 22:23:42.737 Warning: Error on requesting integrations with url  QUrl("") (:0, )
Jun 03 22:23:42.738 Warning:    with error  QNetworkReply::OperationCanceledError (:0, )
Jun 03 22:25:36.722 Warning: Network error: QNetworkReply::OperationCanceledError Payload: "" (:0, )
Jun 03 22:25:38.243 Warning: Error on requesting integrations with url  QUrl("") (:0, )
Jun 03 22:25:38.247 Warning:    with error  QNetworkReply::OperationCanceledError (:0, )
Jun 03 22:25:40.737 Warning: Error on requesting integrations with url  QUrl("") (:0, )
Jun 03 22:25:40.739 Warning:    with error  QNetworkReply::OperationCanceledError (:0, )
Jun 04 19:35:00.723 Warning: Network error: QNetworkReply::OperationCanceledError Payload: "" (:0, )
reMarkable: ~/

Again, let me know if there's any way I can help you help me. And I do understand that this isn't anyone's day job; I'm not expecting rapid response.

kubycsolutions commented 3 months ago

Good 'nuff. Try again next week.

Thanks again for all the work you've put into this!

Eeems commented 3 months ago

Good 'nuff. Try again next week.

Thanks again for all the work you've put into this!

Next week? I'd recommend trying right now. You opened this like 20 minutes before the changes made it to stable :)

kubycsolutions commented 3 months ago

Looks good:

Enabled: Yes
Supported: Yes
Branch: stable
Model: rm1
OS: 3.3.2.1666
reMarkable: ~/ opkg list oxide
oxide - 2.7-7 - Launcher application
reMarkable: ~/

Any guidance on whether/why to start with oxide, remux, or draft? (Feel free to tell me to Read The Fine Manual; I'm just trying to quickstart.)

Eeems commented 3 months ago

https://remarkable.guide/guide/software/launcher.html

I would not recommend draft at this point.