iwind / rockmongo Goto Github PK
View Code? Open in Web Editor NEWRockMongo is a MongoDB administration tool, written in PHP 5.
Home Page: http://rockmongo.com
License: Other
RockMongo is a MongoDB administration tool, written in PHP 5.
Home Page: http://rockmongo.com
License: Other
Introduction -------------------------------------- RockMongo is a MongoDB administration tool, written in PHP 5, very easy to install and use. Installation -------------------------------------- 1. Install PHP runtime environment if you don't have one yet, such like Apache Httpd, Nginx ... 2. Install MongoDB PHP driver (http://us.php.net/manual/en/mongo.installation.php) 3. Download the package from http://rockmongo.com/downloads 4. Unzip the files into your disk, under root of your site 5. Open the config.php with your convenient editor, change host, port, admins and so on to yours 6. Visit the index.php in your browser, for example: http://localhost/rockmongo/index.php 7. Login with admin username and password, which is set "admin" and "admin" as default 8. Play with your MongoDBs! Upgrade from old version -------------------------------------- 1.Copy all files excluding config.php to your old version directory 2.Done! Contributors -------------------------------------- iwind.liu <[email protected]> Leader leblanc.simon <[email protected]> French translation Klaus Silveira <[email protected]> Brazilian translation bmansion <[email protected]> Some small changes Vladimir Razuvaev <[email protected]> Implement features. Anton Zering <[email protected]> German translation Borda Juan Ignacio <[email protected]> Panels Layout Diego Baravalle <[email protected]> Spanish Translation Thanks -------------------------------------- * Many thanks to led24.de for cute icons. * Thank Michal Migurski(<[email protected]>) for perfect Services_JSON class. * Thank OFC, we borrowed json_format() function to make JSON pretty. * Thank jQuery, a popular javascript library. * Thank snipplr.com for mime types mapping. * Also thank these guys (Marcin, Tyler, Richard, Idan, ...) who spent their time on sending feedbacks and advices to me, and let me know i am not alone. * Thank Klaus Silveira for Brazilian translation * Thank leblanc.simon for French translation Bugs & Issues -------------------------------------- Please feel free to report any bugs and issues to me, my email is: [email protected] . Source Code Repository -------------------------------------- Repositories are located at https://github.com/iwind/rockmongo.git Contributing -------------------------------------- Somebody who want to contribute to the project, may help us by doing these: * Translate messages from English to other languages (you can see them in app/langs directory) * Make donations here: http://rockmongo.com/donation
define("PHP_VERSION_5_3", version_compare(PHP_VERSION, "5.3.0")>=0);
PHP_VERSION_5_3 isn't then used nowhere.
Hi,
I would like to specifically connect to a secondary server which is not the master. usually with the command line I type rs.slaveOk() to be able to subsequently issue various commands on the slave. Can I achieve this with rockmongo? I am seeing
Execute failed:not master
function (){ return db.getCollectionNames(); }
yes, it's not the master. I don't expect writes to work. but other queries should work...
In database its stored as a Binary with a specific subtype, when you edit a record with RockMongo, it will not maintain the subtype and thus the data is lost (its still there, but the type has been changed and it no longer decodes correctly)
i just updat my mongo php extension to 1.5.1 and suddenly show this error : Fatal error: ini_set(): To prevent data corruption, you are not allowed to turn on the mongo.native_long setting on 32-bit platforms in Unknown on line 0
Hello.
Have some problems with login page.
After entering login information page reloads and again shows the same login page.
logs for this action.
But from some random computers login correct and works fine.
xx.xx.xx.xx - - [25/Mar/2014:17:32:58 +0100] "GET /rock/index.php?action=login.index&host=0 HTTP/1.1" 200 1590 "http://www.xxxxx.com/rock/index.php?action=login.index&host=0" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
xx.xx.xx.xx - - [25/Mar/2014:17:33:00 +0100] "GET /rock/themes/default/css/global.css HTTP/1.1" 304 0 "http://www.www.xxxxx.com/rock/index.php?action=login.index&host=0" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
xx.xx.xx.xx - - [25/Mar/2014:17:33:00 +0100] "GET /rock/js/jquery.textarea.js HTTP/1.1" 304 0 "http://www.www.xxxxx.com/rock/index.php?action=login.index&host=0" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
xx.xx.xx.xx - - [25/Mar/2014:17:33:00 +0100] "GET /rock/js/jquery-1.4.2.min.js HTTP/1.1" 304 0 "http://www.www.xxxxx.com/rock/index.php?action=login.index&host=0" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"
The download from your website
RockMongo v1.1.5 (2012/12/20) (317.2KB, downloads:5539)
http://rockmongo.com/downloads/go?id=12
contains a "__MACOSX folder". Please remove it.
Same for ".DS_Store".
Additionally, please notice, that you may use "git tags", e.g. "git tag 1.1.5".
Tagged versions will be available at https://github.com/iwind/rockmongo/tags for download.
Gitignore is taken into account, when downloading from there..
Meanwhile i fill fetch the master zip.
Keep up the good work.
Regards, Jens
The mongo_user / mongo_pass options are only used when control_auth is enabled. The documentation only mentions that mongo_auth=false is needed, but the user/pass doesn't work until control_auth has been set to true.
We would like to set the mongo_user / mongo_pass in de config, without an authentication screen for the user (authentication to the rockmongo application is managed on server level).
I was looking on the web site and no information about this method. And truth be great tiener more information. Since it can be interpreted in multiple ways.
Execute failed:unauthorized
function (){ return db.getCollectionNames(); }
Affected Version: V1.1.5
PHP: (64 bit Server) 5.5.3
Expected Behaviour: JSON-Entry should appear in the database as used in the insert, because the ID is in valid range for number long (63 bit signed).
Behaviour; Somehow the id is changed to a negative Number at the signed long long boundaries.
Example:
If I insert in a database the following;
{
"id": NumberLong(9223372036854775710),
"hash": "AiRhJDEcESwBMLE0gSyRCHEAYRyxEKEggQQxEDEwQQ=="
}
The database then holds:
{
"_id": ObjectId("524045fd8aa19587128b4567"),
"id": NumberLong(-9223372036854775808),
"hash": "AiRhJDEcESwBMLE0gSyRCHEAYRyxEKEggQQxEDEwQQ=="
}
This is a function request, not a bug/issue report.
After click the "Text" link button, the document will be contained in a text edit. Usually we only need to copy a small part of the whole document, e.g., a word in the twitter text. The conventional operation in most text editor software would be double click and the word clicked will be selected. But in rockmongo's text, double click will make the whole document selected. So I hope rockmongo can select only a word instead of the whole document's text when user double click in the text editor. If the user really wants to copy the whole text of the document, the operation can be, say, three click. Thanks.
When wanting to query a collection, only the first 8 fields are listed. User should be able to see and select all the fields.
Please keep in shape github repository of rockmongo!
Thanks in advance.
Hello! Can anyone help me with this error? I access the site and returns error 500, and this is the log record.
[Sat Jun 14 04:45:37 2014] [error] [client 192.168.56.1] PHP Warning: require(/var/www/app/lib/core/RPlugin.php): failed to open stream: Permission denied in /var/www$
[Sat Jun 14 04:45:37 2014] [error] [client 192.168.56.1] PHP Fatal error: require(): Failed opening required '/var/www/app/lib/core/RPlugin.php' (include_path='.:/usr$
I think this is because of color coding. It's the only sense-making reason I can think of.
Even though the documents start out contracted (10 lines of code), having a bunch of large documents can quickly take 10+ seconds per page view, very annoying.
I recommend [and|or]:
there is an error when i upgrade mongodb to v2.4.10
Deprecated: MongoDB::command(): The 'MongoCursor::$timeout' static property is deprecated, please call MongoCursor->timeout() instead in ...
and i fixed this in app/models/MServer.php modify "MongoCursor::$timeout = $this->_mongoTimeout;" to "$timeout = $this->_mongoTimeout;" and everything goes well.
I noticed a large increase of non-mapped virtual memory when using rockmongo (up to about 150GB) and launched a private ticket about this with 10gen. They investigated and found a lot of eval() calls in the code were the cause. For server-side js a V8 js engine is fired up, which requires quite a bit of memory.
This kind of call should be avoided, especially since they can easily be replaced by native driver functions.
您好,
在php5.5的运行环境下,在rock.php第449行会出现一个错误, preg_replace这个函数已经在5.5的版本中被弃用了,要换成preg_replace_callback,请问里面的参数怎么修改?谢谢
I think the first vulnerability presented in this article:
http://blog.spiderlabs.com/2013/08/multiple-web-application-vulnerabilities-in-rockmongo.html
has not been corrected yet.
The second one (CVE-2013-5107) have been patched by synthomat in Aug 2013, but the first one (CVE-2013-5108) is still there...
Is it possible to connect to a hidden node in a replica set? I've tried several configurations but neither has worked so far.
I've also tried
$MONGO["servers"][$i]["mongo_options"] = array("replicaSet" => "repl set name")
but no luck so far.
here's my configuration
$MONGO["servers"][$i]["mongo_name"] = "qacmn0a1";
$MONGO["servers"][$i]["mongo_host"] = "qacmn0a1";
$MONGO["servers"][$i]["mongo_port"] = "27017";
$MONGO["servers"][$i]["mongo_auth"] = true;//enable mongo authentication?
rockmongo v1.1.5
Web server Apache/2.2.17
PHP version PHP 5.3.5-1ubuntu7.11
PHP extension mongo/1.3.2
Ubuntu 11.04
Mongo 2.2.2
Thanks
Robert
In version 1.5 of the MongoDB PHP driver some driver functionality which was previously documented as deprecated will now formally raise deprecation notices. This includes:
Rockmongo needs to be updated to the latest version of the PHP driver API.
A workaround in the interim is to force an install of the older MongoDB PHP driver (1.4.x or earlier).
To force an install of the 1.4.5 PHP driver with PECL, use:
pecl install -f mongo-1.4.5
This is a security risk. A user needs to be able to login to a Database without having a record in the admin database as well.
Running RockMongo on FastCGI / nginx setup has problems because the project uses PHP_SELF to calculate controller URLs and due to bugs related to PHP and nginx script path in this variable is duplicated.
Proposed fix: https://github.com/kixorz/rockmongo/commit/87b3ca453e0b68d8d911661a35cfb241a88c7381
这是多久没更新了,好多错误提示:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/wwwroot/rockmongo/rock.php on line 449
Deprecated: MongoDB::command(): The 'MongoCursor::$timeout' static property is deprecated, please call MongoCursor->timeout() instead in /home/wwwroot/rockmongo/app/controllers/server.php on line 11
Deprecated: MongoDB::command(): The 'MongoCursor::$timeout' static property is deprecated, please call MongoCursor->timeout() instead in /home/wwwroot/rockmongo/app/controllers/server.php on line 31
Hi, i cannot update if there is null value on json, while this is should be possible and valid mongo value.
For example:
If you have document like this
{
name: null
}
When you press update and save, it would return error on rockmongo.
Is there a problem with session in Chrome?
At login i choose 3 hours or 1 month, but after less then 1 hour i must login again.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
RockMongo Version (1.1.2++)
Operation System (Windows/CentOS, ...)
Windows
PHP Version (5.1.6, ...)
5.3.13
php_mongo Version (1.0.9, ...)
1.1.3
MongoDB version (1.8.5, ...)
2.2.0
Please provide any additional information below.
Since 1.1.2 and still in 1.1.4, when you are "updating" records, if that record contains an empty Document {}, which looks like a list in RockMongo [], it will convert the empty Document (DICT) into a LIST.
This then can cause validation errors if you use an ORM like MongoEngine.
Would it be possible to NOT covert empty documents/dict entries when doing updates/inserts?
您好,
在php5.5的运行环境下,在rock.php第449行会出现一个错误, preg_replace这个函数已经在5.5的版本中被弃用了,要换成preg_replace_callback,请问里面的参数怎么修改?谢谢
I have a collection with a field (myRef) of type DbRef.
I can browse this collection without specifying any query, which of course works great.
I can also browse this collection and project only the myRef field (checking the checkbox labeled 'myRef' in the rockmongo "Fields" js popup), which also works fine.
Rockmongo also offers checkboxes to project query results on the subfields of this DbRef : myRef.$id, myRef.$ref, myRef.$db. However if I check one of these, instead of the result list, I'm getting this error from mongo :
my.mongo.server:27017: Positional operator does not match the query specifier.
I'm using rockmongo 1.1.5, mongod 2.4.9, php 5.5.6 and pecl mongo 1.4.5.
Greetings, I would like to use RockMongo to allow our Product team to run analytics on a hidden replica attached to our production replica set.
However, I keep getting the following error:
not master and slaveOk=false
I did some Google'ing and it looks like some folks had some workarounds with setSlaveOkay(true) in app/models/MServer.php, but nothing seems to be working. Any help would be extremely appreciated.
Thanks!
hello
i like it simple and practical app!
And then remember me phpmyadmin...
But I would like to propose a substantial change config manager.
The first version of phpMyAdmin was created in 1998!
Even if it is a good thing to follow the style of phpMyAdmin maybe now is the time to use the most modern methods to manage the configuration settings...
I think mongodb users like to use JSON! Then use a simple JSON file for configuring rockmongo what would be a much more elegant! :-)
Stefano Cudini
labs.easyblog.it
What :
Escape character present in database Object when displayed on the web page.
Lets say I have this in the db:
{ ... "url": "http://carrieres.lapresse.ca" }
On the webview the result is :
{ ... "url": "http: \/\/carrieres.lapresse.ca" }
Repro :
Simply add an entry with a character that needs to be escaped for the webview in the MongoDb (ie: / ).
Hello, when using rockmongo to update data, there is a problem with values like ObjectId("530bfc8a19401c480a000001")
So updating such a field opens a text field and one for example changes it to ObjectId("530bfc8a19401c480a000002"). Now this is original record:
"_id": ObjectId("530bfc8a19401c480a000001")
this is resulting record:
"_id": {
"str": "530bfc8a19401c480a000002"
}
Expected would be to retain original filed type and just change the value as user specified.
This bug was reported before in google code see:
https://code.google.com/p/rock-php/issues/detail?id=206
What steps will reproduce the problem?
RockMongo Version (1.1.4)
Operation System (Ubuntu 12.10 Desktop/Server)
PHP Version (5.4.6)
php_mongo Version (1.3.0)
MongoDB version (2.2.2)
I installed the MapReduce plugin and tried a very simple mapreduce functions. However, I always got the following errors:
Result
{
"errmsg": "exception: SyntaxError: Unexpected token {",
"code": NumberInt(16722),
"ok": 0
}
Can anyone help me on this?
Thanks in advance!
Clicking "Update" (i.e. the "collection.modifyRow" action) returns the document in a textarea with date types formatted as ISO date strings, inside an ISODate constructor.
Yet on the update attempt, any document with a value calling ISODate will not be considered valid JSON.
Fails with "Only valid json accepted".
This is a function request, not a bug/issue.
After using RockMongo for a while, I think this is a good ("best" actually after comparison with other mongodb management and view tolls) tool, so it should be exposed to more and wider users who is or will be using mongodb, e.g., those who are working under ubuntu. For this account, I suggest make rockmongo available in the search of the Ubuntu Software Center and can be easily installed within GUI by simply a couple of mouse clicks. Thanks.
On the webview the ":" caracter which is from the db object is alway followed by a space.
Webview:
"test: 1: 2: 3"
Database:
"test:1:2:3"
Thanks for the quick updates.
PHP message: PHP Fatal error: Call to a member function auth() on a non-object in /var/www/vhosts/tools/rockmongo/app/models/MUser.php on line 78
Using tags for versioning would be so great !
Do you plan to tag versions ?
For the moment I can only rely on the SHA : https://github.com/josegonzalez/homebrew-php/pull/710/files
Having a tag like 1.1.5 would enable easy formula update, so that we can download versioned archives that really reflect the state of Rockmongo.
For instance : https://github.com/iwind/rockmongo/archive/1.1.5.tar.gz
This is a function request, not a bug/issue report.
When clicking the name of a db, the db will expand all collections under it. But if there are two many collections, we'll have to move the scroll bar to switch to other dbs. So I hope the rockmongo can collapse all collections by clicking the db name again. This will make our management work more convenient. Thanks!
e.g. we store UUIDs in binary format in mongo, any time rockmongo saves a record it loses the specific binary subtype for UUID and the data is unrecoverable. (fyi we store them as binary subtype 4)
Process: php-fpm55 [9359]
Path: /opt/local/sbin/php-fpm55
Identifier: php-fpm55
Version: 0
Code Type: X86-64 (Native)
Parent Process: php-fpm55 [74]
Responsible: daemondo [66]
User ID: -2
Date/Time: 2013-10-30 16:51:45.265 +0800
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 74FB6325-736F-F02C-4CF0-BC79BA7B4EC0
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 000000010d686000-000000010dbf9000 [ 5580K] r-x/rwx SM=COW /opt/local/sbin/php-fpm55
Application Specific Information:
crashed on child side of fork pre-exec
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 mongo.so 0x000000010e762669 zim_MongoClient_selectDB + 633
1 php-fpm55 0x000000010d8a5a46 zend_do_fcall_common_helper_SPEC + 1732
2 php-fpm55 0x000000010d861355 execute_ex + 79
3 php-fpm55 0x000000010d83f74b zend_execute_scripts + 484
4 php-fpm55 0x000000010d7ef16c php_execute_script + 656
5 php-fpm55 0x000000010d8cafdb main + 5555
6 libdyld.dylib 0x00007fff8769a5fd start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000010dca6528 rcx: 0x0000000000000006 rdx: 0x000000010e79a5a8
rdi: 0x000000010e931858 rsi: 0x000000010e0591c0 rbp: 0x00007fff52577260 rsp: 0x00007fff52577200
r8: 0x000000010e9338a0 r9: 0x0000000000000800 r10: 0x000000010dcb7048 r11: 0x000000010d8420af
r12: 0x000000010e03ad48 r13: 0x000000010e8ceb00 r14: 0x000000010e931f70 r15: 0x000000010e913438
rip: 0x000000010e762669 rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14
Binary Images:
0x10d686000 - 0x10dbf8fff +php-fpm55 (0) /opt/local/sbin/php-fpm55
0x10dd38000 - 0x10dd46fff +libbz2.1.0.dylib (0) <1EF69446-7BC5-357A-A642-C3E7C540199B> /opt/local/lib/libbz2.1.0.dylib
0x10dd4f000 - 0x10dd5eff7 +libz.1.dylib (0) /opt/local/lib/libz.1.dylib
0x10dd62000 - 0x10ddbcfff +libpcre.1.dylib (0) /opt/local/lib/libpcre.1.dylib
0x10ddc3000 - 0x10deadff7 +libxml2.2.dylib (0) <4A2FCD52-789D-321E-8648-3EADC2770E14> /opt/local/lib/libxml2.2.dylib
0x10dee4000 - 0x10dfd7ff7 +libiconv.2.dylib (0) <103D57C8-BE15-3BF8-BDBE-53EDBDD0B6A4> /opt/local/lib/libiconv.2.dylib
0x10dfe8000 - 0x10e002ff7 +liblzma.5.dylib (0) /opt/local/lib/liblzma.5.dylib
0x10e1c5000 - 0x10e1d3ff7 +curl.so (0) /opt/local/lib//curl.so
0x10e1da000 - 0x10e21ffff +libcurl.4.dylib (0) <3ACB2516-3163-3872-95ED-D313961AE08A> /opt/local/lib/libcurl.4.dylib
0x10e22e000 - 0x10e25cff7 +libidn.11.dylib (0) /opt/local/lib/libidn.11.dylib
0x10e260000 - 0x10e2a1ff7 +libssl.1.0.0.dylib (0) <7F04BE5C-2F7A-3065-B96D-25DD4EE07BCA> /opt/local/lib/libssl.1.0.0.dylib
0x10e2bb000 - 0x10e3cdfef +libcrypto.1.0.0.dylib (0) /opt/local/lib/libcrypto.1.0.0.dylib
0x10e43e000 - 0x10e446fff +libintl.8.dylib (0) <569D1B6B-5EBD-3842-99E7-479B20BF4D1B> /opt/local/lib/libintl.8.dylib
0x10e44b000 - 0x10e48efff +gd.so (0) <6929E44F-409B-3C64-A125-8F1595671C74> /opt/local/lib//gd.so
0x10e49f000 - 0x10e50eff7 +libfreetype.6.dylib (0) /opt/local/lib/libfreetype.6.dylib
0x10e524000 - 0x10e540ff7 +libpng15.15.dylib (0) <91F753CD-46A3-381C-9D53-DB01F80E6E8C> /opt/local/lib/libpng15.15.dylib
0x10e548000 - 0x10e575ff7 +libjpeg.9.dylib (0) <64FFA3DF-D255-33B5-9D22-61CD36314C53> /opt/local/lib/libjpeg.9.dylib
0x10e57c000 - 0x10e582fff +iconv.so (0) /opt/local/lib//iconv.so
0x10e586000 - 0x10e6a7fff +mbstring.so (0) <3D8D6887-AF26-35E7-AF56-C97A0145FEFC> /opt/local/lib//mbstring.so
0x10e6cc000 - 0x10e6d1fff +mcrypt.so (0) /opt/local/lib//mcrypt.so
0x10e6d7000 - 0x10e6f4fff +libmcrypt.4.dylib (0) <31FCFAA9-D67B-3080-9CB8-7C1AA1941E4D> /opt/local/lib/libmcrypt.4.dylib
0x10e706000 - 0x10e70bff7 +libltdl.7.dylib (0) <3F8334DA-3D69-3EAF-9B7E-649DE7FAF3F5> /opt/local/lib/libltdl.7.dylib
0x10e70f000 - 0x10e719ff7 +memcached.so (0) <0E7740E4-7704-384D-AC99-4533A10692AD> /opt/local/lib//memcached.so
0x10e722000 - 0x10e742ff7 +libmemcached.11.dylib (0) /opt/local/lib/libmemcached.11.dylib
0x10e75e000 - 0x10e795fff +mongo.so (???) <4C2ADFA4-7F4F-3153-AF4A-9AE0039A1B33> /opt/local/lib//mongo.so
0x10e7b3000 - 0x10e7b9ff7 +mssql.so (0) <528B0E15-662A-36D7-BEB3-C9A566C5E425> /opt/local/lib//mssql.so
0x10e7bf000 - 0x10e807ff7 +libsybdb.5.dylib (0) <1F28FE48-B24F-3968-AE7E-F73C2A9CB957> /opt/local/lib/libsybdb.5.dylib
0x10e815000 - 0x10e817ff7 +pdo_dblib.so (0) /opt/local/lib//pdo_dblib.so
0x10e81b000 - 0x10e820ff7 +mysql.so (0) <602AED3D-4BE7-3C47-800D-01E833C02056> /opt/local/lib//mysql.so
0x10e826000 - 0x10e835fff +mysqli.so (0) <695EB8D4-4A0C-389C-BDE8-A4D97A6613BE> /opt/local/lib//mysqli.so
0x10e842000 - 0x10e845fff +pdo_mysql.so (0) <3BE5C1D4-4540-388E-886F-A2E95818FF69> /opt/local/lib//pdo_mysql.so
0x10e849000 - 0x10e884ff7 +soap.so (0) <07F888C6-97CD-37B1-9C01-14A2CC512FC8> /opt/local/lib/*/soap.so
0x7fff64911000 - 0x7fff64944817 dyld (239.3) /usr/lib/dyld
0x7fff84a08000 - 0x7fff84bb5f27 libobjc.A.dylib (551.1) /usr/lib/libobjc.A.dylib
0x7fff84da9000 - 0x7fff84dd0ffb libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
0x7fff8519a000 - 0x7fff851b6ff7 libsystem_kernel.dylib (2422.1.72) /usr/lib/system/libsystem_kernel.dylib
0x7fff851c2000 - 0x7fff851c3ff7 libsystem_sandbox.dylib (278.10) /usr/lib/system/libsystem_sandbox.dylib
0x7fff853b2000 - 0x7fff853b3ffb libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
0x7fff8615d000 - 0x7fff8615eff7 libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff865e4000 - 0x7fff865f5ff7 libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
0x7fff874ed000 - 0x7fff874eeff7 libsystem_blocks.dylib (63) /usr/lib/system/libsystem_blocks.dylib
0x7fff87697000 - 0x7fff8769aff7 libdyld.dylib (239.3) <62F4D752-4089-31A8-8B73-B95A68893B3C> /usr/lib/system/libdyld.dylib
0x7fff8777a000 - 0x7fff87781ff3 libcopyfile.dylib (103) <5A881779-D0D6-3029-B371-E3021C2DDA5E> /usr/lib/system/libcopyfile.dylib
0x7fff880da000 - 0x7fff880e4fff libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
0x7fff883b4000 - 0x7fff883b9ff7 libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
0x7fff89762000 - 0x7fff89762ff7 libkeymgr.dylib (28) <3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib
0x7fff89cc7000 - 0x7fff89cc9ff3 libsystem_configuration.dylib (596.12) /usr/lib/system/libsystem_configuration.dylib
0x7fff8a263000 - 0x7fff8a268fff libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
0x7fff8a569000 - 0x7fff8a56dff7 libcache.dylib (62) /usr/lib/system/libcache.dylib
0x7fff8b9b0000 - 0x7fff8b9ccfff libresolv.9.dylib (54) <11C2C826-F1C6-39C6-B4E8-6E0C41D4FA95> /usr/lib/libresolv.9.dylib
0x7fff8ca34000 - 0x7fff8ca4fff7 libsystem_malloc.dylib (23.1.10) /usr/lib/system/libsystem_malloc.dylib
0x7fff8d167000 - 0x7fff8d170ff3 libsystem_notify.dylib (121) <52571EC3-6894-37E4-946E-064B021ED44E> /usr/lib/system/libsystem_notify.dylib
0x7fff8d1a5000 - 0x7fff8d1b6ff7 libsystem_asl.dylib (217.1.4) <655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> /usr/lib/system/libsystem_asl.dylib
0x7fff8d25e000 - 0x7fff8d265ff7 liblaunch.dylib (842.1.4) /usr/lib/system/liblaunch.dylib
0x7fff8d8f2000 - 0x7fff8d97bff7 libsystem_c.dylib (997.1.1) <61833FAA-7281-3FF9-937F-686B6F20427C> /usr/lib/system/libsystem_c.dylib
0x7fff8dc47000 - 0x7fff8dc6bfff libxpc.dylib (300.1.17) <4554927A-9467-365C-91F1-5A116989DD7F> /usr/lib/system/libxpc.dylib
0x7fff8dcf7000 - 0x7fff8dcf8ff7 libSystem.B.dylib (1197.1.1) /usr/lib/libSystem.B.dylib
0x7fff8dd0d000 - 0x7fff8dd3cfd2 libsystem_m.dylib (3047.16) /usr/lib/system/libsystem_m.dylib
0x7fff8dd48000 - 0x7fff8dd71ff7 libc++abi.dylib (48) <8C16158F-CBF8-3BD7-BEF4-022704B2A326> /usr/lib/libc++abi.dylib
0x7fff8ed94000 - 0x7fff8ed9bff7 libsystem_pthread.dylib (53.1.4) /usr/lib/system/libsystem_pthread.dylib
0x7fff8fb3e000 - 0x7fff8fb42fff libsystem_stats.dylib (93.1.26) /usr/lib/system/libsystem_stats.dylib
0x7fff8fbae000 - 0x7fff8fd93ff7 com.apple.CoreFoundation (6.9 - 855.11) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8fe97000 - 0x7fff8fe9efff libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
0x7fff90c2c000 - 0x7fff90c46fff libdispatch.dylib (339.1.9) <46878A5B-4248-3057-962C-6D4A235EEF31> /usr/lib/system/libdispatch.dylib
0x7fff914e1000 - 0x7fff914e7ff7 libsystem_platform.dylib (24.1.4) <331BA4A5-55CE-3B95-99EB-44E0C89D7FB8> /usr/lib/system/libsystem_platform.dylib
0x7fff914e8000 - 0x7fff9150fff7 libsystem_network.dylib (241.3) <8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> /usr/lib/system/libsystem_network.dylib
0x7fff91d4a000 - 0x7fff91d52fff libsystem_dnssd.dylib (522.1.11) <270DCF6C-502D-389A-AA9F-DE4624A36FF7> /usr/lib/system/libsystem_dnssd.dylib
0x7fff91d6c000 - 0x7fff91d6dfff libunc.dylib (28) <62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
0x7fff91e5d000 - 0x7fff92015ff3 libicucore.A.dylib (511.25) <3ED7B656-416E-3071-AEC8-E85C90232F78> /usr/lib/libicucore.A.dylib
0x7fff92092000 - 0x7fff92094ff7 libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
0x7fff920e4000 - 0x7fff92132fff libcorecrypto.dylib (161.1) /usr/lib/system/libcorecrypto.dylib
0x7fff9240a000 - 0x7fff9245cfff libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
0x7fff9245d000 - 0x7fff9249fff7 libauto.dylib (185.5) /usr/lib/libauto.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 12211
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=89.2M resident=18.5M(21%) swapped_out_or_unallocated=70.6M(79%)
Writable regions: Total=31.0M written=1864K(6%) resident=3332K(11%) swapped_out=1400K(4%) unallocated=27.7M(89%)
REGION TYPE VIRTUAL
=========== =======
Kernel Alloc Once 4K
MALLOC 21.5M
MALLOC (admin) 16K
STACK GUARD 56.0M
Stack 8192K
VM_ALLOCATE 36K
__DATA 2320K
__LINKEDIT 67.2M
__TEXT 21.9M
__UNICODE 544K
shared memory 4K
=========== =======
TOTAL 177.5M
If you go to update any document featuring a NumberInt and merely hit Update (without making any changes), the field type is now set to NumberLong. This causes ClassCastExceptions in Java, and I imagine quite a few similar problems in other langauges.
"Modify Row" (reached from "Update" hyperlink) does not escape double quotes from within JSON field values from existing documents. This prevents any updates, as the JSON becomes invalid (from having the unescaped double quotes inside it).
{ "description": "This is a wonderful "trendy" location." }
ERROR: Only valid json is accepted
(In contrast, the "Modify field" feature is working OK as it correctly retains the escaping on double quotes, e.g. "trendy"
)
Using RockMongo v1.1.0
In particular, how can the _id be excluded?
On development servers, every frame will show a huge ( ! ) Deprecated: Function Mongo::setSlaveOkay() is deprecated in /var/www/rockmongo/app/models/MServer.php on line 240 message block.
Also notices are unnecessary, but are less of a problem.
jmikola informed me that Mongo::setSlaveOkay() has been deprecated since the 1.3.0 driver release. RockMongo should be using read preferences for newer drivers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.