Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to initialize Lua VM #724

Open
1 task done
JeanSit opened this issue Mar 27, 2024 · 0 comments
Open
1 task done

failed to initialize Lua VM #724

JeanSit opened this issue Mar 27, 2024 · 0 comments
Assignees

Comments

@JeanSit
Copy link

JeanSit commented Mar 27, 2024

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

@Rita-Bubnova Rita-Bubnova transferred this issue from ONLYOFFICE/DocumentServer Mar 28, 2024
@Rita-Bubnova Rita-Bubnova assigned avdddd1111 and unassigned igwyd Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants