Skip to content

[mobilizon] Planned guide after successful installation #1288

Open
@moan0s

Description

@moan0s

There are two viable installation strategies for Mobilizon

Installation via Release and via source

Both ways of installation have to be adapted to uberspace and currently present problems. In the following I will decribe them and the easier way will land in the lab

Release

After downloading the release a configuration file should be created in this step

Running the adjusted command fails due to a missing dependency

[isabell@stardust mobilizon]$ ./bin/mobilizon_ctl instance gen --output config.exs --output-psql setup_db.psql
/home/isabell/mobilizon/erts-12.3.1/bin/beam.smp: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory

Can a user easily install ncurses to solve this?

Source

The installation via source fails when using yarn run build

We suspect that uberspace automatically kills the process as it uses to much resources.

[isabell@stardust js]$ NODE_BUILD_MEMORY=512 yarn run build
yarn run v1.22.19
$ yarn run build:assets && yarn run build:pictures
$ vue-cli-service build --report
All browser targets in the browserslist configuration have supported ES module.
Therefore we don't build two separate bundles for differential loading.


⠸  Building for production.../home/isabell/mobilizon/js/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/RpcIpcMessagePort.js:19
        closedError = new RpcIpcMessagePortClosedError_1.RpcIpcMessagePortClosedError(code
                      ^

RpcIpcMessagePortClosedError: Process 14669 exited [SIGKILL].
    at /home/isabell/mobilizon/js/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/RpcIpcMessagePort.js:19:23
    at Generator.next (<anonymous>)
    at /home/isabell/mobilizon/js/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/RpcIpcMessagePort.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/isabell/mobilizon/js/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/RpcIpcMessagePort.js:4:12)
    at ChildProcess.handleExit (/home/isabell/mobilizon/js/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/RpcIpcMessagePort.js:18:42)
    at ChildProcess.emit (node:events:527:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) {
  code: null,
  signal: 'SIGKILL'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[isabell@stardust js]$

Any help in solving these issues is appreciated :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-guidenew guide. ✨Goodie for one PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions