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. Container keeps restarting

Container keeps restarting

Added by Tedris Threed over 2 years ago

Hi,

after i lost all my data with an upgrade, though i did everything mentioned in the upgrade guide for docker on Synology, i want to do a fresh installation and start over.

The problem is, that no matter what i do i dont get the container running again. I deleted pgdata, assets, the container and even the image and then tried a  fresh install with the 12.3.2 image.

Unfortunately, the container just keeps restarting, see log attached.

Any ideas? i am losing my mind slowly with this openproject docker based installation stuff...


Replies (7)

RE: Container keeps restarting - Added by Adam Szabo over 2 years ago

Hi,

why must it be latest 12.3.2 on Synology for you?

Maybe try to install Version 10 latest or 11 latest and see if you are able to do that. 

I would recommend the packaged RPM installation on a freshly installed Ubuntu Server 22.04 LTS VM... do you have a spare server to run that? maybe something like an Intel NUC? you could also use VirtualBox and make this on your own Laptop

It is much more easy for beginners...

Also the all in one container on your localhost is an option to many Linux desktop users who use OpenProject alone

You could report a bug here if you think that is a bug, which is possible...

https://community.openproject.org/projects/openproject/work_packages/create_new?type=1

RE: Container keeps restarting - Added by Tedris Threed over 2 years ago

I had 12.0.7 installed and couldnt export pdf (or any other type) so i got told to install the latest release.

I dont have a spare ubuntu server or anything for that matter, just the synology i can use here at work for such things (mediawiki working on it aswell).

Seems like i wont bother using open project alltogether so much hassle for so little use, since even the 12.0.7 version now keeps restarting too...

What a shame..

RE: Container keeps restarting - Added by Adam Szabo over 2 years ago

I am sorry that the Synology seems not to be really supported at the moment, check back later maybe there will be some improvements. If I get my hands on a Synology once, I will try to install it myself... But if the Bug is not reported then there is maybe not too much awareness at the developers... I shared it yesterday in the meeting with them. It is your decision. Thank you for trying.

RE: Container keeps restarting - Added by Markus Kahl over 2 years ago

Helllo Tedris.

The logs you attached show an error which crashes the startup process:

failed to get urandom

Some googling leads me to believe that this may be an issue with the inode limit on the system.
Can you please run the following command on the Synology terminal to check what the inode situation is?

df -i

Maybe your limit is just fine. But it could be that you have an older docker version that doesn't clean up after itself properly.
You may need to prune some unused images. You can find more info on pruning in the docker docs, but a simple docker system prune may already help.
Mind that this will remove any stopped containers!

RE: Container keeps restarting - Added by Brad Porter over 1 year ago

Thank you for trying to help!

I'm also getting this error (rake aborted! ... failed to get urandom) with OpenProject 13.0.4 (via Docker) on my Synology DS1815+ (Intel Atom C2538 @ 2.4 GHz w/ 4 cores, 16 GB RAM, DSM 6.2.4-25556 Update 7).

Here is the output of df -i:

Filesystem                Inodes   IUsed     IFree IUse% Mounted on
/dev/md0                  155648   45794    109854   30% /
none                     2052214    1156   2051058    1% /dev
/tmp                     2053275     282   2052993    1% /tmp
/run                     2053275    1861   2051414    1% /run
/dev/shm                 2053275       2   2053273    1% /dev/shm
none                     2053275      10   2053265    1% /sys/fs/cgroup
cgmfs                    2053275       8   2053267    1% /run/cgmanager/fs
/dev/vg1000/lv         488079360 3699214 484380146    1% /volume2
/dev/md5               243892224    3191 243889033    1% /volume3
/dev/mapper/cachedev_0 243589120 1230479 242358641    1% /volume1

Thank you!

RE: Container keeps restarting - Added by Brad Porter over 1 year ago

This may be helpful:

I did some bisecting and found that versions (which I tested) up to 12.1.6 (the latest 12.1 version) work, but newer versions (12.2.0 - 13.0.4) do not.

Unlike Tedris, I was able to successfully run 12.0.7 (and other versions) after I had encountered the error (with 13.0.4, and others). I shut down all other Docker containers and created a fresh container for each test.

Here are the versions that I tested:

Works?	Version
no      13.0.4
no      12.2.5
no      12.2.0
Yes     12.1.6
Yes     12.0.7

I will also post a bug report with this information and link to it here when I get a chance.

Hope this helps. Thanks again for any help you can give!

RE: Container keeps restarting - Added by Brad Porter over 1 year ago

FYI, bug ticket filed: https://community.openproject.org/projects/docker/work_packages/50270/activity

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