Project

General

Profile

Actions

Defect #38540

closed

Redmine Version 4.1.1

Added by Pushkar Sawant over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gems support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

We are using Redmine version 4.1.1 on Ubuntu 18.04 and using it for the last few years without any issues.

Today afternoon it suddenly stoped working, when we tried to start the Redmine it's giving us an error message as below

"/usr/lib/ruby/2.5.0/psych.rb:402:in `parse': (<unknown>): could not find expected ':' while scanning a simple key at line 153 column 3 (Psych::SyntaxError)"

No clue what started causing this issue. Struggling to resolve this.
any help will be much appreciated


Files

image_2023_05_12T10_04_04_091Z.png (24.2 KB) image_2023_05_12T10_04_04_091Z.png Pushkar Sawant, 2023-05-12 12:05
Actions #1

Updated by Go MAEDA over 1 year ago

  • Category changed from Ruby support to Gems support
  • Status changed from New to Needs feedback

Could you provide a full stack trace?

image_2023_05_12T10_04_04_091Z.png contains only the last two lines.

Actions #2

Updated by Holger Just over 1 year ago

Psych in Ruby's YAML parser. It appears that one of the YAML files read by Redmine during startup uses invalid syntax on your server. This is likely one of

  • config/database.yml
  • config/configuration.yml

The error occurs because someone has likely edited these files and has introduced some invalid YAML syntax.

Actions #3

Updated by Pushkar Sawant over 1 year ago

Thanks for the response.

Yes, Correct we just got the reason behind and its configuration.yml is missing ":" in one line.
Not sure how the file got changed.

But updating required Syntex to resolve this issue.

Actions #4

Updated by Holger Just over 1 year ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

Thanks for your feedback. I'm closing this issue accordingly.

Actions

Also available in: Atom PDF