[GH-ISSUE #724] failed to initialize Lua VM #322

Open
opened 2026-02-26 10:31:52 +03:00 by kerem · 0 comments
Owner

Originally created by @jeansitplay on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/724

Originally assigned to: @avdddd1111 on GitHub.

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

onlyoffice/documentserver:latest

Expected Behavior

in the macbook pro m3max can normal run the docker onlyoffice/documentserver:latest

Actual Behavior

1. can run the docker onlyoffice/docuemntserver:latest, but nginx start fail

3. nginx fail info below
2021/10/09 00:53:51 [info] 842#842: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63
2024/03/27 00:35:42 [error] 2018#2018: failed to initialize Lua VM in /etc/nginx/nginx.conf:63
2024/03/27 00:40:12 [error] 18243#18243: failed to initialize Lua VM in /etc/nginx/nginx.conf:63

Reproduction Steps

1. my local development environment

macbook pro m3max

2. in the terminal execute this command

sudo docker run -i -t -d -p 80:80 --restart=always
-v /Users/{personal}/Downloads/onlyoffice/DocumentServer/logs:/var/log/onlyoffice
-v /Users/{personal}/Downloads/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data
-v /Users/{personal}/Downloads/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice
-v /Users/{personal}/Downloads/onlyoffice/DocumentServer/db:/var/lib/postgresql
-e JWT_ENABLED=false onlyoffice/documentserver:latest

3. docker log segment

2024-03-27 08:34:30 sed: -e expression ONLYOFFICE/DocumentServer#1, char 25: unknown option to `s'
2024-03-27 08:34:35 * Starting PostgreSQL 12 database server [ OK ]
2024-03-27 08:35:39 * Starting RabbitMQ Messaging Server rabbitmq-server [ OK ]
2024-03-27 08:35:41 Starting supervisor: supervisord.
2024-03-27 08:35:41 * Starting periodic command scheduler cron [ OK ]
2024-03-27 08:35:42 * Starting nginx nginx [fail]
2024-03-27 08:36:37 Generating AllFonts.js, please wait...Done
2024-03-27 08:38:47 Generating presentation themes, please wait...Done
2024-03-27 08:38:48 ds:docservice: stopped
2024-03-27 08:38:49 ds:docservice: started
2024-03-27 08:38:50 ds:converter: stopped
2024-03-27 08:38:51 ds:converter: started
2024-03-27 08:40:12 * Reloading nginx configuration nginx [fail]

4. so go to nginx configuration to find the error log path

cd /etc/nginx/nginx.conf

5. see the print content of error.log

2021/10/09 00:53:51 [info] 842#842: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63
2024/03/27 00:35:42 [error] 2018#2018: failed to initialize Lua VM in /etc/nginx/nginx.conf:63
2024/03/27 00:40:12 [error] 18243#18243: failed to initialize Lua VM in /etc/nginx/nginx.conf:63

above is all, have another computer with macbook intel chip and use docker is can normal correct run the document-server, so i think this is because the M serial chip cause this error, but i cannot slove this problem. anybody can help me ?

Additional information

No response

Originally created by @jeansitplay on GitHub (Mar 27, 2024). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/724 Originally assigned to: @avdddd1111 on GitHub. ### This issue is unique. - [X] I have used the [search tool](https://github.com/ONLYOFFICE/DocumentServer/issues?q=) and did not find an issue describing my bug. ### Operating System of DocumentServer Docker ### Version information onlyoffice/documentserver:latest ### Expected Behavior **in the macbook pro m3max can normal run the docker onlyoffice/documentserver:latest** ### Actual Behavior **1. can run the docker onlyoffice/docuemntserver:latest, but nginx start fail** **3. nginx fail info below** 2021/10/09 00:53:51 [info] 842#842: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63 2024/03/27 00:35:42 [error] 2018#2018: failed to initialize Lua VM in /etc/nginx/nginx.conf:63 2024/03/27 00:40:12 [error] 18243#18243: failed to initialize Lua VM in /etc/nginx/nginx.conf:63 ### Reproduction Steps ### **1. my local development environment** macbook pro m3max ### **2. in the terminal execute this command** sudo docker run -i -t -d -p 80:80 --restart=always \ -v /Users/{personal}/Downloads/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \ -v /Users/{personal}/Downloads/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \ -v /Users/{personal}/Downloads/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \ -v /Users/{personal}/Downloads/onlyoffice/DocumentServer/db:/var/lib/postgresql \ -e JWT_ENABLED=false onlyoffice/documentserver:latest ### **3. docker log segment** 2024-03-27 08:34:30 sed: -e expression ONLYOFFICE/DocumentServer#1, char 25: unknown option to `s' 2024-03-27 08:34:35 * Starting PostgreSQL 12 database server [ OK ] 2024-03-27 08:35:39 * Starting RabbitMQ Messaging Server rabbitmq-server [ OK ] 2024-03-27 08:35:41 Starting supervisor: supervisord. 2024-03-27 08:35:41 * Starting periodic command scheduler cron [ OK ] 2024-03-27 08:35:42 * Starting nginx nginx [fail] 2024-03-27 08:36:37 Generating AllFonts.js, please wait...Done 2024-03-27 08:38:47 Generating presentation themes, please wait...Done 2024-03-27 08:38:48 ds:docservice: stopped 2024-03-27 08:38:49 ds:docservice: started 2024-03-27 08:38:50 ds:converter: stopped 2024-03-27 08:38:51 ds:converter: started 2024-03-27 08:40:12 * Reloading nginx configuration nginx [fail] ### **4. so go to nginx configuration to find the error log path** cd /etc/nginx/nginx.conf ### **5. see the print content of error.log** 2021/10/09 00:53:51 [info] 842#842: Using 32768KiB of shared memory for nchan in /etc/nginx/nginx.conf:63 2024/03/27 00:35:42 [error] 2018#2018: failed to initialize Lua VM in /etc/nginx/nginx.conf:63 2024/03/27 00:40:12 [error] 18243#18243: failed to initialize Lua VM in /etc/nginx/nginx.conf:63 above is all, have another computer with macbook intel chip and use docker is can normal correct run the document-server, so i think this is because the M serial chip cause this error, but i cannot slove this problem. anybody can help me ? ### Additional information _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#322
No description provided.