I get random friendly 500 and 404 errors on my Gitlab installation. Everything works fine except that.
It is really annoying, sometimes the pages work, sometimes I need to refresh the page a couple of times for it to display.
Here's the errors I get in /etc/httpd/logs/error_log
ActionView::Template::Error (cannot map `/home/git/gitlabhq/vendor/bundle/ruby/1.9.1/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/share/misc/magic.mgc' (Cannot allocate memory)):
1: - file = tree_full_path(content)
2: %tr{ class: "tree-item #{tree_hex_class(content)}", url: tree_file_project_ref_path(#project, #ref, file) } 3: %td.tree-item-file-name
4: = tree_icon(content)
5: = link_to truncate(content.name, length: 40), tree_file_project_ref_path(#project, #ref || #commit.id, file), remote: :true
6: %td.tree_time_ago.cgray
7: - if index == 1
app/helpers/tree_helper.rb:4:in `tree_icon'
app/views/refs/_tree_item.html.haml:4:in `_app_views_refs__tree_item_html_haml__359204534986361082_50783740'
app/views/refs/_tree.html.haml:37:in `block in _app_views_refs__tree_html_haml__2791169573873392874_51939480'
app/views/refs/_tree.html.haml:36:in `each'
app/views/refs/_tree.html.haml:36:in `_app_views_refs__tree_html_haml__2791169573873392874_51939480'
app/views/refs/tree.html.haml:2:in `_app_views_refs_tree_html_haml__1175555315298044292_52501320'
app/controllers/refs_controller.rb:40:in `tree'
^GOut of memory (Needed 8160 bytes)
ActionView::Template::Error (Mysql2::Error: MySQL client ran out of memory: SELECT COUNT(*) FROM `users` ): 25: %h5 Users
26: .data.padded 27: = link_to admin_users_path do
28: %h1= User.count
29: %hr
30: = link_to 'New User', new_admin_user_path, class: "btn small"
31: config/initializers/connection_fix.rb:22:in `execute'
app/views/admin/dashboard/index.html.haml:28:in `block in _app_views_admin_dashboard_index_html_haml___3571568531981020694_30874020'
app/views/admin/dashboard/index.html.haml:27:in `_app_views_admin_dashboard_index_html_haml___3571568531981020694_30874020'
I am new to the Ruby world.
Additional Notes:
OS: Centos 5
Gitlab v2.8.2
The issue almost never appears on admin pages or what not.. only on repository pages such as file tree, graphs or commits
Related
I have updated from Prestashop 1.7.8.6 to 1.7.8.8, admin worked, but after I updated a translation in the Backoffice, the Backoffice got a 500 error and I can't access it anymore. This is the Debug message:
ServiceNotFoundException
The service "prestashop.adapter.product.options.redirect_target_provider" has a dependency on a non-existent service "prestashop.adapter.product.repository.product_preview_repository".
in CheckExceptionOnInvalidReferenceBehaviorPass.php line 31
at CheckExceptionOnInvalidReferenceBehaviorPass->processValue(object(Reference), false)
in AbstractRecursivePass.php line 60
at AbstractRecursivePass->processValue(array(object(Reference), object(Reference), object(Reference)), false)
in CheckExceptionOnInvalidReferenceBehaviorPass.php line 28
at CheckExceptionOnInvalidReferenceBehaviorPass->processValue(array(object(Reference), object(Reference), object(Reference)))
in AbstractRecursivePass.php line 67
at AbstractRecursivePass->processValue(object(Definition), true)
in CheckExceptionOnInvalidReferenceBehaviorPass.php line 28
at CheckExceptionOnInvalidReferenceBehaviorPass->processValue(object(Definition), true)
in AbstractRecursivePass.php line 60
I don't know how to proceed :( - any tips?
I'm trying to update a working web site to bootstrap 5.1.3. This time around I would like to have the styles handled by Sass, and modify them myself somewhat. I have copied the .scss files to my _sass folder and when i make a change it's updating the .css file as it should. However I'm getting an error message and i can't see what's the matter with the code. (It's reporting an error in the files I downloaded from bootstrap that haven't been touched). Here's the error - I can't beleve that the bootstrap crew have allowed this error in their code, so i must surely have made some blunder in my setup. Can anyone see what this error means and where i ought to go looking for the cure?
"Invalid CSS after "...ass}: #{$value}": expected "{", was ";"
on line 55 of D:/Sites/Mysites/FoggyHollow/www/_scss/mixins/_utilities.scss
from line 21 of D:/Sites/Mysites/FoggyHollow/www/_scss/_mixins.scss
from line 12 of D:/Sites/Mysites/FoggyHollow/www/_scss/bootstrap.scss
50: /* rtl:begin:remove */
51: }
52:
53: #if $is-css-var {
54: .#{$property-class + $infix + $property-class-modifier} {
55: --#{$variable-prefix}#{$property-class}: #{$value};
56: }
57:
58: #each $pseudo in $state {
59: .#{$property-class + $infix + $property-class-modifier}-#{$pseudo}:#{$pseudo} {
60: --#{$variable-prefix}#{$property-class}: #{$value};"; }
Cheers
Mike Kear
Windsor, NSW, Australia
Please Help My Minecraft Crashes When I join A World. BTW I am using mods. Here Is My Crash Report
---- Minecraft Crash Report ----
WARNING: coremods are present: Java8CheckerCoremod
(Pixelmon-1.8-4.1.1-universal.jar) Contact their authors BEFORE
contacting forge
// Ooh. Shiny.
Time: 1/17/16 11:44 AM Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop at
com.pixelmonmod.pixelmon.worldGeneration.structure.towns.ComponentTownPart.func_74875_a(ComponentTownPart.java:55)
at
net.minecraft.world.gen.structure.StructureStart.func_75068_a(StructureStart.java:45)
at
net.minecraft.world.gen.structure.MapGenStructure.func_175794_a(MapGenStructure.java:93)
at
net.minecraft.world.gen.ChunkProviderGenerate.func_73153_a(ChunkProviderGenerate.java:415)
at
net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:269)
at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1126) at
net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:52)
at
net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:12)
at
net.minecraftforge.common.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:344)
at
net.minecraftforge.common.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:302)
at
net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:12)
at
net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:117)
at
net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:92)
at
net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:302)
at
net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:112)
at
net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:126)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known
details is as follows:
-- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_25,
Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM
(mixed mode), Oracle Corporation Memory: 876196800 bytes (835 MB) /
2034081792 bytes (1939 MB) up to 2134114304 bytes (2035 MB) JVM
Flags: 6 total;
-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
-Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 11, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.10 FML v8.0.99.99 Minecraft
Forge 11.14.4.1577 7 mods loaded, 7 mods active States: 'U' =
Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' =
Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E'
= Errored UCHIJAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAA FML{8.0.99.99} [Forge Mod Loader]
(forge-1.8-11.14.4.1577.jar) UCHIJAA Forge{11.14.4.1577} [Minecraft
Forge] (forge-1.8-11.14.4.1577.jar) UCHIJAA customnpcs{1.8.0}
[CustomNPCs] (CustomNPCs_1.8.0.jar) UCHIJAA cfm{3.5.1}
[ยง9MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.5.1(1.8).jar)
UCHIJAA pixelmon{4.1.1} [Pixelmon] (Pixelmon-1.8-4.1.1-universal.jar)
UCHIJAA worldedit{6.1} [WorldEdit] (worldedit-forge-mc1.8-6.1.jar)
Loaded coremods (and transformers): Java8CheckerCoremod
(Pixelmon-1.8-4.1.1-universal.jar)
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Player Count:
0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded:
Definitely; Client brand changed to 'fml,forge'
You need to delete all the mods and start again as you have installed some that have overlapped.
Do any of my fellow AMF enthusiasts know of any information on the calls made by one AMS server to another AMS server? For instance, I am specifically looking for information about the arguments sent in the initStream call; this is sample data I got recently when an AMS server connected to my server:
Method: initStream Number of Params: 2 0: 1.7765824089018436E-307 1: null
A standard call from a Flash client will only contain one argument, which consists of a stream identifier. The above may also be an identifier, but its not an integer type that we normally expect. I have google'd and checked my other sources, but I'm coming up with nothing helpful.
To sum it all up, I need to know the arguments and their types which are sent when one AMS calls another AMS.
EDIT
After more work on this issue, the initStream method has been added to the server and the parameter #1 is assumed to be a stream id. This method is followed by createStream(0)
Method: createStream Num Params: 1 0: 0
and after that method was added, it seems that initial setup is Ok, but when following up by requesting a VOD stream on Red5 from AMS, it calls play with unexpected parameters and no stream name
Method: play Num Params: 23 0: 4.801834657218423E-299 1: null 2: null 3: null 4: null 5: null 6: null 7: null 8: null 9: null 10: null 11: null 12: null 13: null 14: null 15: null 16: null 17: null 18: null 19: null 20: null 21: null 22: null
Red5 has been modified starting at version 1.0.7-SNAPSHOT to allow these extra methods used by AMS. The "odd" play method call can be resolved by setting objectEncoding to 0 like so on your server side script (SSAS).
application.r5test = new NetConnection();
application.r5test.objectEncoding = 0;
When staring cmucl with quicklisp, i get the following error:
Error in KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER: the function GENERATE-CRC32-TABLE is undefined.
[Condition of type UNDEFINED-FUNCTION]
Restarts:
0: [CONTINUE ] Return NIL from load of #P"/home/***/.cache/common-lisp/cmu-19f__19f_-freebsd-x86/home/***/quicklisp/quicklisp/deflate.sse2f".
1: [TRY-RECOMPILING] Recompile deflate and try loading it again
2: [RETRY ] Retry Loading component: ("quicklisp" "deflate").
3: [ACCEPT ] Continue, treating
Loading component: ("quicklisp" "deflate") as having
been successful.
4: Return NIL from load of #P"home:quicklisp/setup.lisp".
5: Return NIL from load of "home:.cmucl-init".
6: [ABORT ] Skip remaining initializations.
Debug (type H for help)
(KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER "<error finding name>"
#.(SYSTEM:INT-SAP #x47FD70D4)
#<Alien (*
SYSTEM:SYSTEM-AREA-POINTER) at #x47FD6DC0>
(16))
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists:
target:code/interr.lisp.
How can i fix it, thanks !
The easiest fix is to use a recent version of CMUCL.