Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

LAMP

120 Topics 787 Posts
  • opcache.enable

    Solved
    6
    0 Votes
    6 Posts
    384 Views
    C

    @girish Embarassingly it appears ther script that I was loading the php info through had specifically set opcache.enable to Off at runtime. In the app itself it is enables and all is good. Thanks again and apologies for the unnecessary effort in pushing a new package.

  • Install a docker container on a LAMP app

    3
    0 Votes
    3 Posts
    271 Views
    ei8fdbE

    @nebulon said in Install a docker container on a LAMP app:

    I think the easiest production-ready app package with go is https://git.cloudron.io/cloudron/simple-torrent-app maybe you can check that as reference.

    Thanks @nebulon I'll take a look at it. Packaging is still something I'm not fully sure about.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Adding mcrypt extension

    Solved
    7
    0 Votes
    7 Posts
    493 Views
    robiR

    @nebulon you just run the update command(s)

  • LAMP Laravel and npm

    Moved Solved
    7
    0 Votes
    7 Posts
    514 Views
    nebulonN

    @deiwee I guess you would want to run it as www-data user though to not mess with file permissions. Did you get any error messages in the log? Of course after app restart it will always take at most a minute to kick the cron according to schedule.

  • Internal Caching

    2
    0 Votes
    2 Posts
    212 Views
    girishG

    @jlx89 there is no internal cache. Can you just do a plain curl -v https://clonedapp.domain.com and see what is happening? Could it be that you have the domain hardcoded in your LAMP app and it's redirecting you to that location? This happens fairly often when cloning WP with misconfigured plugins.

  • Mysql ssl error and auto-increment not working

    7
    0 Votes
    7 Posts
    446 Views
    girishG

    @carbonbee don't think it matters but I will push an update to phpMyAdmin 5.1.0 - https://www.phpmyadmin.net/news/2021/2/24/phpmyadmin-510-released/

  • Creating a queue worker for laravel app?

    Moved
    14
    0 Votes
    14 Posts
    1k Views
    ?

    @girish Hah this actually helps me with the Humhub app. Thanks! My solution was to use sed to delete line 312 in /etc/php/7.4/cli/php.ini lmao. Jank to the extreme.

  • Proper IP Address and Hostname on Log

    Solved
    4
    0 Votes
    4 Posts
    234 Views
    girishG

    @nj I have fixed this in the new package. However, it will work only for new installation. For existing install, you have to edit /app/data/apache/app.conf and add the following lines (You can add it after the DocumentRoot /app/data/public line):

    LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy CustomLog "|/bin/cat" proxy ErrorLog "|/bin/cat"

    After that restart the app.

  • Adding a second db to php 7.4 app

    Solved
    2
    0 Votes
    2 Posts
    264 Views
    girishG

    @shai you have to build a custom app, please see this guide https://docs.cloudron.io/guides/multiple-databases-lamp/

  • Migrating Drupal 7 to Cloudron Lamp 7.4

    Moved Solved
    4
    0 Votes
    4 Posts
    325 Views
    ShaiS

    @girish

    But a random web search

    +1 for random web searches!

    led me to where someone suggests that "I had this issue in drush command line, when there was an error parsing the settings.php file

    That was it! A missing comma in the databases array. Thanks so much!

  • Vimeo domain restriction issue

    Solved
    6
    0 Votes
    6 Posts
    415 Views
    nebulonN

    @ccfu I am not quite sure anymore why we are explicitly overriding that header, even if it is passed from the upstream server (ie the app in this case)

    I've pushed a change for next release which will allow overriding it now https://git.cloudron.io/cloudron/box/-/commit/70f2337b09f321c1252fd0e17754e5ffbb1080d9

    Does anyone know if this may have problematic side-effects security wise?

  • Having trouble getting access to the sql db

    Moved
    3
    0 Votes
    3 Posts
    216 Views
    girishG

    @hardwarehulp Are you referring to the LAMP app? It looks like that and I have preemptively moved this request to that category.

  • LAMP - nano - local config file

    Solved
    4
    0 Votes
    4 Posts
    619 Views
    nebulonN

    @timconsidine fixed with https://git.cloudron.io/cloudron/docker-base-image/-/commit/c3431324eaddac83122e3e63893c7c6a8e1ee17d but of course only part of the next base image release then.

  • Composer 2 required for folks like me

    3
    0 Votes
    3 Posts
    221 Views
    girishG

    Indeed, the current composer comes from ubuntu 20. If you want a different version, you can always download the phar from the composer website and run it as @murgero suggested.

  • Form Designer/Hoster/Collector for LAMP

    13
    0 Votes
    13 Posts
    646 Views
    timconsidineT

    @girish surveyjs looks great.
    It can certainly help with some projects/use cases.
    But think I will pursue Budibase as the more complete design/host/collect responses solutions.
    Got it working (easily after stupid error on my side) and will look at putting on a VPS. Would rather it is in Cloudron, but not sure I am competent enough to build it as custom app. Maybe will have a bash.

  • Enviroment variables and how to use mail

    9
    0 Votes
    9 Posts
    719 Views
    girishG

    @peterle Yes, sure. We need to bring up the package at https://github.com/M-arcus/friendica-docker-image up to speed. It was packaged 3 years ago, so it probably won't work now.

  • How to install Python external libraries?

    Solved
    4
    0 Votes
    4 Posts
    410 Views
    nebulonN

    @why42 yes I think this would not be suiteable for LAMP. But having a custom app package for custom scripts is very much doable if you have used docker at some point. Otherwise we are happy to help.

  • Implementation strategy clarification

    Solved
    3
    0 Votes
    3 Posts
    196 Views
    timconsidineT

    @girish Thank you

  • "git push" (ci/cd) workflow for the LAMP app

    5
    0 Votes
    5 Posts
    548 Views
    girishG

    @nebulon I think for a start just making ssh based git push/pull work with hooks on the Github Pages and LAMP app is good enough. I think for rest of the "complicated" apps, we have to really make some container based PaaS, where we build the container as well (just like Heroku). That's a really long term feature.