Fair enough, the point was that it can fix those strange errors sometimes, and since you seem to be struggling with a lot of stuff it was a valid point to raise.
md array setup
-
-
Indeed, no complaints on sending suggestions my way, I appreciate your help. I do see the 500 error in other situations, and after looking over the list you linked I'll be sure to do the ctrl-shift-R when I do, that refreshes in firefox.
-
the wetty plugin will have issues if your system can't download the wetty docker image (docker.io/wettyoss/wetty:latest).
what is the output of:
sudo podman image ls --all
sudo podman pull docker.io/wettyoss/wetty:latest
-
-
Oh, well that's important! There should be a msg about a dependency on docker. I do understand that docker is required for many add ons, but I didn't see that mentioned for WeTTY. When I was trying it initially omv extras & compose wasn't installed. It is now, and was the last time I tried it. The 2nd of those appeared to have pulled some stuff down, but still can't enable it without a 500 error. I did do a ctrl-shft-R before & after clicking Save too.
Is it possibly related to not having any shared space available? Until just now, the only storage was on the boot drive. Now that the 2TB MD initialization has completed I have created an LVM volume group and a Shared_Space logical volume. However I don't see anywhere WeTTY asks for any space so it seems unlikely to be related to that.
Here is the results of those 2 commands:Code# podman image ls --all REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/library/mariadb latest 92520f86618b 2 weeks ago 412 MB docker.io/photoprism/photoprism latest e96d2e809377 7 weeks ago 2.12 GB docker.io/library/caddy latest adf4aeafa6ae 2 months ago 49.8 MB docker.io/filebrowser/filebrowser latest 8f53a859c356 3 months ago 32.1 MB docker.io/wettyoss/wetty latest fed698564d8b 23 months ago 459 MB
Code
Display More# podman pull docker.io/wettyoss/wetty:latest Trying to pull docker.io/wettyoss/wetty:latest... Getting image source signatures Copying blob 61cefbfca1a9 skipped: already exists Copying blob fe299d5780c0 skipped: already exists Copying blob e2c1a789ace8 skipped: already exists Copying blob 2baf0684399d skipped: already exists Copying blob c34a027bbf26 skipped: already exists Copying blob f379b689aea3 skipped: already exists Copying blob f7b24f077e5d skipped: already exists Copying blob d7f3ac6be6ef skipped: already exists Copying blob 213ec9aee27d skipped: already exists Copying config fed698564d done Writing manifest to image destination Storing signatures fed698564d8baac68ff3c87d3ab2de3eb60736f6b167959dbc488c9f5ebc50ae
-
Oh, well that's important! There should be a msg about a dependency on docker. I do understand that docker is required for many add ons, but I didn't see that mentioned for WeTTY. When I was trying it initially omv extras & compose wasn't installed. It is now, and was the last time I tried it. The 2nd of those appeared to have pulled some stuff down, but still can't enable it without a 500 error. I did do a ctrl-shft-R before & after clicking Save too.
It doesn't depend on docker. It uses podman which shares nothing with omv-extras, compose plugin, or docker as a service. It does download the wetty docker image.
Is it possibly related to not having any shared space available?
No. wetty will keep the needed files for the container on the OS drive. There is no data in those files since it can easily be downloaded again.
Here is the results of those 2 commands:
It looks like the image is already on your system. What is the output of:
sudo omv-salt deploy run wetty
sudo podman exec -it wetty /bin/bash
-
I'm confused, you say it doesn't depend on docker but downloads the docker image. The 2nd exec command (podman exec -it wetty /bin/bash) says no such container (actually so does the 1st command).
Code
Display More# omv-salt deploy run wetty debian: ---------- ID: stop_wetty_service Function: service.dead Name: container-wetty Result: True Comment: The named service container-wetty is not available Started: 22:08:42.846404 Duration: 10.876 ms Changes: ---------- ID: remove_wetty_container_systemd_unit_file Function: file.absent Name: /etc/systemd/system/container-wetty.service Result: True Comment: File /etc/systemd/system/container-wetty.service is not present Started: 22:08:42.859058 Duration: 0.517 ms Changes: ---------- ID: wetty_systemctl_daemon_reload Function: module.run Result: True Comment: service.systemctl_reload: True Started: 22:08:42.860208 Duration: 375.701 ms Changes: ---------- service.systemctl_reload: True Summary for debian ------------ Succeeded: 3 (changed=1) Failed: 0 ------------ Total states run: 3 Total run time: 387.094 ms
-
-
I'm confused, you say it doesn't depend on docker but downloads the docker image.
docker is a service. podman is not docker. docker and docker images are two different things. podman can use docker images and that is what the wetty plugin does. So, the plugin does not depend on docker (the service).
The 2nd exec command (podman exec -it wetty /bin/bash) says no such container (actually so does the 1st command).
The saltstack output tells me that you don't have wetty enabled in the omv web interface. Check the "Enabled" checkbox and click save. Don't click apply. Rerun the commands from post #25.
-
Quote
podman can use docker images
That's the part I didn't know.
There is no "Apply", only Open UI, Cancel & Save. You're right, the service isn't enabled; when I check that box & click Save I get the 500 error. -
There is no "Apply"
Apply is the yellow bar that pops up after clicking save.
the service isn't enabled; when I check that box & click Save I get the 500 error.
What about:
sudo apt-get purge openmediavault-wetty
sudo omv-mkworkbench all
sudo apt-get install openmediavault-wetty
ctrl-shift-R in the web interface
try to enable and save
-
-
1st time it appeared to succeed, but no listener existed on the default port 2222. When I tried to change the port and click save, got the 500 error. Reset the port to 2222 still got 500 error on Save. Using ss -anl | grep tcp to check open ports.
After running the commands in post 29 and returning to the web browser, the yellow Apply box is displayed, service not enabled, default port 2222. NOT clicking Apply but instead doing ctrl-shft-R yields the very same state with yellow Apply box showing. Clicking check mark on yellow Apply box says, "Saving configuration...". After a short time of spinner, results in green success. Checking Enable box and trying to save results in 500 error.
Repeated the purge / reinstall, yellow apply box appears on ctrl-shft-R. I've tried several combinations but no success. I presume the steps in post 29 essentially is a purge & reinstall, so should be a fresh state? If so something isn't being taken into account.Code
Display More# apt-get purge openmediavault-wetty Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: openmediavault-wetty* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 139 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 40933 files and directories currently installed.) Removing openmediavault-wetty (7.0-2) ... Failed to stop container-wetty.service: Unit container-wetty.service not loaded. Removing systemd unit files ... Untagged: docker.io/wettyoss/wetty:latest Deleted: fed698564d8baac68ff3c87d3ab2de3eb60736f6b167959dbc488c9f5ebc50ae Mark modules as dirty ... Processing triggers for openmediavault (7.4.6-1) ... Restarting engine daemon ... Updating workbench configuration files ... (Reading database ... 40890 files and directories currently installed.) Purging configuration files for openmediavault-wetty (7.0-2) ... Removing systemd unit files ... Error: docker.io/wettyoss/wetty:latest: image not known Mark modules as dirty ... Cleaning up configuration database ... Processing triggers for openmediavault (7.4.6-1) ... Updating workbench configuration files ... # omv-mkworkbench all # apt-get install openmediavault-wetty Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: openmediavault-wetty 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/12.9 kB of archives. After this operation, 139 kB of additional disk space will be used. Selecting previously unselected package openmediavault-wetty. (Reading database ... 40893 files and directories currently installed.) Preparing to unpack .../openmediavault-wetty_7.0-2_all.deb ... Unpacking openmediavault-wetty (7.0-2) ... Setting up openmediavault-wetty (7.0-2) ... Trying to pull docker.io/wettyoss/wetty:latest... Getting image source signatures Copying blob e2c1a789ace8 done Copying blob f379b689aea3 done Copying blob 213ec9aee27d done Copying blob c34a027bbf26 done Copying blob fe299d5780c0 done Copying blob 61cefbfca1a9 done Copying blob f7b24f077e5d done Copying blob 2baf0684399d done Copying blob d7f3ac6be6ef done Copying config fed698564d done Writing manifest to image destination Storing signatures fed698564d8baac68ff3c87d3ab2de3eb60736f6b167959dbc488c9f5ebc50ae Updating configuration database ... Updating configuration ... Processing triggers for openmediavault (7.4.6-1) ... Updating workbench configuration files ... Restarting engine daemon ... #
-
I presume the steps in post 29 essentially is a purge & reinstall, so should be a fresh state?
For the most part. it should be in a fresh state. The podman man stuff isn't purge when the plugin is. I have tried to reproduce but I can't. I guess you could file a bug report to have Volker look at it (he wrote the plugin) but it might just be easier to use wetty in a docker compose file (an example is available in the compose plugin).
-
Ok, well you gave it a good try to resolve. I truly appreciate your efforts!
I need to study the info on docker / compose. The plugins are installed but my first glance at the help leads me to think there's some non-trivial config required before it's ready for use.
Have a wonderful weekend sir! -
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!