No limit
Never grew up

Solution to the failure of registry query of Groupware Docker and the installation of Memos

The last blog post mentioned Groupware Docker registry query failed , this article provides my own solution to the success of personal testing.

Updated at 23:37:42 on July 16, 2023
The latest solution is to manually upgrade Qunhui to DSM7.2, add the Container Manager application (the original Docker), and officially solve the problem of registry query failure. It is recommended to upgrade!

The following is the original text of the blog, and there is no need to upgrade Qunhui DSM:

Solution to the failure of registry query of Groupware Docker

1. Click Groupware Docker - Registry - Settings, click to select Docker Hub, click after the "Edit" button lights up, check the "Enable Registry Image" checkbox, and fill in the "Registry Image URL:"“ https://registry.docker-cn.com ”, confirm.

 Solution to the failure of registry query of Groupware Docker

Solution to the failure of query on the registry of Groupware Docker - Edit the registry

2. Click Qunhui Network - General - check "Manually configure DNS server", fill 8.8.8.8 for the preferred DNS server and 223.6.6.6 for the standby DNS server, and then confirm.

 Solution to the failure of registry query of Groupware Docker - Modify DNS

Solution to the failure of registry query of Groupware Docker - Modify DNS

Ignore the "Connect through proxy server" in the figure above, because the software I use only supports the SOCKS protocol, not http, otherwise there will be no further steps, if you have it, you can also skip looking down.

3. Using SSH client, I use XSHELL, and other software is similar.
First, enable the SSH function of Qunhui, the terminal and the SNMP terminal, click to check "Enable SSH function", and the port defaults to "22".

 Enable Qunhui SSH function

Enable Qunhui SSH function

On the Xshell host, fill in the IP address and port number of Qunhui. The account is the user account of Qunhui, and the password is the login password of Qunhui.

Input:

 sudo -i

After entering, you will be prompted to enter the password. The password will not be displayed. After entering, enter. The first time I typed the wrong password, I typed it again.

The following is the command to install memos. You can also install other programs.

Qunhui Docker installs Memos

Input:

 docker pull neosmemo/memos:latest

Wait until the download is complete.
Note: I installed the test version, so the entered docker pull neosmemo/memos: test

 SSH software pulls Docker's Memos software

SSH software pulls Docker's Memos software

4-1. Continue to enter commands in the Xshell:

 docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos neosmemo/memos:latest

Since then, you can access Memos directly through ip: 5230.

Of course, it can also be set through the graphical interface without command. Choose one of the two methods.

4-2、
Return to Qunhui Docker. Click "Container" - "Add", click to select neosmemo/memos: latest, click Next, and follow the steps below to set.

 Check neosmemo/memos: latest

Check neosmemo/memos: latest

I installed the test version. The final tag is slightly different.

 Click "Use selected network"

Click "Use selected network"

This interface can be kept as default or the container name can be modified. I changed it to memos.

 General Settings - Container Name

General Settings - Container Name

The "Enable Automatic Restart" in the figure above does not matter if it is checked.

Set the port to 5230.

 port settings

port settings

Click Add Folder in Storage Space Settings.

 Click to add "folder"

Click to add "folder"

Fill in the mount path with:

 /var/opt/memos
 Storage space settings

Storage space settings

In the summary interface, you can check whether the settings are correct, and click Finish.

 Container Summary

Container Summary

Returning to the container interface, you can see that Memos is displayed and running.

 Status of Memos in the container

Status of Memos in the container

The database storage path of Memos.

 Memos database

Memos database

Note that the user is created when logging in to the Memo login interface for the first time.

 Login interface of Memos

Login interface of Memos

Memos main interface.

 Main interface of Memos

Main interface of Memos

The first time I went in, it was in English. To change it to Chinese, click Settings – Preferences – Language and select Chinese (simplified).

The installation process is complete.


Advanced Memos

Memos is a fragmented knowledge card management tool and a self managed knowledge base note system. Because of its open source, free, easy to use, and beautiful interface, it has been used and loved by more and more people in more than a year, and many people have participated in contributing to various extensions. The current official GitHub lists the following clients and extensions.

I have installed the iOS and Android clients, and prompted that SSL is required. Qunhui has set up DDNS, and can only use its own registered name http ://XXXX: 5230 Access Memos, unable to add.

In the evening, I thought about how to set up Qunhui reverse proxy, which really let me find.

Find the Group Hui login portal, click Advanced - Reverse Proxy Server - Add, as shown in the following figure, set and save.

 Qunhui reverse proxy server rules

Qunhui reverse proxy server rules

Now you can use https ://XXXX: 5231, and then copy the OpenAPI in Memos to the client. So far, the browser, mobile phone and iPad Poro have been synchronized.

 Memos iPad client interface

Memos iPad client interface

Like( zero ) Reward
Do not reprint without permission: Zigen's blog » Solution to the failure of registry query of Groupware Docker and the installation of Memos

comment four

  1. #-19

    It's really not easy to give a nanny class tutorial. A dozen pictures are time-consuming and laborious.

    Lao Zhang's Blog 11 months ago (06-25) reply
    • The tutorial must be careful, so that you can set it later or by others. It is tiring. If there are too many pictures, it will take up space.

      Child mark 11 months ago (06-27) reply
  2. #-18

    At 3:33 in the morning, I like you. Guangzhou Telecom, available through personal testing

    handsome guy 4 months ago (01-24) reply

Reward the author of the article if you think it is useful

Thank you very much for your reward, we will continue to give more high-quality content, let's create a better online world together!

Scan Alipay and reward