Can't upload logo
-
hi i use the U:G as root:root
the logo is uploaded as i stated above nodebb is spinning the child process and I'm unable to save the logo from gui admin (as well as the touchicon having the same issue) favicon icon uploaded just fine and I'm able to use it. The Issue is logo upload and touchicon.
[cluster] Child Process (13677) has exited (code: null, signal: SIGSEGV)
[cluster] Spinning up another process...
[root@board ~]# ls -la /home/nodebb/public/uploads/system total 36 drwxr-xr-x 2 root root 4096 Feb 8 14:19 . drwxr-xr-x 8 root root 4096 Dec 20 08:50 .. -rw-r--r-- 1 root root 1 Dec 20 08:43 .gitignore -rw-r--r-- 1 root root 4286 Feb 8 14:10 favicon.ico -rw-r--r-- 1 root root 8044 Feb 9 03:14 site-logo.png -rw-r--r-- 1 root root 8044 Feb 8 14:19 touchicon-orig.png
-
-
-
I met just same probelm too when I try to install nodebb last day. I can upload favicon but can't upload any other images. I used the same centos7 and v12.15.0 node.js. I looked up the installation log, it shows some modules did not installed well. For me it were sharp and some other modules. I guess it's the sharp module which is used to crop the images uploaded caused this problem. Sharp module need 'CXXABI_1.3.8' to compile and my default yum source did not have the gcc version needed. Maybe you can upgrade your gcc version and try reinstalling it by using "npm install sharp"? Hope this can help.
-
@BAKA said in Can't upload logo:
I met just same probelm too when I try to install nodebb last day. I can upload favicon but can't upload any other images. I used the same centos7 and v12.15.0 node.js. I looked up the installation log, it shows some modules did not installed well. For me it were sharp and some other modules. I guess it's the sharp module which is used to crop the images uploaded caused this problem. Sharp module need 'CXXABI_1.3.8' to compile and my default yum source did not have the gcc version needed. Maybe you can upgrade your gcc version and try reinstalling it by using "npm install sharp"? Hope this can help.
thanks @BAKA for the info, i'll install ubuntu 18.04 and get back here.