Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Issue while installing using wls2 / Ubuntu

Issue while installing using wls2 / Ubuntu

Added by destroyedlolo Faillie about 2 years ago

Hello,

For a POC, I'm trying to install OpenProject using Wsl2/Ubuntu 22.04.1 LTS on my win10 PC. I followed the installation  procedure : https://www.openproject.org/docs/installation-and-operations/installation/packaged/#initial-configuration

The installation itself seems working :

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates wget

wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add –

sudo wget -O /etc/apt/sources.list.d/openproject.list \
  https://dl.packager.io/srv/opf/openproject/stable/12/installer/ubuntu/22.04.repo

sudo apt-get update
sudo apt-get install openproject

==============
The openproject package provides an installer. Please run the following command to finish the installation:
sudo openproject configure
==============
Setting up imagemagick (8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

but configuration doesn't :

sudo openproject configure
	OpenProjet
	Install new pgsql, Apache, Memcached

performing post-bootstrap initialization ... ok
syncing data to disk ... ok

Success. You can now start the database server using:

    pg_ctlcluster 13 main start

update-alternatives: using /usr/share/postgresql/13/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
invoke-rc.d: could not determine current runlevel
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

pg_ctl: PID file "/var/lib/postgresql/13/main/postmaster.pid" does not exist
Is server running?
pg_ctl: PID file "/var/lib/postgresql/13/main/postmaster.pid" does not exist
Is server running?
trying to start server anyway
pg_ctl: could not read file "/var/lib/postgresql/13/main/postmaster.opts"

Do you think the problem is another Ubuntu bug or an insue within the configuration tool ?

I'll try with a manual database installation.

BR

Laurent


Replies (3)

RE: Issue while installing using wls2 / Ubuntu - Added by destroyedlolo Faillie about 2 years ago

Doing manual DB installation succeed.

The user must be password authenticated and the dedicated DB must exists.

Now, the appl doesn't start as only a systemd script is provided.

I'll reinstall with systemd :(

RE: Issue while installing using wls2 / Ubuntu - Added by destroyedlolo Faillie about 2 years ago

Using Systemd, the installation worked :)

RE: Issue while installing using wls2 / Ubuntu - Added by gray mcclure about 1 year ago

destroyedlolo Faillie wrote:

Hello,

For a POC, I'm trying to install OpenProject using Wsl2/Ubuntu 22.04.1 LTS on my win10 PC. I followed the installation  procedure : https://www.openproject.org/docs/installation-and-operations/installation/packaged/#initial-configurationunblocked games 76

The installation itself seems working :

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates wget

wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add –

sudo wget -O /etc/apt/sources.list.d/openproject.list \
  https://dl.packager.io/srv/opf/openproject/stable/12/installer/ubuntu/22.04.repo

sudo apt-get update
sudo apt-get install openproject

==============
The openproject package provides an installer. Please run the following command to finish the installation:
sudo openproject configure
==============
Setting up imagemagick (8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

but configuration doesn't :

sudo openproject configure
	OpenProjet
	Install new pgsql, Apache, Memcached

performing post-bootstrap initialization ... ok
syncing data to disk ... ok

Success. You can now start the database server using:

    pg_ctlcluster 13 main start

update-alternatives: using /usr/share/postgresql/13/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
invoke-rc.d: could not determine current runlevel
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

pg_ctl: PID file \"/var/lib/postgresql/13/main/postmaster.pid\" does not exist
Is server running?
pg_ctl: PID file \"/var/lib/postgresql/13/main/postmaster.pid\" does not exist
Is server running?
trying to start server anyway
pg_ctl: could not read file \"/var/lib/postgresql/13/main/postmaster.opts\"

Do you think the problem is another Ubuntu bug or an insue within the configuration tool ?

I'll try with a manual database installation.

BR

Laurent

Thanks for sharing these information. This is what I am looking for.

  • (1 - 3/3)
Loading...