Skip to content
  • image upload issues

    Technical Support
    26
    0 Votes
    26 Posts
    4k Views
    A

    So finally the error is gone.

    I added this environment variable to my Openshift proyect:
    LD_PRELOAD = '/opt/app/node_modules/sharp/vendor/lib/libz.so'

    This is the url to sharp inside my node_modules.

    When I opened the terminal I get and error saying that it can't be preloaded but after installing all dependencies the error is gone, and I could upload images!!!

    Thank you very much @PitaJ !!!!

  • 0 Votes
    3 Posts
    3k Views
    Andreas KnightA

    Yes I've tried it.

    Getting an Error. After hours of Google - I have no Idea to fix it:

    nginx: [emerg] "server" directive is not allowed here in /var/www/vhosts/system/ebikeforums.eu/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed
  • 0 Votes
    3 Posts
    3k Views
    Andreas KnightA

    Thanks!! 😄

    #closed

  • 0 Votes
    3 Posts
    3k Views
    T

    @psychobunny I believe it has something to do with CentOS or running Plesk/cPanel as I have not for the life of me been able to make it work properly, even with that guide. We are switching to a Debian server soon without Plesk or cPanel so hopefully that will render the issue solved.

  • 0 Votes
    8 Posts
    4k Views
    T

    So does anyone have any experience running these types of things in an environment with Plesk/cPanel? I could really use a hand right now as this problem is being pervasive.